Title: theme customize
Last modified: August 19, 2016

---

# theme customize

 *  [danball1987](https://wordpress.org/support/users/danball1987/)
 * (@danball1987)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-customize/)
 * im using this theme: glossyblue [http://www.ndesign-studio.com/wp-themes/glossyblue](http://www.ndesign-studio.com/wp-themes/glossyblue)
 * i want to limit the recent posts and comments on the footer anyone help with 
   the code i need to use there?
 * many thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-customize/#post-1415185)
 * In that theme’s footer.php this seems to control the Recent Posts:
 *     ```
       <?php query_posts('showposts=5'); ?>
       ```
   
 * This seems to control the Recent Comments:
 *     ```
       <?php if (function_exists('src_simple_recent_comments')) { src_simple_recent_comments(5, 60, '<h4>Recent Comments</h4>', ''); } ?>
       ```
   
 * Hint–changing the number 5 in both those seems to be what you want.
 * Related:
    [Stepping Into Template Tags](http://codex.wordpress.org/Stepping_Into_Template_Tags)
   [Stepping Into Templates](http://codex.wordpress.org/Stepping_Into_Templates)
   [Template Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
 *  Thread Starter [danball1987](https://wordpress.org/support/users/danball1987/)
 * (@danball1987)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-customize/#post-1415233)
 * Hey thanks for you reply i managed to sort it out shortly after ha
    im trying
   to allow each category to have a different coloured post is there any way of 
   doing this?
 * thanks
 *  Thread Starter [danball1987](https://wordpress.org/support/users/danball1987/)
 * (@danball1987)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-customize/#post-1415234)
 * also to add a different icon for each category would be nice
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/theme-customize/#post-1415318)
 * [http://codex.wordpress.org/The_Loop#Style_Posts_From_Some_Category_Differently](http://codex.wordpress.org/The_Loop#Style_Posts_From_Some_Category_Differently)
 * [http://wordpress.org/extend/plugins/category-icons/](http://wordpress.org/extend/plugins/category-icons/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘theme customize’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/theme-customize/#post-1415318)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
