I'm looking for some advice on what plugin I could use to allow my client to choose the order of posts in a catergory.
I have found plugins that allow a user to change the order but not the order of posts that are assigned to a category.
Has anyone got any good suggestion on this type of functionality?
Make simple filter witht pre_get_posts
https://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts
Related
I would like to add an action of some sort to place an order menu to custom post types. Giving my clients the opportunity to change the order of their posts.
I would like to do this without a plugin though. Better for optimization.
Thanks in advance.
Guys, there's some hook, hack or something that I add on functions that make a taxonomy or category is selected at the time of posting? Already come with chckbox marked to be..
Does anyone know?
you can have a look on this https://codex.wordpress.org/Function_Reference/wp_category_checklist
this allow to make categories checked by default. I think this is what you are looking for.
I currently have a custom taxonomy select field called "Location" and another custom taxonomy called "Company". What I would want to do is to hide/show the Company check-boxes based on the chosen Location in the select box. This is for the back-end.
The Person custom post type is associated with a Company and each Company is associated with a Location taxonomy. Advanced Custom Fields conditional logic does not extend to taxonomy fields and if anybody knows a way to go around this limitation that would be super awesome.
I am looking for taxonomy-related conditional logic as well and I found a post on the ACF support forums (http://support.advancedcustomfields.com/forums/topic/conditional-logic-using-taxonomy-field/) that shows many other people looking for this as well. However, there was no solution or answer in this post (most recent post asking for help being 6/7/16). Perhaps it will be solved in the future given the many requests, but no answers there at present.
Seems that the best option for now is to use jQuery on the backend.
I need find some solution how to allow category edit or use for post only for user which create this category. So I need assign author for taxonomy. It is possible to do this? I know that with posts it is possible to allow users to see their post.
Thanks for answer.
You can create custom new add-post form. In this form, with if clause filter your taxs.
I have a wordpress page and I've used the plugin api to allow categories for pages. I want to get the child pages, but I want to filter which ones I get by category. I was using the get_page_children_as_html() function, but that wont let me filter my results.
Is there a simple way I can do this?
The plugin API probably created its own functions to handle the categories, therefore there wouldn't be anything to help you filter a plugins function, you'd have to get in contact with the plugin developers and see if that is possible.