regio007
Member
Posted 2 years ago #
Hello.
I'm trying to create a Plugin to transform WordPress as a CMS for a client. I'm using Posts with different Categories for different purposes.
What I want to do is customize my Post List Layout through my Plugin.
I've been searching everywhere for this type of implementation but I cannot find it.
My question is how can I do this without editing WordPress core.
I'm trying to do this trough Filters and Actions.
Does anyone knows what are the necessary Hooks to filter posts by Categories and change Post list columns ?
My question is how can I do this without editing WordPress core.
Usually you don't have to edit core files to change the display of posts. Rather you would change a theme's template files.
Might look at Template Hierarchy, Category Templates, and Stepping Into Templates.
regio007
Member
Posted 2 years ago #
Sorry. I forgot to mention that this customization is on the Admin side.
As an example:
If have 2 different categories A and B.
I want to customize the post list layou on the backoffice.
For category A I want to remove the comments column and the quick edit column.
For category B I want to remove the same columns as for A and I also want to add a new column.
How can I do this kind of modifications only with, hooks, actions and filters ?
Don't know of a plugin that does that, but this plugin allows you to create templates for your post writing experience, so maybe you'll get some hints...
http://wordpress.org/extend/plugins/simple-post-template/