These days, all web applications need a blog area. And therefore we look forward to expert CMS developers. CMS developers cost exorbitant and are suitable for huge website development, where CMS plays a very crucial role. However, the most common question that hit people’s mind is “Do I need to spend a whopping amount on CMS programmers for getting just a blog incorporated”? The answer is No.
These days, all web applications need a blog area. And therefore we look forward to expert CMS developers. CMS developers cost exorbitant and are suitable for huge website development, where CMS plays a very crucial role. However, the most common question that hit people’s mind is “Do I need to spend a whopping amount on CMS programmers for getting just a blog incorporated”? The answer is No.
WordPress is powerful and its one of the leading CMS solutions and blogging/publishing platform, used by millions of webmasters across the globe. Installing WordPress or any free CMS solution for your new website is easy. However, embedding it with your current non-blog website, giving it the same look as your website, is a challenge. In this article we will see few simple steps of rebuilding WordPress around your sites’ design.
People anticipate that embedding a CMS solution into an already existing site is difficult. However, I believe that integrating WordPress is the easiest task as the website is already designed for you. It’s like someone has already done a brain-storming part for you. Now, you don’t have to spend hours making decision. You can just add WordPress template tags into the web structure that’s already set up.
Getting started
- Step 1: The first step is to clone the site in which you want to integrate WordPress. Simply copy the source code into the text editor.
- Step 2: Change all the relative image paths to absolute image paths. Make sure nothing is left out.
- Step 3: Search for a suitable WordPress theme or customize it. Pick out the relevant theme tags on the index.php file and splice them into the homepage code of the original site.
- Step 4: The most important template tag you need to know is “Loop”. This tag helps pull out your posts from the database.
- Step 5: Maintaining the CSS from your website: You may not want all the styling tags but you many decide to keep some of the universal tags that define date, time and the name of the author. These CSS tags can be added to original site’s style sheet. Make sure to rename the file to index.php
- Step 6: Create a subfolder on the original site calling it “blog”. Suppose my site’s URL is http://myexistingsite.com, the subfolder would appear as http://myexistingsite.com/blog/.
- Step 7: Upload a modified index.php file into the blog’s theme overwriting the original index file. Chop the parts of the home page into header.php, sidebar.php and footer.php and you are almost done.
- Step 8: Insert the above mentioned .php files in the index.php. Just the way we modified index.php, modify each of the other files in the template hierarchy.
Now, you are ready to get going. The whole process is not a rocket science; however, it does need the basic understanding of WordPress, and its template tags and files. For a layman, it is necessary to know that integrating a CMS is easy and possible to an existing site. WordPress is free; and therefore, you only have to pay for the CMS programmer’s effort. It is the cheapest and the fastest option available in the world of CMS. Therefore, it is readily adopted by many commercial websites. It is a robust platform and highly recommended by CMS consultants; especially for those, who want to build a mid-sized business website.