OnPoint Plugins

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

Missing grandchild links and use the current page as top level parent

Resolved

Requested: 1 month and 6 days ago

hello,

i cant figure this out.

im trying to make it show the main category that each page is in, & the levels below the page that you are on.
i have done it before, but after trying every variation i cant get it to work.

i have enclosed 2 screenshots
the one from the admin says
“display the current page’s direct family only ” &
“Always display child pages ”

but on here

Industrial Gearbox Services


it shows all the links to the pages
does not show them in tiers as it used to (?)
i.e.
tier 1
tier2
tier 3
& when you go 1 level below that

Manufacturing Gearbox Repairs Rebuild Services


it still shows everything under “services”, instead of just everything below “manufacturing”

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    1 month and 6 days ago

    Hi Mark,

    It appears your site may only have 2 levels of pages. For example if a used Manufacturing as the parent page like in this REST request, your site is returning no pages listed as child pages of Manufacturing. If you are seeing child pages under Manufacturing in the Pages area of the WordPress admin, there is a plugin or theme which is filtering the main page queries on your site to not include them.

    With “Display [1] levels of child page” set, the sidebar menu will ever only show 1 level of children. If you would like to show additional levels, that setting should be updated to a higher number like 2.

    Once you have the levels of pages as you like, you may add the following filter to your active theme’s functions.php file to make the menu use the current page as the top level parent. For example, if you are on the “Manufacturing” page, the menu will start with Manufacturing at the top and display the children of Manufacturing below it.

    If you would like the menu to show pages on the same level as the current page when you are on a page which has no children, you may instead use the following filter.

    Let me know if you have any questions.

     

  2. mark kester

    1 month and 5 days ago

    hello,

    thanks for the response, but i have used this theme loads of time on other sites, & have not had this problem,

    so i got to the bit above where you included the code extracts & thought i would mention this, because this is the same theme i have used on other sites.

     

    as far as im aware i have not added any other plugins to the site that i have not used before

     

    here is a full list of the plugins i have used

    Advanced Sidebar Menu

    Advanced Sidebar Menu PRO

    All in One SEO

    Backuply

    Call Now Button

    Classic Editor

    Contact Form 7

    Duplicator

    Loginizer

    Widget Importer & Exporter

    WP Fastest Cache

    Yoast SEO

     

     

    the only thing i can see that has changed is “Enable accordion menu ” in the plugin  – would this affect it

  3. OnPoint Plugins

    1 month and 5 days ago

    Hi Mark,

    The pages are also showing as only 2 levels in site queries not related to the widget, so the widget options most likely will change the result.

    Based on your list of plugins, the only one which stands out is “WP Fastest Cache”. If you deactivate this plugin, does the issue go away?

    What does your pages structure look like in the WordPress Admin? How many levels of pages are showing?

     

  4. mark kester

    1 month and 5 days ago

    about “WP Fastest Cache”

    i have defintely used this plugin on the other sites & they did not have the current problem.

     

    about the page structure in wordpress admin, if you mean the menu, i have included a screenshot in the below box

  5. mark kester

    1 month and 5 days ago

    in the admin i have set the aettings exactly the same forthese 2 sites

    https://www.titlesloans.com/california/

    https://www.industrialgearboxesrepairs.com/services/crane/

     

    titlesloans showa

    https://www.titlesloans.com/california/anaheim/

    the levels below it

    but

    https://www.industrialgearboxesrepairs.com/services/crane/

    has 2 more pages underneath “crane” (mobile & tower) that are not showing

     

    but the settings in the admin are both the same

    “WP Fastest Cache”  is on http://www.titlesloans.com & it is working ok

     

     

     

     

  6. mark kester

    1 month and 5 days ago

    please find enclosed screenshot below

  7. OnPoint Plugins

    1 month and 5 days ago

    Hi Mark,

    I was able to locate “Mobile Crane” and “Tower Crane” pages here:

    • https://www.industrialgearboxesrepairs.com/services/mobile-crane/
    • https://www.industrialgearboxesrepairs.com/services/tower-crane/

    According to the information on these pages (not sidebar menu related), the parent page they are assigned to is actually Services instead of Crane.

    Are these the pages which are supposed to be showing up under Crane?

  8. mark kester

    1 month and 5 days ago

    i think you might have got it there !

     

    i set up the menu correctly, but didnt change the parent of each page individually, so i will go & do that now.

    yes, it is definitely that because i just changed one & it is showing “mobile crane” below in the correct place

     

    https://www.industrialgearboxesrepairs.com/services/crane/

     

    i think this is resolved now – thank you

     

     

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