• Hello, thank you for this fantastic plugin. I’m currently developing a website (unfortunately no live preview is available) and I would like to use this plugin in sitemap section. Right now, I have some parent and child pages. On Main Pages area I’d like to use a shortcode and display only parent level pages (with excluding some certain pages via adding their page ids.

    I have tried using following code:
    `[catlist name=”Main” post_type=”page” excludeposts=”this,406,516,883″ child_categories=false numberposts=-1 orderby=title order=asc]

    I was expecting to display only parent level pages, the output is displaying all parent and child pages in same hierarchical level.

    Then I’d like to display children of a certain parent page. Not sure about the shortcode to use, although I have reviewed docs I think I’m missing something.

    And finally I’d like to create a list of blog posts (with pagination maybe)

    WP version is 5.0.1

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    The child_categories options refers to child categories, not child pages. If your child pages are in the “Main” category, they will be displayed. You would have to put parent pages in a category that child pages don’t have.

    Pulling children of a given post id is described in the docs. Use it like this: [catlist post_type="page" post_parent=1088] where 1088 is an example ID of a page.

Viewing 1 replies (of 1 total)

The topic ‘Configure Plugin Shortcodes for Sitemap?’ is closed to new replies.