• Resolved sdr2585

    (@sdr2585)


    How do you exclude certain pages in sitemap? A donation plugin I am using creates its own pages, and I don’t want them all listed. Also, can you change the order they are listed in? It looks like it’s alphabetical and I want it in the order they appear in the navigation bar.

    theme1.1stopnonprofitshop.com

    https://www.ads-software.com/plugins/simple-sitemap/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author David Gwyer

    (@dgwyer)

    You can use the ‘orderby’, and ‘exclude’ shortcode attributes to control the sitemap order and exclude certain pages by a list of post ID’s.

    See the plugin options page for more details. Also, please make sure you are running the latest version.

    Thread Starter sdr2585

    (@sdr2585)

    I figured out how to exclude different pages, but still can’t figure out how to order my pages. The website is theme1.1stopnonprofitshop.com. I want to put the pages in the order that they are in the navigation bar. How do I go about this?

    Thread Starter sdr2585

    (@sdr2585)

    Also, how do you remove the word “Pages” from the sitemap?

    Plugin Author David Gwyer

    (@dgwyer)

    Thanks for the feedback. You can use the ‘show_label’ attribute to removes ‘Pages’.

    The sitemap displays pages via a WordPress query so you can order them via any query parameter specified here:

    https://codex.www.ads-software.com/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

    However, being able to sort them by a custom menu is interesting. I’ll look into that for the next Pro version (which is available now by the way).

    Thread Starter sdr2585

    (@sdr2585)

    How do I remove the word “Pages” that is in dark grey? I don’t want it saying pages two times. Footer of theme1.1stopnonprofitshop.com

    Plugin Author David Gwyer

    (@dgwyer)

    Please see my previous response for how to remove the ‘Pages’ label.

    Thread Starter sdr2585

    (@sdr2585)

    Do I just remove the show_label attribute? I tried that, but ‘Pages’ is still showing in grey.

    Plugin Author David Gwyer

    (@dgwyer)

    I just tested it again and this worked perfectly my end to hide the post type label:

    [simple-sitemap show_label="false"]
    Plugin Author David Gwyer

    (@dgwyer)

    Marking as resolved.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Exclude Pages in Sitemap’ is closed to new replies.