OnPoint Plugins

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

Show all pages

Resolved

Requested: 1 year and 2 months ago

On our website, we have three areas in the same level as the frontpage. When setting up the sidebar, it only shows the page with subpages, and not all the pages. 

Example: 
Frontpage / Area 1 / Area 2 / Area 3 

Area 1, 2, and 3 all have subpages. 

When setting up the plugin now, the pages shown in the sidebar is (seen from Area 1): 

Area 1
– Subpage 1.1
– Subpage 1.2 
– Subpage 1.3 
… etc. 

Instead of this, we would like to show all pages, so it looks like this: 
Frontpage
Area 1
– Subpage 1.1
– Subpage 1.2 
– Subpage 1.3 
Area 2
– Subpage 2.1
– Subpage 2.2 
– Subpage 2.3 
Area 3
– Subpage 3.1
– Subpage 3.2 
– Subpage 3.3 

Is there somehow we can achieve this without changing the URL structure? 

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    1 year and 2 months ago

    Good Morning Anita,

    This may be accomplished using a template override.

    1. Create a new directory in your active theme named advanced-sidebar-menu.
    2. Create a new file in the new directory named page_list.php.
    3. Enter the following contents in the new file.

    Have a great day!

  2. Anita Nielsen

    1 year and 2 months ago

    Thanks! That worked!

    The menu items / sidebar items are in reversed alphabetical order. So the order is:

    K
    F
    B

    … instead of:

    B
    F
    K

    I can see on  the screenshot here, that it should be possible to choose either ascending or descending order, but I don’t have this field in my backend: https://onpointplugins.com/advanced-sidebar-menu/advanced-sidebar-menu-pro-widget-docs/advanced-sidebar-menu-pro-categories-menu/

    How do I then reverse the order, so it shows alphabetically?

  3. OnPoint Plugins

    1 year and 2 months ago

    Hi Anita,

    Currently only the categories widget supports changing the order between ascending and descending.

    This version of the template override will use the widget’s default order settings which is “ASC”.

    Have a great day!

     

  4. Anita Nielsen

    1 year and 2 months ago

    Great, thanks! Should I place it in the page_list.php or functions.php?

  5. OnPoint Plugins

    1 year and 2 months ago

    page_list.php, replacing all contents of the file.

  6. Anita Nielsen

    1 year and 2 months ago

    Thanks! That worked!

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