WordPress.org

Support

Support » Plugins and Hacks » Show post of current category before its children

Show post of current category before its children

  • I have a category-based template, everything works great, however, when you click on a category it will show posts of subcategories first if the publish date is newer. I just want the posts from the top or current category to be displayed first (or only if need be).

    I can set a post to announcement and the top category post will show fine, but if I visit a child or grandchild category it will show the wrong(latest) post.

    For example of parent/child/grandchild relationship.
    Click on House brings up latest post instead of the ‘house’ post
    > House:
    > – Red House:
    > Red House Price
    > Red House Size
    > – Green House
    > Red House Price – Has latest post
    > Red House Size

    Can this be solved. Thank you for any insight.

Viewing 1 replies (of 1 total)
  • Sorry, the subcats should be indented

    > Homes (Top Category)
    > > Red House
    > > > Red House Price
    > > > Red House Size
    > >Green House
    > > > Green house price
    > > > Green house Size

Viewing 1 replies (of 1 total)
  • The topic ‘Show post of current category before its children’ is closed to new replies.