The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
17 views

sorting posts (custom_posts) in author page

I want to sort posts (taxonomies) in my authors page, i want to sort them only by there one posts an have the right to edit them. I've try ed select elements but it shows results from search.php
0
votes
0answers
22 views

Filter search result by either a taxonomy1, or a taxonymy2, or both taxonomy1 and taxonomy2

I'm trying to build a search site for non-profit website, where dog owners can find restaurants (in selected city and with selected cuisine type) where they will be let in with their dog. The problem ...
0
votes
0answers
30 views

taxonomy query on front page

I have a custom taxonomy query that fails when the page is set to be the front page. When the page is not set to be the front, it executes without issue. My client has a highly-customized WP install: ...
1
vote
1answer
117 views

Multiple loops on page only show taxonomy name of first loop

I have a page with a custom post type called 'books', with taxonomy 'booktypes'. The books are ordered/divided in a loop per taxonomy-item, and added via shortcode to the page editor like this: ...
0
votes
1answer
29 views

Custom loop - Isolating post meta output depending on current query taxonomy terms

I have started constructing is a page to display a series of products based on certain criteria. Each product is part of two separate taxonomies, one for brand and one for product size (each product ...
0
votes
1answer
25 views

How to have multiple instances of the same taxonomy in a search form

I'm trying to have two separate search fields for tags on a search page on my Wordpress site, but it seems have a duplicate instance of a taxonomy breaks the search functionality. <form ...
1
vote
1answer
37 views

Include posts from feature category in pre_get_posts

I have two custom taxonomy 'cities-taxonomy' and 'userfeed-taxonomy' and I am excluding all the post which has these taxonomies assigned in my blog page using pre_get_post(); Here is my query ...
0
votes
0answers
46 views

Order by (sort) taxonmy fields using taxonmy custom field value

I have taxonomy:-shop_vendor with multiple vendors and every vendor have two radio buttons 1)Wellness 2)Dietitian and each vendor have selected one radio button at list. If i have 6 vendors in ...
0
votes
1answer
65 views

How to show amount of post in a taxonomy with advanced custom fields?

I am trying to display the post count of some taxonomies. I have a custom template that I am showing some taxonomies on. I am using advanced custom fields to assign each repeater field to a ...
0
votes
0answers
62 views

Check ACF fields in foreach custom taxonomy

I currently have a custom post type page set to pull in data that's attached to a custom taxonomy with ACF: <?php $terms = get_the_terms( $post->ID, 'artists' ); foreach($terms as $term) : ...
0
votes
1answer
43 views

How to convert query sql to shortcode in wordpress?

I want to make a shortcode like this [myshorcode:2:drinks], and query-wrangler I have managed to get the following query that shows me 2 products of a certain taxonomy PHP WP_Query: $query = array ( ...
0
votes
1answer
335 views

Taxonomy search/filter with multiple taxonomies and multiple taxonomy terms

I am trying to build an advanced search form that allows users to select from two taxonomy based drop down menus. Each taxonomy drop down has taxonomy terms from which the user can select multiple ...
0
votes
0answers
14 views

Getting associated taxonomies

I am in a bit over my head with this one, so I'm hoping someone can point me in the right direction. Project Background I am working on a project that involves a complete overhaul of a site that ...
0
votes
1answer
47 views

Use Tags to Query Associated Multiple Posts and Get The Average Of Custom Field Values

I have created a custom post type named “Rating” that I’m using to add customer rating sections to my website. Each rating post has the ability to have a: Title Comment section Featured Photo ...
0
votes
0answers
76 views

Removing taxonomy query by pre_get_posts

I would like to remove taxonomy related SQL query part from the main query. I am trying to use pre_get_posts posts_where filter. An example of original not modified query WHERE part: WHERE 1=1 AND ( ...
0
votes
0answers
48 views

Custom Post Type Taxonomies

I have successfully looped through the taxonomies that I set up for a custom post type, and you can see that here: http://www.methodsconsultants.com.php53-13.dfw1-1.websitetestlink.com/tutorials/ ...
0
votes
1answer
5 views

Extend taxonomy term page with other posts

I have a simple taxonomy term page which lists posts connected to a specific term. I would inject some different (not connecting to that term) posts into that loop. I tried pre_get_posts action but no ...
0
votes
1answer
54 views

List posts of terms but exclude one term

I have a Custom Post Type for "Products" with a Custom Taxonomy of "Product Line." I've set up a page to list out the Products by their Product Line. However, we're also using a Product Line of ...
0
votes
1answer
26 views

modify strip_tags function to use term slug instead of term name

I have a small function to get post categories from a custom taxonomy and modify their url, but now I have multi-word categories I need to modify it to use the category slug instead of just the ...
0
votes
1answer
82 views

Get list of CPT posts in *current* post's taxonomy term

I've seen dozens of similar but not quite the same questions - It seems easy enough to do a wp_query and get a listing of posts in a given CPT, and sort by a given taxonomy term. However, what i can't ...
0
votes
0answers
47 views

Taxonomy Archive page extend with children pages

I am having a custom post type named doctors. Doctors have some custom taxonomies like speciality,area and insurance. I want to combine the taxonomies so I can create the following combinationsQ ...
0
votes
0answers
35 views

Combine Different Taxonomies in Permalink

I have 3 different custonomies for a custom post type "doctor", my taxonomies are a,b,c what I want to achieve is to make all the possible combinations of the taxonomies as posts or archives. I want ...
1
vote
1answer
118 views

How to group posts and get a mixed posts and groups view?

Let's say i need to implement the following in WordPress : I have a CPT named 'song' which are single songs from different artists. Sometimes songs may be grouped by albums, but not always. Then i ...
0
votes
0answers
15 views

how to create advanced search [duplicate]

I'm really stuck in this and i cant find any tutorial or article about this topic. How about if we have this pattern for search: [country] AND [category1 OR category2] AND [city1 OR city2] AND ...
0
votes
1answer
102 views

Display sub categories and their data of a taxonomy

I want to output the sub category details of a taxonomy $getTerms = get_terms($taxonomy, $args); print_r($getTerms); When i print the above out it returns the object. But theres no value difference ...
0
votes
0answers
58 views

Pretty permalinks with multiple taxonomy queries

I'm using a plugin called Query Multiple Taxonomies and I can't seem to get pretty permalinks to work on those pages. The URL structure is: ...
0
votes
1answer
41 views

How do you search for a post by custom taxonomy?

I'm trying to search for the latest post that has a custom taxonomy attached to it. I've used the Advanced Custom Fields plugin to add a custom taxonomy called 'brand_post_link' which allows users to ...
1
vote
1answer
53 views

Custom post type templating problem

I have a custom post type named 'product', with taxonomies 'brand' and 'type'. I'd like to have Archive Page A: sidebar with all the 'brand' terms linking to their respective archive page list of ...
0
votes
1answer
212 views

Custom archive page based on array of categories and tags

I'm looking to create custom archive page based on passed arrays which contains categories and tags, for an example: ...
1
vote
2answers
70 views

How to count the number of terms in a taxonomy

I have a custom post type "Services". It has a hierarchal taxonomy of "service-category". Service-category has both parent and child terms. I need to count the number of parent terms in the ...
0
votes
0answers
12 views

User autonomous tags for custom post types

Is it possible to create a taxonomy ( or other ) system such that each user on a WordPress system could have an autonomous tag setup which they could use to order custom posts. For instance: There ...
0
votes
0answers
21 views

Taxonomy structure advice - ZIP Codes and Regions

In a new site I am building I need to have three different custom post types (people-type1, people-type2, events) organized by Region, but searchable by zipcode. For example, a user would type his ...
0
votes
1answer
142 views

tax_query showing no results

I'm creating a music database site with two custom post types: tracks and albums. I've linked the tracks to their respective albums with a custom taxonomy for the album's slug. On each album page, I'm ...
-1
votes
1answer
66 views

Can One Taxonomies Terms be Ordered by A Seperate Taxonomy?

I need some advice. I have a post type called "Movies" for example. Inside Movies, I have two taxonomies: Genres and Ratings Under Ratings my terms are 5 star, 4 star, 3 star, etc. Under Genres ...
0
votes
1answer
85 views

get_term_link is Ending to single.php

I have a template like this: page-movie.php taxonomy-movie.php taxonomy.php and I am using the get_term_link() at page-movie.php to list and link from the indexed page into List of all Custom ...
1
vote
1answer
97 views

How do I taxonomy terms based on terms they are used alongside?

How do I get all of a single taxonomies terms that have one or more particular sibling terms? For example, let's say I have the following taxonomies. Terms are listed underneath the taxonomies, and ...
0
votes
1answer
150 views

get all levels parents from id term

I have a term referenced by $id. The term is inside a tree of levels. rootlevel parent (parent=0) first level parent second level parent ... ... last ...
0
votes
0answers
143 views

WP_Query on “property” in the options table

I'm quite new to WP and I hope this question isn't seen as too specific. It's not entirely bound to my little "pre story". I'd really like an answer to this question for future cases as well. I get ...
0
votes
1answer
71 views

Next/Previous links in custom taxonomy, where item may belong to multiple terms

I have a CPT of 'Projects' and a custom taxonomy term tied to that called 'Sections' (basically the same as 'categories' I just find it clearer to use a different term name on a CPT than on standard ...
0
votes
1answer
124 views

How to query authors by custom taxonomy?

I have a custom taxonomy for users which is country. Is there a way to query all admins by term_id or should I get all users and check each one with a for loop? I tried this: $user_query = new ...
0
votes
1answer
83 views

Exclude specific terms from all queries using posts_where or something similar

Basically what I'm trying to do is exclude all posts that belong to a specific set of terms from showing in any and all queries across the board, EXCEPT when you're actually viewing that post or page. ...
0
votes
0answers
177 views

Get all the terms and pass them as values for a shortcode parameter?

I'm using a WP theme which has the food_menu custom post type set up and the food_menu_categories* as its taxonomy. I'm not a developer, so I apologize if I use wrong terms regarding php/wp/ ...
2
votes
2answers
3k views

How to add images to taxonomies?

Q: Is it possible to add images to all of my taxonomies (default and custom ones)? Note: I do not want to use any plugins (not my favourite solution for design related matters). Usage: I want to ...
0
votes
0answers
18 views

Displaying four post types sharing one taxonomy

I was hoping somebody could help me. I've created a custom taxonomy 'members' that is shared by four post types - posts, pages, resources, and news. I've then added five terms using this 'members' ...
3
votes
1answer
952 views

WP_query taxonomy + get all posts with two terms from same taxonomy

This is a follow up question to Add_query_arg + two times the same argument? I want to get the post count from all posts tagged with 2 different tags from same taxonomy $args2 = array( ...
0
votes
0answers
51 views

Add newly created “genre” taxonomy to front end page

I have extremely limited web development knowledge so please be cool, and sorry if my questions are low level...I do not mean to be rude in any way... I am creating a website ...
0
votes
1answer
99 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
61 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
43 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
2answers
47 views

Loop in taxonomy for terms and post

I'm having trouble getting this to work. I've created a custom taxonomy named article_subjects and am looping thru, displaying each term; but am trying to get the newest post for each term ...