CHAPTER 16 CHANGING (Professional web hosting) THE LOOK OF YOUR
CHAPTER 16 CHANGING THE LOOK OF YOUR BLOG 451 Figure 16-15. Recent comments listed This is a useful addition to the blog, but it could be better. It doesn t show to which story or post the comments belong. A reader might be particularly interested in what other people have to say about a story he commented on recently. A contributor might be looking for comments on her own stories. As its name implies, the Customizable Comment Listings plug-in is flexible enough to accommodate such additions. Let s replace the simple call to the plug-in function with the code shown in Listing 16-11. This is another example provided in the plug-in s documentation. Listing 16-11. New Version of the get_recent_comments Template Function in index.php
- %comment_author% said “%comment_excerpt%” in
%post_URL%
“); ?>
This function looks complicated, but it has only one more parameter. It uses a very powerful format template Scott has defined. Each of the terms enclosed in percent signs (%) is substituted by some data from the list of recent comments. The substitution names are fairly
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.