I use a WordPress site to keep notes on a variety of subjects, they are organised as parents / children. I needed a simple way to show them in a nested list that reflected their hierarchy. So I wrote this plugin to do just that.
Once installed it addes a widget that will allow you to select which post type to display. It’s generally handy if you have hierarchical custom post types or a lot of deeply nested pages. On the front end, this adds a script to load in the post list asyncrously – this lets your website load first without having to worry about pulling together the list of all your posts. Onec the site is loaded, then all the posts will load. Another resource saver for you – the posts are organised into their hierarchical order client side. This means the server just spits out an array of posts and sends them to the visitor’s browser. Once they arrive the visitors browser will do the work of orgaisaiton.
The usual – FTP the files into
/wp-content/plugins/ then activate in the admin.
Or – search ‘post hierarchy menu’ in the add plugins secrion, install and activate.
Now it’s intalled, go to apperance -> widgets and you should see a fancy new widget sitting there ready for you to use!
Col·laboradors i desenvolupadors
"Post Hierarchy Menu" és programari de codi obert. La següent gent ha contribuït en aquesta extensió.Contribuïdors
Registre de canvis
- This is the first version – it doesn’t do much in terms of customisation, yet.