WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
[resolved] Menu on tag/category gone (12 posts)

  1. ericjswanson
    Member
    Posted 1 year ago #

    Is anyone else having an issue with the archive page not showing the menu?

    Menu ul is present, but not populated.
    pages such as..
    /tag/tag_name
    or
    /category/category_name

  2. Ulrich
    Member
    Posted 1 year ago #

    I am not sure what you mean.

    Ulrich

  3. ericjswanson
    Member
    Posted 1 year ago #

    If you click on a tag of a post the page you get taken to doesn't have a header nav any more.

  4. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    What's the URL please?

    Emil

  5. ericjswanson
    Member
    Posted 1 year ago #

    I suppose a sufficient example would be..

    http://og-na.intersectinteractive.com/tag/drums/

  6. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    This is your archive.php page and "tags" http://themeid.com/demo/responsive/category/cat-a/ are suppose to do that. Basically when "tags" are clicked "system" will look for all "tags" like that and display to you :)

    Check Twenty Ten (for example only) http://2010dev.wordpress.com/tag/wikipedia/ and click around the "tags".

    Thanks,
    Emil

  7. ericjswanson
    Member
    Posted 1 year ago #

    Thanks, only problem is for my site the menu values aren't being populated on those pages, the html structure is there, but the data doesn't get filled in?

  8. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Was there any changes to Theme Templates/Files?

    Emil

  9. ericjswanson
    Member
    Posted 1 year ago #

    not the existing pages, just add on page template pages.

    The menu is actually there, it just doesn't have any values being plugged in.

    I came across this..
    http://wordpress.org/support/topic/wp-nav-menu-dissapears-in-category-pages-1?replies=21

    but I'm not sure if it's exactly the same or how to make use of any of the information.

  10. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Ah, I am missing something for sure and sorry for that. You're keep showing me that your menu isn't there and I was talking about the tags, sorry :(

    Please take a look at this and see if you add the missing style would gain the menu back.

    Unless there's no conditionals and if you're not using Landing Page Template, menu should show all around :)

    Emil

  11. ericjswanson
    Member
    Posted 1 year ago #

    I'm not quite sure what you were suggesting, but the work around we found was...

    <?php //THE QUERY NULLIFIER HA HA
    $temp_query = $wp_query;
    $wp_query = NULL;
    $wp_query = new WP_Query(array('post_type' => 'post'));
    ?>
    <?php wp_nav_menu(array(
    'container' => '',
    'theme_location' => 'header-menu')
    );
    ?>

    <?php if (has_nav_menu('sub-header-menu', 'responsive')) { ?>
    <?php wp_nav_menu(array(
    'container' => '',
    'menu_class' => 'sub-header-menu',
    'theme_location' => 'sub-header-menu')
    );
    ?>
    <?php } ?>
    <?php //THE QUERY RESTORER
    $wp_query = $temp_query;
    $temp_query = NULL;
    ?>

  12. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Glad to hear that :)

    Thanks,
    Emil

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic