Tagged Questions
0
votes
1answer
15 views
Create permalink structure for one taxonomy archive per custom post type
So, I've been going crazy trying to figure this out. Essentially, I've created two custom post types, 'the_case_study' and 'the_video', with respective slugs 'case-studies' and 'videos'.
I've also ...
1
vote
2answers
278 views
Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts'
What I am trying to do?
My blog uses a custom taxonomy called edition with terms like us-canada (6), eu (7) and india (8) -- term slug (ID).
I want to make sure that posts not assigned to any ...
0
votes
2answers
150 views
Why is the custom taxonomy archive page redirecting me to a single post? [closed]
I have a custom taxonomy, artist, that is related to three custom post types: videos, posts and letters. I have an taxonomy-artist.php template that should display the archive for a given artist.
...
0
votes
1answer
50 views
Insert code on specific taxonomy archives
On a woocommerce site, I am trying to insert a piece of code on all category pages. The code I am using is:
function my_code() {
if ( ! is_tax('product_cat') ) return;
?>
<!-- my ...
0
votes
1answer
72 views
Permalinks not working on MU network with domain mapping
I'm using a theme with custom taxonomies. I want to use corresponding archives. If I try the template out on one network it works, and on another the permalink will take me to 404. The only difference ...
0
votes
1answer
183 views
How to create template for taxonomy results limited by Custom Post Type?
I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy?
Here's the deal:
The CPT is called Shows. Each ...
0
votes
0answers
57 views
Split taxonomy-archive into different categories?
Is it possible to split the taxonomy-custom-tax.php into the different child categories of that parent category?
So rather than it just listing all the posts from the visiting parent cat, its splits ...
0
votes
1answer
363 views
Advanced archive url structure (category, tag and date)
Is it possible to create a permalink structure like this:
mysite.com/category/books/tag/read/2010/01
Or at least something like this:
mysite.com/category/books/?tag=read&year=2010&month=01
...
0
votes
1answer
266 views
Custom taxonomy or custom page templates?
I'm trying to decide whether it would be more appropriate to create two new custom taxonomies or if custom page templates would be easier. Here's the scenario:
I have 2 custom posts types: "Cocktail ...
1
vote
2answers
562 views
Using a different template per Custom Taxonomies for single term archive pages
I have 2 custom taxonomies, each with a number of terms:
tax1
term1_1
term1_2
tax2
term2_1
term2_2
term2_3
I am trying to have each taxonomy usea different template file for each its ...
6
votes
2answers
249 views
Permalink Structure for Multiple Post Type Archives by Taxonomy
Recently I have been working on an advanced WordPress project, and I'm stuck with changing permalink structure for custom post types.
I have created 3 post types lets say: type1, type2, type3 and a ...
0
votes
1answer
495 views
Custom Taxonomy Archive URL rewrite
I would like to create an archive page with a list of my custom taxonomies that link to a page that shows posts with that taxonomy relationship.
I registered my taxonomy like this:
...
0
votes
4answers
924 views
get term archive url / link
I created custom post types & custom taxonomies for these.
Example: actors (taxonomy) for movies (post type).
Now I want to show up in my widget some terms and a more link for the actors terms ...
1
vote
3answers
395 views
How to show a tag archive of one post type only
I have a site with multiple custom post types and taxonomies. The taxonomies are shared across all of the post types.
On the archive page of the 'videos' post type, I want to show a list of all of ...
0
votes
1answer
463 views
Pagination throws 404 error on custom taxonomy archive pages
I have created a custom taxonomy for a custom post type called "portfolio" like so:
function jvs_portfolio_categories_init() {
register_taxonomy(
'project-category',
'portfolio',
...
0
votes
3answers
94 views
Dynamically insert an article at the top of a taxonomy archive - or?
I'm making a directory for half a dozen sorts of venues that are located in innumerable cities in all 50 US states. My plan has been to use a custom post type for each venue type and then assign a ...
0
votes
1answer
139 views
Display direct children of the current custom taxonomy in taxonomy.php template
Let’s say i have custom taxonomy named “Location” with hierarchial structure like the following :
ASIA
CHINA
INDIA
JAPAN
Fukuoka
Hokkaido
Okinawa
Tokyo
...
0
votes
2answers
149 views
How can I tell if I'm on a custom post type archive page?
I have set up a custom post type and a custom taxonomy for it. I'm using the latest version of Wordpress. I believe I should be using the is_post_type_archive function, but this seems to be is ...
0
votes
2answers
387 views
How to have two different versions of a tag/category/taxonomy archive page?
I have a site that has two different bodies of content: more formal content (using various different custom post types) and a blog (using a blog post type). These two different bodies of content use ...
1
vote
1answer
2k views
Are Custom Taxonomy Templates Possible?
I am trying to have some information specific to a taxonomy term appear above that taxonomy's archive list.
Example: Taxonomy is 'Sports', with football, soccer, and baseball being terms within the ...
0
votes
1answer
91 views
Date archive permalinks for custom taxonomy
Is it possible to have date based permalinks for a custom taxonomy?
ie http://www.blah.com/taxonomy/taxonomy-term/2011/08/08
TIA!
d.
1
vote
2answers
185 views
How can I get this request to use the Custom Post Type page template instead?
I read the answer for this post which says you can do something like this:
http://example.com?post_type=car&color=red
When viewing $wp_query everything seems to be working fine. That is, I'm ...
0
votes
1answer
273 views
Can I output a custom taxonomy as a submenu in the site navigation menu?
I'm building a WP 3.2 site with a couple of custom post types and taxonomies. I'm calling one of these custom post types programs, and its associated taxonomy is called topics.
I'd like to add an ...
0
votes
1answer
761 views
Can you orderby slug in a taxonomy archive page using WP_Query?
In my taxonomy.php, my query is `
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
$wpq = array ('posts_per_page' => -1, $term->taxonomy => ...
1
vote
2answers
468 views
Creating an Archive using a Custom Taxonomy
I recently adjusted the twentyten theme to display archives in a three column grid. In doing so, it seems that the archive has lost the ability to display posts from the specified taxonomy.
For ...
2
votes
1answer
566 views
Page queried instead of a custom taxonomy
When I try to get an archive for a custom taxonomy, WP searches for a page and doesn’t find anything.
The Setup
My code from the functions.php:
add_action( 'init', 'register_store_taxonomy' );
...
5
votes
2answers
4k views
get_categories for custom post type with a specific custom taxonomy attached
Basically I have a custom post type of 'products' which has two taxonomies attached to it...the normal 'category' and a custom taxonomy called 'brands'.
I have a page which is 'brand' specific. On ...
