Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Hello smishter,
    It looks like your page template ‘events cat’ is overriding the $post object which is causing the menu to not know what page you are on. Without the $post object to interact with the menu can not display.

    If you would like to send me your page template, and any template files that the page template pulls in (like a loop or a sidebar) I will be happy to take a look and maybe offer a solution.

    Most likely you just need to add a

    rewind_posts();

    after you custom loop.

    Hope this helps.

    Cheers

    Plugin Author Mat Lipe

    (@mat-lipe)

    Or Adding a
    wp_reset_query();

    after your loop may work as well.

    Thread Starter smishter

    (@smishter)

    Amazing!

    Adding wp_reset_query(); after the close worked perfectly!

    Thank you for the quick feedback ?? I love this plugin.

    Thread Starter smishter

    (@smishter)

    I have a follow up question to this. Is there a way to get the menu to stick as the user clicks down to one of the individual posts?

    Plugin Author Mat Lipe

    (@mat-lipe)

    Hi Smishter,

    Currently there is no built in way to display a page menu on post pages.
    The plugin does have some filters that you could tap into using your theme or an add-on plugin to accomplish this.

    As far as I know, noone has published an addon to do this yet, but it may be out there somewhere.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘menu not showing on pages with the loop’ is closed to new replies.