Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17039

    Hello.

    We have a page http://mehrblick.at/schumbeta/wien-11-2012/sessions/

    where we implemented some blog posts (by creating a new page template where we built in the blog-overview in the page code)

    If we click on one of these blog posts, we want the same sidebar menu to appear as on the page mentioned above (with the same submenus and the link “Sessions” hovered).

    I already found a way to get the sidebar menu into some blog articles where we need it, by changing line 14 in the sidebar.php to:

    <?php if ( (is_page() && $k_option != 2) || in_category(65) || in_category(70) ) { ?>

    But of course, the sidebar menu isn’t opened because it is not the page “Sessions”.

    Is there a quick line of code, that I can add to get the opened Sessions Menu on these blogarticles (category 65 + 70)

    Would be great if you could help me.

    Thank you

    #93992

    I’m not sure if there’s a “quick” hack in this case but you can try to use the “Custom Menu” widget to create a static sidebar menu. Plugins like: http://wordpress.org/extend/plugins/widget-logic/ will help you to show/hide the widget on certain pages.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Get Side Menu of a other page’ is closed to new replies.