Why is my pagination /page/2 taking me to index.php?
Why is my pagination /page/2 taking me to index.php?
Why is my pagination /page/2 taking me to index.php?
I solved my problem with: https://stackoverflow.com/questions/61622017/get-woocommerce-product-categories-that-contain-a-specific-product-brand/61624358#61624358 turns out wp_query wasn’t the right choice for my requirements.
I tried hooking in to rest_post_dispatch, and that seems to work for edits in the block editor. Only problem here is that the slug does not update in the editor, so the URL is wrong if the author clicks the link to view it after saving. A separate hook is needed to cover quick edit … Read more
Add custom taxonomy using JS in post editor
custom taxonomy pagination 404 error
wp-query and wp_get_post_terms on custom taxonomy archive page
How to get related taxonomies based on a category with mysql query?
Custom Taxonomy and Categories
You should be able to check the conditions and add capabilities like this: if(wp_get_current_user(‘gallerist’) AND ‘cats’ == get_post_type() AND has_term( ‘status’, ‘age’ )) { $gallerist_role = get_role( ‘gallerist’ ); // Adding a new capability to role $gallerist_role->add_cap( ‘custom_capability’ ); } I am sorry I can not test it but I think it is a start
is there a way of getting term children that only shows those from two taxonomies