Recently I came across twitter bootstrap(@twbootstrap) a front-end toolkit to develop web applications. Since Eejot's website needed a facelift, I decided to use wordpress and create my own customized theme using bootstrap.
Here are the steps that I followed:
1. Install WordPress. Here are the instructions to do it (wordpress installation guide).
2. Download Bootstrap and extract it (bootstrap).
3. Navigate to the wp-content > themes folder.
4. Create a new folder named "eejot_ver1" and paste the bootstrap folder.
5. Once we have done these, we need to create certain files to convert bootstrap files to WordPress template and WordPress file name requirement. We start by creating these files in the same folder we pasted the bootstrap folder in.
index.php
header.php
footer.php
style.css
![]() |
Folder Structure |
7. We also need an image file with dimensions 300x225 px named "screenshot.png" which will be displayed in the admin area for our theme. We then log onto the admin area and navigate to Appearance -> Theme. Besides other themes we see "eejot_ver1" listed as one of the themes.
8. Click "Activate" under this theme to set it as the current theme for the website.
At the top of the WordPress admin bar click on localhost->visit site. This will bring up our website. We can see that CSS and JavaScript is not working on our site. We will go through the process of fixing this and changing it into a complete WordPress theme in the next post.
Comments
Post a Comment