SiteMap

  1. Render the sitemap in a tabbed layout. Each tab contains a separate post type:

  2. Specify the type and order of post types:

    Posts


  3. Set page depth (i.e. indentation) for nested posts:

  4. Wrap each sitemap entry in a specific HTML tag:

  5. Wrap the post type label in a specific HTML tag:

  6. Order posts for each post type via title, date, ID etc. See full list of options here: https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters

  7. Whatever the ‘orderby’ attribute is set to the ‘order’ attribute will sort them in either ascending or descending:

  8. Optionally show a post excerpt for each sitemap entry:

  9. Control excerpt length (for pages only):

  10. HTML tag to wrap the excerpt (if displayed):

  11. Comma separated list of post/page ID’s to include in the sitemap:

  12. Comma separated list of post/page ID’s to exclude from the sitemap:

  13. Show the label for each post type:

  14. Display sitemap items as links or plain text:

    Pages

    • About Us
    • Cart
    • Checkout
    • Contact Us
    • Disclaimer
    • DMCA Information
    • Main Menu
    • Mega Menu
    • My account
    • Privacy Policy
    • Register
    • Shop
    • Side Menu
    • SiteMap

  15. Display the post featured image (if defined) next to each sitemap item as an icon:

  16. Display the sitemap items with or without bullet points:

  17. Show a separator between sitemap items:

  18. If multiple tabbed sitemaps are to be displayed then this attribute is useful to avoid CSS id conflicts:

  19. The sitemap can now also be show as a continuous horizontal list (separate list for each post type):


    Note: For this to work the render attribute needs to be empty (which it is by default).
  20. You can customize the horizontal list separator too:


    Note: For this to work the horizontal attribute needs to be set to true.
  21. Output the sitemap as an order or unodered list of items: (allowed values are ul, ol)

  22. Make your sitemap links nofollow:

  23. Limit the number of posts outputted in the sitemap:

  24. Control whether private posts/pages are displayed in the sitemap: