ThemeShaper Forums » Thematic

[closed]

Category page to show only one post by one from this category

(2 posts)
  • Started 3 years ago by alexenergy
  • Latest reply from alexenergy
  • This topic is not resolved
  1. I think this possible by limiting posts to 1 and the order of the posts.

    I am trying this:

    function my_cat_archive_post_limit() {
    $post_limit = '1';
    query_posts($query_string . "&order=ASC" . 'cat=' . get_cat_ID() . '&showposts=' . $post_limit);
    }
    add_action('thematic_above_categoryloop','my_cat_archive_post_limit');

    Currently it does not work properly. Now it is only showing my last post for all my categories.

    Posted 3 years ago #
  2. I found the way for a solution in another post

    http://forums.themeshaper.com/topic/how-to-make-category-pages-show-the-content-of-the-last-post

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.