Tagged Questions
0
votes
0answers
30 views
Custom Post Type Taxonomy Filters
Im really struggling to piece this functionality together, and hope someone can help or provide snippets to get me there.
So I'm creating a section on a website where stories are published, I have ...
0
votes
2answers
83 views
Get Taxonmy Term ID For Current Post
If I wanted to get the category ID for the current post, I would use something like this:
<?php foreach((get_the_category()) as $category) { echo $category->cat_ID . ' '; } ?>
How can I do ...
0
votes
1answer
213 views
SQL QUERY needed to get POST category (taxonomy) ? - MUST be SQL statement
Working on a tool outside of Wordpress to query the wordpress database by POST_ID and return the Category Name associated. This is for a real estate website, and the Categories are called ...
1
vote
2answers
153 views
Custom taxonomies making WP very slow - Way to fix?
I've set up three custom taxonomies within my theme for attachment post types within Wordpress 3.5.1. One taxonomy is non-hierarchical (i.e. tags) and has about 800 terms in it. (I'm using WP to build ...
0
votes
1answer
122 views
How to display posttypes and taxonomy in standard posts, not in a separate label?
I want to display some taxonomies directly in "Posts" label, as standard post, not in a separate label like "Books" for exp., but i don't know how.
Is there a way to do this?
This is the code:
class ...
0
votes
1answer
137 views
Get terms in hierarchical taxonomy which are associated with page and are children of a parent term
I have a hierarchical custom taxonomy ("photos"), with 3 parent terms ("color", "location", "year"). Each parent term has several children terms. I have associated the "photos" taxonomy with pages and ...
0
votes
1answer
99 views
Wordpress Taxonomy Menu
I have got the following simple code.
<ul id="filter"><?php
echo '<li class="active"><a href="#" class="all">All</a></li>';
if ( $count > 0 ) { ...
0
votes
2answers
187 views
Tax Query trouble
I can't seem to figure this out.
The following query works:
$xxxx = new WP_Query(array(
'listset' => 'homepage',
'meta_query' => array(
array (
'key' => 'show_home',
...
0
votes
1answer
690 views
Exclude specific taxonomy term when using wp_get_post_terms
i have a single-post_type.php file where i constructud a breadcrumb (or similer to)
i am currently using this to get the terms of this taxonomy:
$terms = wp_get_post_terms( $post->ID, ...
1
vote
1answer
154 views
Changing stylesheet depending on custom taxonomy terms
My client would like the background & header colors to switch
depending on terms within the custom taxonomy 'Grades'. These terms
are kindergarten, first grade, second grade, etc... (all ...
1
vote
1answer
2k views
Taxonomy: Why 'with_front' => false DOES NOT WORK?
Seriously, why 'with_front' => false does not work as it should be? It is supposed to remove TAXONOMY BASE NAME and my question is why it does not work?
I just dont want the taxonamy base slug ...
1
vote
2answers
2k views
Advanced Tax Query
Below is my tax query, at the moment this returns all posts which have at least one of the specified terms.
Is there a way I can have it return only posts which have ALL of the specified terms?
...

