I set up this rule (in functions.php) function custom_rewrite_basic() { add_rewrite_rule( 'episode/([^/]+)/transcript', 'index.php?post_type=episodes&episodes=$matches...
I am trying to use categories to provide the structure for my site. I will create sections on my site called England, Wales, ...
-
May 14, 2022
- 0 Comments
I want to add a new endpoint to the author page, so that the URL looks like this: http://example.com/writer/username/articles So far, I have: ...
-
May 13, 2022
- 0 Comments
I think maybe my understanding about rewrites and templates for custom taxonomies and CPTs is wrong and maybe someone here could help me ...
-
May 13, 2022
- 0 Comments
I’m trying to add a rewrite rule to make this: mysite/?attachment_id=106 look like this: mysite/series/106 I’ve looked everywhere in this site and others ...
-
May 13, 2022
- 0 Comments
We have added a custom rewrite_rule to our site to allow for a pretty inbound link to be parsed and handled properly. Links ...
-
May 12, 2022
- 0 Comments
I’ve generated three different custom post types (e.g. books, movies, games). I’ve also created a custom taxonomy for all of them (e.g. genre). ...
-
May 11, 2022
- 0 Comments
How can you trigger a 404 when using custom query vars? I’ve got re-write rules written for a custom query var, but if ...
-
May 11, 2022
- 0 Comments
If you have a category called “term” and a subcategory called “subterm”, your can access subterm posts at /cat/subcat. But this doesn’t work ...
-
May 11, 2022
- 0 Comments