Completely customstreamlining your theme

In Chapter 3, we included our own custom sidebar using the previous technique. You can also use the WordPress template path inside a basic PHP include function. This technique can come very handy in helping you streamline your theme's code and help keep it easily updatable.

For instance, my index.php, page.php, and category.php pages have different headers and slightly different uses of The Loop, but they all have the exact same page navigation code. This bit of code is small yet, if I ever want to tweak my internal navigation layout, I'll need to touch all three of those pages.

Top 100 Wordpress Plugins

Top 100 Wordpress Plugins

The bulk of the plugins featured are free and available from the WordPress.org website. However, a few commercial plugins are featured in the Plugin Showcase within this guide. The five plugins in the Plugin Showcase aren’t rated. Less information about them is offered because, in many cases, information such as the last time the plugin was updated isn’t available.

Get My Free Ebook


Post a comment