486 CHAPTER 17 CUSTOMIZING YOUR BLOG S LAYOUT (Affordable web hosting)

486 CHAPTER 17 CUSTOMIZING YOUR BLOG S LAYOUT Figure 17-23. Link category administration A Limited Main Page Sidebar The last change for this layout is related to the main page. Now that you have added a list of links in another category, a problem has emerged on the main blog page. Sidebar A uses the template tag get_links_list. This tag outputs a header and a list of links for each of the link categories you have created in Link Manager. This is great for normal use and when you have a small list of links in each category. However, in a learning scenario, you may want links for each category to show up only on a page showing an article in that category. On the front page, or any page that uses sidebar A, you want only the default Blogroll category to be displayed. Listing 17-17 shows the simple change to sidebar-a.php to accomplish this. Listing 17-17. Only List Category 1 in sidebar-a.php

  • Although the changes for the learning layout have been relatively complicated, the results are worth the effort. You can apply these same techniques to a real-world blog. Take another look at Figure 17-18. It shows that WordPress can be used to power a site that is much more
    From our experience, we can recommend PHP Web Hosting services, if you need affordable webhost to host and run your web application.

    Leave a Reply