How best to display posts on page. Tree view/accordion

  • Unknown's avatar

    I have around 800 posts. Each of which is categorised in a hierarchy and it can go up to 6 levels deep.

    We came from a CMS which used basic html as a front page and we have to make an html accordion and manually input the link names, url etc. This process grew over the years and now we have as I mentioned, 800 links in the accordion.

    I am trying to do something similar with wordpress. I tried knowledge base plugins, but these focus more on pages and don’t really do accordions.

    I want the list to expand and when they click on the final link it will immediately download a linked file (hosted elsewhere). Or if I chose, goes to a page in WP.

    Here is a very basic example of what I am after

    https://codepen.io/marcomtr/pen/eJOepz

    I’ve looked over plugins and I just can’t find any that does it. Yes I could make another html accordion again, but I want WP to help automate it by using the categories and custom columns.

    Any thoughts on how to best proceed?

  • Unknown's avatar

    Hi triaxial,

    Neither triaxial.wordpress.com or filthyshadow.wordpress.com have as many as 800 posts so it sounds like you are working on a different site.

    If it was created with self hosted WordPress.org site, the WordPress.org support forums will be the best place to ask for advice:

    https://wordpress.org/support/forums

    Please let me know if you have any questions.

  • The topic ‘How best to display posts on page. Tree view/accordion’ is closed to new replies.