• Resolved nathanrwordpress

    (@nathanrwordpress)


    I’m using your plugin to display posts in a specific taxonomy in a sidebar. The only item I’m struggling with is how to get the displayed to reflect their hierarchy instead of a list where everything is on the same level.

    For example:
    Parent Page Name
    –Child Page Name
    –Child Page Name
    Parent Page Name
    –Child Page Name
    –Child Page Name

    Here is what we’re using:

    LCP Version: 0.89
    WP Version: 6.3.0
    Shortcode: [catlist taxonomy=’at_resource_library_topic’ terms=’strategic-code-enforcement’]

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

    (@zymeth25)

    This is not supported out of the box but there was a similar request some years ago for hierarchical list of categories. The solution was to create a custom template, an example template is available in the plugin’s documentation:
    LCP template for displaying posts indexed by child categories. (github.com)

    So you would have to create a similar template that sorts by post parents, which could become a bit complex if you want it to support more that one level. If you don’t feel like working with PHP I’m afraid there is no way to achieve this at this moment.

Viewing 1 replies (of 1 total)
  • The topic ‘Display Post List with Hierarchy’ is closed to new replies.