• Resolved sezgee

    (@sezgee)


    Thanks for the great plugin. I’ve used it on many sites.
    Right now I’m using it as a category sidebar. I have the posts pulled by the category slug.

    I have some categories that have subcategories with a handful of posts. However, I cannot find a way to order or group these. I’m comfortable altering the CSS, but the subcat posts don’t seem to have any unique code.

    In the example I post, I’m using the “teaching online” sidebar, but there are several pages under Teaching Online > Assessments and Exams in Online Courses > THE PAGE.

    I’ve looked through the advanced wiki but don’t see any mention of hierarchies. When I change the display from TITLE to PRESERVE THE PARENT POST ORDER, nothing happens.

    Can you suggest how I might achieve a grouping?
    Thank you!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Hello @sezgee,
    only to better understand your request: you would like to display posts in a hierarchical order? For example:

    Category 1
    – post a
    – post b
    – post c
    — Subcategory 1
    — post g
    — post h
    — post i
    Category 2
    – post d
    – post e
    – post f

    Thread Starter sezgee

    (@sezgee)

    Thank you Aldo! That is essentially correct. In my case it is more:

    CATEGORY 1 LINKED TITLE
    – post a
    – post b
    – post c
    — Subcategory 1a (category page is post d)
    — post e
    — post f
    — post g`
    — Subcategory 1b (category page is post h)
    — post i
    — post j
    — post k

    All of these pages are already included and linked correctly in the sidebar, I’m just hoping I can group d-e-f-g and h-i-j-k with some CSS so I can distinguish them.

    I’m able to achieve this with PAGE sidebars because they’re auto wrapped in a <ul=”sub-menu”> code. Example of pages here: https://dev-penn-ctl-wp.pantheonsite.io/wp-content/uploads/subcasts.png

    Appreciate the help!
    Sez

    Plugin Author Aldo Latino

    (@aldolat)

    There is an option to print all the categories of each post in the HTML code, just like WordPress does for each post. Perhaps using this information you can group them via CSS? It’s an idea I am having right now… ??

    Thread Starter sezgee

    (@sezgee)

    Oh great! I found the option under styles > extras and see the category in the code! I then sorted by “post to parent order” and it seems that subcategories are now listed under the parent. I think this will work!

    Thanks so much Aldo. Great support AND a great plugin. Leaving a review now! ??

    Plugin Author Aldo Latino

    (@aldolat)

    You’re very welcome! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hierarchical Posts’ is closed to new replies.