Rewrite rule for Custom Post Type Page as a parent
Rewrite rule for Custom Post Type Page as a parent
Rewrite rule for Custom Post Type Page as a parent
How to get list of taxonomy slugs ordered parents>childs?
simple add_rewrite_rule added, refuses to work
No, that is correct, news has nothing to do with your structure… it’s just a word… But you can get a way around it… you could copy archive.php and name it something like template-news.php then edit the template-archive.php… put this at the top… just below ‘ <?php /* * Template Name: News */ Then add … Read more
I don’t understand what you want to do. Every taxonomy is independent and the terms can’t be shared between them. The only way I know to do a search with 2 parameters: taxonomy A term and taxonomy B term, and pass it to a WP Query along with the custom post type.
I used the following functions to solve this problem. //This adds a custom query variable to the permalink function add_custom_query_var( $vars ){ $vars[] = “shop_name”; return $vars; } add_filter( ‘query_vars’, ‘add_custom_query_var’ ); function add_rewrite_rules($aRules) { $aNewRules = array(‘shop/([^/]+)/?$’ => ‘index.php?pagename=shop&shop_name=$matches[1]’); $aNewRules2 = array(‘shop/([^/]+)/gallery/?$’ => ‘index.php?post_type=gallery’); $aRules = $aNewRules + $aNewRules2 + $aRules; return $aRules; } … Read more
Here you can read an article about how to deal with. You’ll have some mandatory things to do such rewrite your taxonomy with the same name of the custom post type. http://someweblog.com/wordpress-custom-taxonomy-with-same-slug-as-custom-post-type/
Add word to permalink when custom field has a value
Nginx — WordPress multisite with root folder in own directory
Mirror content based on URL slug