OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Back and Forward for pages

Resolved

Requested: 2 years and 9 months ago

I’m using Advanced Sidebar Menu PRO with pages. The building of the menu works fine. But I’m looking for a second menu in the header, which only shows the next page in the hierarchy and the one before.

Is something like this possible?

Regards, Peter

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    2 years and 9 months ago

    Hi Peter,

    This is not supported by this plugin, however I may be able to write you a snippet to get you started.

    When you say “next page in the hierarchy and the one before”, are you referring to:

    1. The first child page and the parent page? or
    2. The page which comes right after the current page and the page which comes right before the current page, under the same parent?

     

  2. Peter Pothmann

    2 years and 9 months ago

    Hi Mat,

    that would be great for the page which comes right after the current page and the page which comes right before the current page, under the same parent.

    Regards, Peter

  3. OnPoint Plugins

    2 years and 9 months ago

    Hi Peter,

    Here is a snippet which will output a simple <ul> list of links which include the page right before the current page and the page right after:

    You may put this inside a shortcode, widget, template, etc.

    Have a great day!

    Mat Lipe

     

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2023 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact