Sub Categories Widget
[resolved] Articles list in Ascendant order (5 posts)

  1. mrengezh
    Posted 2 years ago #

    I am able to show post count in all sub-categories. But when I click the sub-category, the posts are in descendant order. How to make it in ascendant order? Thanks in advance.


  2. mrengezh
    Posted 2 years ago #

    I got it. In archive.php I replace the following code:

    <?php while (have_posts()) : the_post(); ?>

    with this one:

    <?php $posts=query_posts($query_string . '&order=asc');
    while (have_posts()) : the_post(); ?>

    It works well, making sub-category widget plugin more powerful!

  3. eljkmw
    Posted 2 years ago #

    Hi there,

    Does this plugin propagate and list out posts from their sub-categories and deeper?
    Please advise. Thank you.


  4. mrengezh
    Posted 2 years ago #

    Sorry for late response. I use this plugin because I just want to show the list of sub-categories and number of posts. Look at the following menu of the plugin, meaning it doesn't list out posts.

    Parent Category: ........[choose a parent category]
    - Use Parent Cat as Title?
    - Show Post Count?
    - Hide Empty Sub-Categories?
    - Add Parent Cat Link to Title?

  5. BC
    Plugin Author

    Posted 2 years ago #

    Glad you got it fixed. This isn't really related this plugin which is just a widget. It doesn't alter the display of the category posts but only displays a list a sub-categories for a given parent.

    I'm going to mark this are resolved since you figured it out yourself.

    Thanks for using the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sub Categories Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.