• In this page, I’ve created subpages, but sitemap shows Subpages twice, once in the form of hierarchy and once in the form of a page

    Please see below screenshot, how can I correct this

    https://prnt.sc/sfzl8i

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Angelo Mandato

    (@amandato)

    Hello @samriti7618009,

    Are you seeing this if you use the menu option in the sidebar for pages?

    This plugin calls the wp_list_pages() function used by themes, the problem should be repeatable with your theme’s sidebar adding a “list pages widget”. This will help you identify if it’s bigger issue than just this plugin.

    Next step is to diagnose by switching your theme temporary to a default one like “twentyninteen” then disable plugins one by one and checking the page with each change. If the theme change shows correctly or the last plugin you disabled solved the issue, then you know what the conflict is. Please reply here to indicate if the theme or a specific plugin is conflicting and then I can test with that information.

    Thanks,
    Angelo

    Thread Starter samriti7618009

    (@samriti7618009)

    Well I don’t get what are you referring when you are saying “Are you seeing this if you use the menu option in the sidebar for pages?”

    I am using shortcode to call sitemap to frontend. This is the screenshot for the same:https://prnt.sc/sgg847

    Also i am using custom theme, so I have not called sidebar.

    For further details, you yourself can have a look: Here are the login detail:
    https://rfc.apexure.com/wp-admin/
    admin
    admin@123#

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @samriti7618009,

    Please do not post logins and passwords.

    Attention WP.org moderator, please edit the reply above this one and remove the login information posted.

    Please re-read my previous reply, I gave you diagnostic steps how you can figure out if your theme or another plugin is causing the issue. If you view the source code of this plugin you will see it does not do anything special, it simply calls the WordPress wp_list_pages() function. If there is an issue it is because something else (theme or plugin) is causing the issue and it takes disabling them one by one to figure it out. I would start with the theme and switch to a default WordPress theme to confirm if the theme is the issue.

    Thanks,
    Angelo

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Pages Showing Twice’ is closed to new replies.