Trying to match and URL like this linktosite/alphaNum/123/321/alphanum[alphanum].jpg in .htaccess I can match and extract all the groups properly with linktosite/(.+)/([0-9]+)/([0-9]+)/(.+)\\[(.+)\\]\\.(.+)$ in add_rewrite_rule ...
-
May 30, 2022
- 0 Comments
I’ve got a CPT called Service registered as following: $args = array( 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'has_archive' => ...
-
May 30, 2022
- 0 Comments
I have added a custom taxonomy called ‘Boards’ with the following code function add_custom_taxonomies() { register_taxonomy('board', 'post', array( 'labels' => array( 'name' => ...
-
May 30, 2022
- 0 Comments
I’ve been banging my head against a wall on this one for a while but I’m not quite sure from all the tutorials ...
-
May 30, 2022
- 0 Comments
Small multisite setup, two very different sites, both need to access an event custom post type. I don’t want to duplicate posts (there ...
-
May 29, 2022
- 0 Comments
I have been following the steps on the answer here and it worked wonders. But my problem is on this part, on the ...
-
May 29, 2022
- 0 Comments
Have the following situation here: Custom post type: ‘recipes’ Taxonomy for custom post type ‘recipes’: ‘receitas’ One of the taxonomies slug: ‘receitas-whoopie-pie’ The ...
-
May 29, 2022
- 0 Comments
I am using URL rewrite like this page: unexpected problem in url rewrite It works without any problem, but when I try to ...
-
May 29, 2022
- 0 Comments