Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
5
votes
1
answer
652
views
custom post type and custom taxonomy permalink
custom post type WITH the genre "client-a"
client-b/cases/case-b.html --> this is a custom post type WITH the genre "client-b"
What is the best approach for this structure? … Whem I'm using this solution:
http://xplus3.net/2010/05/20/wp3-custom-post-type-permalinks/comment-page-1/#comment-1005
I get my permalinks working for custom post types and custom taxonomy, but breaks …
0
votes
1
answer
77
views
How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post t...
I have almost the same issue as Paul T did (Permalinks: custom post type -> custom taxonomy -> post), namely :
I have a custom post type called sioban_cpt, which have a custom taxonomy sioban_taxo. … )
www.mysite.com/sioban_cpt/bar => shows the indivual post under the sioban_cpt post-type (this doesn't work, it display the error template, although www.mysite.com/sioban_cpt/bar is the shown permalink …
2
votes
0
answers
2k
views
Custom Post Type and Custom Taxonomy Permalinks
However, I have created a new custom post type and a new custom taxonomy for a new section on the site. … I have code in place on this page that is listing out the custom taxonomy "categories" for my custom post type, but the permalink for each of these taxonomy terms include the word "speak" before the rest …
0
votes
1
answer
2k
views
Permalinks: custom post type -> custom taxonomy -> custom sub taxonomy -> post
I am building a custom post type and its respective custom taxonomy. … So for example, I have the following structure:
Custom Post Type
Main Category
Sub Category
Sample Post
The URL structure should be the following www.domain.com/custom_post_type/main-category …
49
votes
1
answer
77k
views
Permalinks: custom post type -> custom taxonomy -> post
I have a custom post type called _shows_.
All shows have a single custom taxonomy category _show-category_. A _show_ will never have more than one _show-category_. … I would like my urls to route in this manner:
www.mysite.com/shows/ => archive-shows.php
www.mysite.com/shows/%category%/ => taxonomy-show-category.php
www.mysite.com/shows/%category%/%postname%/ …
1
vote
0
answers
60
views
wordpress custom post type taxonomy permalink
I have created a new custom post type and a new custom taxonomy for a my site. … with custom taxonomies and custom post types like conditions/condition-type/post-type-name/? …
1
vote
0
answers
778
views
Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
I found this post How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name which I've tried to modify for my use and can't … I have a PAGE with a custom template/query acting as the archive. I have a Custom Post Type and a non-hierarchical custom taxonomy as well. …
1
vote
0
answers
710
views
Hierarchical permalinks for custom post type and taxonomy
I have registered the custom post type "word" and the custom taxonomy "wordcat".
Now what I want is proper hierarchical permalinks. … ( 'word-categories', 'word', $args );
}
add_action( 'init', 'word_taxonomy', 0 );
Rewrite rules
based on this link:
How to create a permalink structure with custom taxonomies and custom post types like …
1
vote
2
answers
4k
views
How to add custom taxonomy in custom post type permalink?
I have a custom taxonomy called campaign and a custom post type called asset. For assets, I want to have the following permalink structure: mysite.com/<campaign_name>/<asset_name>. … And when I comment out the rewrite slug part in the function for registering the custom post type, or add this instead ams/%campaign%, it works but that's not the URL structure I want for my custom post …
0
votes
0
answers
42
views
Template hierarchy changes when custom post-type permalink leverages custom taxonomy
I've got a custom post type departments with a custom taxonomy department and am using Custom Post Type Permalinks plugin. … But if I change my permalink for the CPT to use my custom taxonomy in the rewrite rule like this:
'rewrite' => array(
'slug' => '%department%',
'with_front' => false
)
The permalink now looks right …
3
votes
1
answer
4k
views
Permalink rewrite with custom post type and custom taxonomy
I think thats a quick one:
I've got:
Custom post type: Food
Custom taxonomy (Registered to Food): Fruits
Terms in Fruits: Apple, Orange, Cherry
If I type in example.com/food? … I´ve tried different permalink and rewrite plugins related to custom posts but nothing helped.
Thank you,
David …
0
votes
0
answers
83
views
Making permalink for custom post type/custom taxonomy. Stuck with 404 in the single post
Like many before me, I just want this structure
mysite.com/custom-post-type/custom-taxonomy-term/post-name
Or, in other words,
mysite.com/publication/book/post-name (single post)
mysite.com/publication … taxonomy permalink, and another one by Matthew Boynes to fix the pagination issue. …
0
votes
0
answers
139
views
WordPress Custom Permalink Structure with Custom Post Type and Taxonomies
I have a Custom Post Type called "services", an associated Custom Taxonomy called "service-categories", and some sub-terms of the same Taxonomy. I want to create a hierarchical permalink structure. … I need one of these:
/custom-post-type-name/term-name/(subterm-name)/post-name
/custom-taxonomy-name/term-name/(subterm-name)/post-name
/custom-post-type-name/custom-taxonomy-name/term-name/(subterm-name …
0
votes
1
answer
160
views
Permalink problems with custom post type and custom taxonomy
I have the following setup:
Custom post type: training
register_post_type( 'training',
array(
'labels' => array(
'name' => __( 'Trainingen' ),
'singular_name' => _ … (I am also using Yoast breadcrumbs and have set the taxonomy to show for the training cpt to: training-category (my custom tax).)
Any tips on how I can get the desired permalink structure? …
12
votes
1
answer
4k
views
Shouldn't this be easy?! Custom post type/custom taxonomy permalink
I simply want this structure:
mysite.com/custom-post-type/custom-taxonomy-term/post-name
So I achieve the following:
mysite.com/literature - all literature posts
mysite.com/literature/fiction - all … link;
}
add_filter('post_type_link', 'filter_post_type_link', 10, 2);
And changed my post type to 'slug' => 'literature/%literature_category%'
And changed my taxonomy to 'slug' => 'literature'
This …