Forums

[resolved] Help with Sliding doors menu (5 posts)

  1. rconnelly
    Member
    Posted 2 years ago #

    I'm slowly getting familiarized with this software.

    Stuck on the menu issue right now. Can anyone please tell me what code I need to change so that the Sliding Door menu appears on every page.

    Right now if you click on a picture...it goes to the correct page, but the Sliding Door menu does not appear.

    Would appreciate any help....I need this fixed ASAP and I am going bonkers trying to find the correct spot.

    site is here ----> http://www.lizreyes.com

  2. viceng
    Member
    Posted 2 years ago #

    Hi,

    The theme is set up for categories as the navigation. If you look at header.php, you would see that the menu is displayed only if it's the home page or a category page. You have everything set up as a page...as a result, the menu doesn't appear.

    just create a category, get the category id, modify the header.php to reflect the category, create a post with that category, and you should see how the theme is set up.

    hope that helps

  3. rconnelly
    Member
    Posted 2 years ago #

    Thanks for the info. I did have it set up that way originally, but the problem with doing it that way is that I cannot then place content....or can I?

    The idea is that each page would have a specific content ie. article, pictures etc, and then below it would be people adding comments.

    For example, under say Interviews would be an Interview with pictures and perhaps a video. Then below that people would add their personal commments.

    If I cannot do that under a "Catagory" can I place code somewhere so that the Sliding door menu appears if I use pages?

    Thanks Again

  4. viceng
    Member
    Posted 2 years ago #

    in line 47 of your header.php file you should see
    <?php if( (is_home()) or (is_category())) { ?>

    just as an is_page() condition like

    <?php if( (is_home()) or (is_category()) or (is_page())) { ?>

    and you should be okay..

    Here's some reading
    http://boren.nu/archives/2004/10/16/templates-and-the-is-functions/

  5. rconnelly
    Member
    Posted 2 years ago #

    Did it and perfecto....as soon as you laid it out I saw the wisdom!

    A fine example of "Knowledge is Power"

    Thank you so much...you have removed a very big roadblock for me!

    In addition thanks for the link...I am going to explore it thoroughly.

    Sincerely

    Rick

Topic Closed

This topic has been closed to new replies.

About this Topic