ThemeShaper Forums » Thematic

[closed]

Displaying ALL posts in category archive

(2 posts)
  • Started 4 years ago by robbiesleftboot
  • Latest reply from em hr
  • This topic is not resolved
  1. robbiesleftboot
    Member

    Thematic automatically displays the ten latest posts in a category archive (with an 'older posts' link to access the rest) - how can I change this FOR A SPECIFIC CATEGORY to ensure that it displays ALL posts in the archive?
    Thanks
    Phil

    Posted 4 years ago #
  2. Phil-

    You could hook into the above_category_loop like so replacing the number four with the id of your category.

    function tutone_query() {
       if (is_category('4')) {
    	query_posts('cat=4&showposts=8675309');
       }
    }
    add_action('thematic_above_categoryloop','tutone_query');

    -Gene

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.