Question
Problem: After updating Wordpress to version 5.5.1 I noticed that some URLs changed. The way it used to be: Links to the category page: my/website/category/my-category-name Links to the articles: my/website/category/my-article-name The way it is right now: Links to the category page: my/website/my-category-name ...
0
, , 4 weeks 0 Answers 18 views

Question
I'm using CPT-UI to create my custom post types and taxonomies. I have two post types - aulocations and uklocations these work and show up as: /au/locations/{location-names} /uk/locations/{location-names} Next: these post types share a common taxonomy called 'events' I'd like urls to display as: au/events/{event-name} uk/events/{event-name} these ...
0
, , , 1 month 0 Answers 22 views

Question
I'm trying to get a custom rewrite working: I've got the following URL pattern for a custom post type of 'product': /au/product/product-name-one/?type=customtype1 /au/product/product-name-one/?type=customtype2 i'm trying to rewrite to: /au/product/product-name-one/customtype /au/product/product-name-one/customtype2 == Here's what I've tried so far: add_filter( 'query_vars', 'wp_query_vars' ); function wp_query_vars( $query_vars ){ $query_vars[] = ...
0
, , 1 month 0 Answers 18 views