How to integrate a Wordpress blog into an existing website [closed] How to integrate a Wordpress blog into an existing website [closed] wordpress wordpress

How to integrate a Wordpress blog into an existing website [closed]


I'm not sure I have understood your problem, but I give it a try to help you :)

I think the best you can do is to create your own theme in WordPress.It's gonna be easy if you only want to show the blog posts, and you don't need the navigation solution, extra widgets, special plugins and so on that WordPress can give you as a feature.

For the sake of simplicity I tell you a possible solution very briefly:

  1. Copy the whole twentyfourteen theme (/wp-content/themes/twentyfourteen) to a new directory into /wp-content/themes directory (e.g. /wp-content/themes/my_theme).
  2. Rename the new theme and if you wish add some copyright info (all you need to do is to edit the head of the style.css file in this new directory... you might keep the reference that it is made after the original twentyfourteen theme)
  3. Select your new theme from the WordPress admin (in menu view/themes) and apply it as default.
  4. You can edit the header.php and footer.php so that it would show your own header and footer (css, javascript, navigation menu and other stuff) and delete all other things that you don't need.
  5. You might need to edit index.php a little (e.g. delete get_sidebar(); line and / or the <?php get_sidebar( 'content' ); ?> from the end of it if you don't want to use wordpress sidebar)
  6. Now the default features should work already... Maybe you need to pimp a little more for search and archives features. I think all you need to do is to edit or delete some files from your new template: e.g. archive.php, search.php (if you deleted search.php the search results would use index.php instead... Pretty nice fallback logic... If you're not familiar with that, please check it here: http://codex.wordpress.org/images/1/18/Template_Hierarchy.png)

If you success with these steps the WordPress will show your header, your css files, your scripts, your footer but the blog posts as the content body. Now you can customize every other things you need.

I hope these ideas have given you a good start :) If you need more info, let me know!


One possible solution:

  • Your site in: public_html/
  • Your wordpress blog in : public_html/blog

Add a link to your site's menu to public_html/blog/

On Wordpress set only one page, that will be your blog. Put the blog page as Home page of Wordpress, and disables the menu of wordpress


Check your blog/wp-content/themes/my_theme folder and you can edit your header.php and your footer.php files to customize.