The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
514 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
197 views

ACF Query Posts by custom taxonomy field

SO I've looked at both: http://www.advancedcustomfields.com/resources/how-to/how-to-query-posts-filtered-by-custom-field-values/ ...
0
votes
2answers
331 views

Get terms in hierarchical taxonomy

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 have ...
1
vote
1answer
165 views

Advanced Custom Field - displaying only 1 post- how to get all posts displayed

I have two post types: post type = stores which has a title and custom field (by ACF) storeurl. I have another post type called books with just title and custom field bookcode (by ACF). I ...
0
votes
1answer
12 views

Modify users.php query with multiple taxonomies

I've successfully created 3 taxonomies attached to the user object, using the registered_taxonomy and update_count functions of this code - ...
0
votes
1answer
24 views

Primary Taxonomy for Post

My blog posts have have multiple items from my custom taxonomy attached to them. For the sake of this post lets just use Tags taxonomy... So a post may contain 4 tags, is there a way I can select one ...
0
votes
1answer
20 views

Querying posts globally based on custom taxonomy with its own taxonomymeta table

I have gone through the process of creating a custom taxonomy + admin panel for a custom post type in my site. These taxonomies store various meta data in a wp_taxonomymeta table and use ...
0
votes
1answer
117 views

Display only first level children of my custom taxonomy categories

I'd like to display only first level children of my custom taxonomy categories I'am using wp 3.8 I've something like for my taxonomy "listing_category": Category 1 SubCattegoy1 Subsub category1 ...
0
votes
1answer
199 views

Custom post type (Jigoshop): unexpected value for $category_id (via $term->term_taxonomy_id) on live server

I have hacked together a function to spit out the category description for a Jigoshop custom post type, along with its associated image. (The product_cat image field is implemented by the Jigoshop ...
0
votes
1answer
83 views

How to get multiple Taxonomies not All Taxonomies?

I am building a movie site, here is the codes to get the taxonomies function display_post_taxonomies( $content ) { if( is_single() ) { $args = array( 'public' => true, '_builtin' => ...
0
votes
1answer
180 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
1answer
50 views

Getting the correct value for a post

I have a taxonomy called state which lists all the states. When I create a post I want to select the taxonomy, but also have the name of the state automatically captured in a custom field as well. ...
1
vote
0answers
25 views

Exclude posts which have any term in a certain taxonomy from the query

I have a custom taxonomy, and for a certain query I am doing, I want to retrieve all posts which do not have any terms of that taxonomy assigned (for example, they are tag-less). At the beginning I ...
1
vote
0answers
55 views

Automatically Query Parent Taxonomy

I have a custom taxonomy on my site that I query from the sidebar of the currently displayed term. Say I am on the Term X archives, then my custom post type of Products with the term of Term X are ...
1
vote
0answers
276 views

How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?

Actually i have created a custom post type and fetch the data from "Advanced Custom Fields" plugin after then connect to a custom search-form to search only the post data.It works good. But now i ...
1
vote
0answers
207 views

Using multiple taxonomies to sort Custom Posts

I have a post type that includes a taxonomy for (1) location and (2) a day of the week. I'm using the first taxonomy to sort the posts into groups. Here's the loop I'm using: <?php $terms = ...
1
vote
0answers
74 views

can these 3 queries be re-written as 1 query?

I am creating a Dentist directory site, and I have a taxonomy archive page which requires particular grouping and sorting (see below). So far I have only been able to achieve this using 3 WP_Querys ...
1
vote
0answers
167 views

Query most popular terms by taxonomy over 2 week period

I have written SQL for a query that pulls the most used taxonomy terms for selected taxonomies that are published, do not have a parent post are not in a comma separated list over the past two weeks ...
0
votes
0answers
24 views

Integrating WP_Query with multiple Checkboxes

Ive created a CTP called volunteer_position_cpt ... I've also created two taxonomies for this CPT: volunteer_category (tags) and location_category (tags) My interface: [ ] Category 1 [ ] Category 2 ...
0
votes
0answers
49 views

advanced loop custom taxonomy get posts and tax by country

i have a custom post type name ads and adv categories name ads-cats and adv country called country i listed in the front page all categories and sub categories i want when i select a country the ...
0
votes
0answers
174 views

List post in wp-admin and sort them

this is my first public plugin called Sort posts in taxonomies. With the plugin I intend to list regular posts and custom post_types in the Category(Taxonomy) edit page in wp-admin. Further give the ...
0
votes
0answers
64 views

Query posts filter not working

I have created one custom post type which name is villa. In this post type I have added five post and assigned custom field values(mention bellow): Post Name Assigned Fields 1. Chalet ...
0
votes
0answers
45 views

Hiding an Advanced Custom Field based on Taxonomy Field selection

I am trying to to show/hide one advanced custom field based on the ACF taxonomy field without any luck. I have tried reworking this example a bit to fit my needs but nothing happens. Any ...
0
votes
0answers
15 views

WP query taxonomies not the same as output

I'm trying to build a custom query and I need to include the current category ID. I previously had the WP_Query args as: Array ( [post_status] => publish [posts_per_page] => -1 ...
0
votes
0answers
34 views

Display posts with custom post type and custom taxonomy

I have several different post types, and those post types have the same taxonomies linked to them. When I click one taxonomy, all of the different post types in that taxonomy is displayed. I ONLY want ...
0
votes
0answers
67 views

Display a Page of Results from Multiple Taxonomy Queries

I created a theme for a client with three CPTs and a Custom Taxonomy for each CPT. It is currently set up as CPT > North, South, East, West Each CPT has the same categories > activities, dining, ...
0
votes
0answers
36 views

How to exclude a taxonomy term using url alone

This may have been answered somewhere but I may not be searching for the right wording or my concept is just way off :-) In a nutshell: If I have a url like this: ...
0
votes
0answers
23 views

Filering Custom Post Types Taxonomies

I am relatively new in wordpress and having a problem querying a custom post type.. actually I am a bit confused.. I want to have a filter search for books which are needed for a certain exam.. in my ...
0
votes
0answers
21 views

Can I get parent taxonomy name from term in advanced search plugin?

I am currently trying to advance a plugin that basically creates a form where you add your own required types of data that you would want to be searched. In my form I have a taxonomy and I want to ...
0
votes
0answers
60 views

Tax Query is only showing normal posts, not Custom Post types too?

This has been bugging me for the best part of a day now, so I'm appealing to help in order to calm my nerves. I run a site that has many custom post types. Every post type shares the use of the ...
0
votes
0answers
103 views

Get value from post meta array, and add it as a category

I have a form that performs an AJAX hook that does several things, one of them is that it takes some form fields, adds them to an array, and adds that array as meta to the post that is created from ...
0
votes
0answers
179 views

Adding a query var to taxonomy term archive - gets redirected to the other taxonomy archive page

I want to pass another query var in the URL through a form while I'm on a taxonomy archive page. The URL would look like so ...
0
votes
0answers
29 views

Apply operators AND or OR while passing taxonomy query vars in form multi select dropdown

I want to add taxonomy query vars to a post type archive like so: http://www.mydomain.com/?taxonomy_a=term1,term2&taxonomy_b=term1+term2 how do I control operators in query vars if I use multi ...
0
votes
0answers
59 views

Organize Custom Post Types by multiple Custom Taxonomies

I'm trying to sort a list of publications by type, year and month. I have my query looking first into the "type" custom taxonomy called "document" to list the different publication types. But after ...
0
votes
0answers
40 views

Doesn´t get right information from wp_Query in wordpress using Easy Content Types

Have problems to sort out right information using WP_Query together with Easy Content Types. My query looks like this <?php $query = new WP_Query( array( 'post_type' => 'buildarea', ...