The perfect base WordPress theme

If you like using Bootstrap and WordPress as much as I do, you should now have the perfect base WordPress theme to start any project moving forward. At this point, our WordPress theme has all the Bootstrap components and features, several custom page templates, styled comments, Font Awesome, custom functions, and much more.

In the following video, I go over how you can use this base theme for your WordPress projects and how you can quickly add a custom homepage to the theme.

Steps

  1. Create a new file called template-homepage.php in the root of your WordPress theme with the following code:
  2. Go over to getbootstrap.com and get the example Jumbotron code and add it to the template-homepage.php file. It should now look like the following:

  3. Go into the WordPress Dashboard and create a new Page using the Homepage template
  4. Go to Settings -> Reading from the WordPress Dashboard
  5. Set the “Front Page” to the newly created Homepage from step 3
  6. Optional: Set the “Posts Page” to display on any page you would like
  7. Reload the front-end of your WordPress site and check out the new homepage!

Notes from the Video

I used the Jumbotron from the Bootstrap example template that you can find here. You can also read more about the Bootstrap Jumbotron component here.

What’s Next?

Now that we have our base WordPress theme complete, the next step is to add a theme options panel and start creating different settings to the theme. The next series of tutorials will really start adding functionality to our premium WordPress theme.

Feedback

Please let me know what you think of this tutorial and if you need help with anything.