Forums

Categories and Sub-Categories (3 posts)

  1. ftv
    Member
    Posted 3 years ago #

    Hi,
    Hopefully someone can help me, I'm new to WordPress. Here is my situation:

    I run a magazine, and am putting it into the wordpress format. I have a number of interviews that I'm transferring from my old site to the blog. I have a category called "Interviews" and then sub-categories with all the names of the people interviewed. The interviews usually take up a page worth in length. I posted the actual interview to the "Interview" category and also the subcategory with the name of the person. When I go to the Interviews page, the submenu with all the subcategories for the Interviews disappeared. Why did this happen?

    If you need more information, please let me know. Thanks!

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    When I go to the Interviews page, the submenu with all the subcategories for the Interviews disappeared. Why did this happen?

    It is possible that your sidebar.php (assuming you are talking about your sidebar) is not displayed when your category template is displaying your category archive.

    So you will need to look at your theme's template files to see if some conditional statement is doing that.

    If you continue this thread, please provide link to see the problem and a link to download the theme you are using.

    Just as a note, by WordPress standards, ANY category that has been designated a Parent category is not meant to be checked in the category hierarchy when writing posts. Meaning, only the latest generation category should be checked. Think of it like this, only the youngest generation gets the action.

  3. MichaelH
    Volunteer
    Posted 3 years ago #

    I should have added, that the WordPress Default theme's wp-content/themes/default/sidebar.php uses a conditional tag to not display bookmarks and meta on any but home or pages with a test like:

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>

Topic Closed

This topic has been closed to new replies.

About this Topic