WordPress.org

Ready to get started?Download WordPress

Forums

Hey! That's not the category I clicked on! (2 posts)

  1. syrupcore
    Member
    Posted 8 years ago #

    arg. I have a little category sidebar setup on one of my pages. When I click on one of them, it's showing posts from the wrong category. It's actually showing posts from it's parent's category. Please check it out...
    http://www.purelyfootball.moonbootdesign.com/

    click on features, then 'timelines' on the side. it comes up and correctly names the feature category at the top of the page (via <?php echo single_cat_title(); ?> in archives.php) but the content is not from the parent category. It even shows, what I assume to be the correct directory in the address bar:

    http://www.purelyfootball.moonbootdesign.com/category/features/timelines/

    the setup of categories is like so:
    Features (parent)
    * Finance Features (child of features)
    * Features from Elsewhere (child of features)
    * Timelines (child of features)
    * Archive of Features (child of features)

    I dont geddit. Does the loop in my archives.php need to declare the category somehow? If not, I'm curious how in the hell wp is so smartin smart to know which to display?

    Additionally, this site is for someone else so if you are a Man U fan, please dont hold it against me. ;)

    thanks.

  2. syrupcore
    Member
    Posted 8 years ago #

    please?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.