CHAPTER 16 CHANGING THE LOOK OF YOUR (Web hosting support)
CHAPTER 16 CHANGING THE LOOK OF YOUR BLOG 445 In this example, you will remove the list of buttons underneath the calendar and add a list of news stories using the RSS Link List plug-in introduced in Chapter 15. To remove the buttons from the rightmost column, choose the Main Template index.phpfrom the drop-down list of theme files on the right side of the page. When that file loads, find the section of index.phpthat begins
If you check the blog now after saving and/or uploading your changed file, you will find the buttons have gone! Adding the RSS Feed Now you will add in a call to display an RSS feed using the WordPress RSS Link List plug-in you installed in the previous chapter. In that chapter, you saw how to add a special tag to a blog post or page and have the plug-in convert that tag to a list of links driven from an external RSS feed. This time, you want the list of links to appear in the sidebar. To do this, use the template PHP function provided by the plug-in, rather than the special tag, which works only in posts or pages. The template function provided by the plug-in is _rssLinkList(). This function can take a number of parameters, any of which can be provided in the call to the function. If you don t provide any parameters, the function uses a complete set of defaults, including the default RSS feed of http://del.icio.us/rss. For this example, you will use a different del.icio.us RSS feed, which will provide a list of WordPress tools. Also, by default, the plug-in outputs the links in list item markup (
). You will need to add unordered list tags (
), so that you can address this list in the CSS to improve its appearance. Add the code marked in bold in Listing 16-4 to the template.
Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.