Tagged Questions
0
votes
1answer
21 views
Custom taxonomy rewrite using tax name instead of rewrite slug
I Created a custom taxonomy for my projects custom post type.
function projects_taxonomy() {
$labels = array(
'name' => __('projects Categories'),
'singular_name' => ...
0
votes
0answers
37 views
How to hide custom post types/taxonomies from permalink structure?
All questions about post types/taxonomies and permalinks seem to be about altering and changing the permalink. I wonder how to hide a post type or a taxonomy completely from search engines, prevent ...
3
votes
1answer
140 views
Custom taxonomy on permalink
I have a long time problem and look forward for your help.
I have a custom taxonomy of "city" (it is no hierarchical like tags).
I just would like my URLs to look like this:
...
1
vote
1answer
69 views
Add a css class to a taxonomy permalink
I need to add a css class to every <a> element retrieved by the_terms() (or similar function) in order to open the taxonomy permalink in a fancybox modal window.
I've been searching this whole ...
2
votes
1answer
151 views
New categories are now going to 404s
I have a WPMU site with hundreds of blogs on it. We are on 3.4.2 and this is the first time I'm seeing this issue within a few of my sites.
Basically, what happens is that I'll create a new category ...
6
votes
1answer
266 views
Permalink with sub-sub-category and post name
Working on a new theme project and I created a custom post type called products with its own custom taxonomy.
I want the URL structure to be:
...
3
votes
0answers
179 views
Best way to programmatically link to multiple categories (union/intersection)
This question assumes that you know about the various complex taxonomy queries available from the WP_Query API. I know about tax_query as well as about things like category__and, which allow you to ...
0
votes
2answers
284 views
Custom Taxonomy in Permalink of Post
It is possible to use this as a permalink for a post:
/%category%/%postname%/
But lets say I've created a taxonomy called "artist". I'd like to use this for my posts:
/%artist%/%postname%/
I ...
0
votes
2answers
279 views
Remove Parents From Permalink of Hierarchical Taxonomy
I have a custom hierarchical taxonomy called "places" set up with categories like so: Services > Financial Services > Financial Advisors.
The permalink for this category listing page is currently ...
1
vote
2answers
370 views
Custom Post Type: How to display all of same taxonomy?
Isn't there a permalink structure that will essentially list out all categories of a certain post type?
function create_faqs_post_type() {
register_post_type( 'faqs',
array(
...
1
vote
1answer
589 views
Remove Custom Taxonomy Slug from Permalink
I have a registered custom taxonomy called articles to my posts. So if I have a term called reviews, the link to my custom taxonomy reviews archive would be www.mysite.com/articles/reviews/ .
I would ...
2
votes
1answer
392 views
How can I set up a category “overview” page?
I know I can use the Template Hierarchy to set up custom theme pages for terms inside a category, like these:
mysite.com/category/tech/ // category-tech.php
mysite.com/category/blog/ ...
4
votes
3answers
227 views
Taxonomy term in permalink
I have a big problem. I have been banging my head on this all day long. It seems to be a stupid easy question. Possibly also with a stupid easy answer. But I can't seem to find it.
What I want is ...
0
votes
2answers
317 views
Custom Post Type Taxonomy Permalinks [closed]
I am having a very specific issue on permalinks.
I have a custom post type and a taxonomy.
Using the function below sorted out the correct structure of the taxonomy permalinks.
function ...
-1
votes
1answer
119 views
Redirection Problem: Category and Tag Urls are redirected to articles pages [closed]
Hi I am running WordPress latest version,
I have set the Permalink options as
post url : /%year%/%month%/%day%/postname%/$post_id%/
category : pages
Tags: topics
Now when I click on any ...
5
votes
4answers
696 views
How do I append multiple taxonomies to the URL?
Multiple taxonomies in URL
How does one append multiple taxonomies to the URL having the following:
Post Type: products
Taxonomy: product_type
Taxonomy: product_brand
Adding new ...
0
votes
1answer
77 views
How to define %category% for custom taxonomies?
So when you put %category% in the permalink structure that tag will be replaced with the path from the root category to the furthest subcategory, where, when placed in multiple categories, it will ...
2
votes
1answer
2k views
How to change permalink structure for custom post type and it's taxonomies?
This is a repost of an earlier question I had, but I like to go into more details now to be able to fully solve this.
So again, with (normal) posts changing the permalink is as easy as going to ...
0
votes
1answer
252 views
How to use taxonomy term as permalink folder
I've searched around and haven't found a way to do this yet.
I'm trying to create a custom post type that will display a permalink structure that uses the term of a taxonomy as the folder name. ...
