Customize Your Sidebar

The sidebar in WordPress is a dead “giveaway” when a user visits your site. The sidebar will have default titles like “Blogroll”, “Categories” and “Archives”. You can easily change the text of these titles, and which sections are displayed, by editing the sidebar.php file in the theme directory. Also, WordPress displays a different sidebar depending on what page of the site you’re on, which can also be changed.

Even if you’re not familiar with PHP, WordPress code is very developer-friendly, and easy to work with. A simple knowledge of how functions are called and how to open and close if statements is often more than enough to help you customize some of the sidebar code.

Also, you can easily duplicate and customize certain sidebar sections.  This is done by duplicating the “categories” section and controlling what categories are displayed using parameters inside the function call for that particular section.

About admin

Comments are closed.