A taxonomy is a generic "category" used to organize posts and custom post types

learn more… | top users | synonyms

1
vote
0answers
73 views

List posts in a category grouped by other categories?

I have posts of stores and restaurants in my area. Each post is marked by category of type (e.g. Restaurant, store) and town. What I am trying to do is create a page for each town (with intro text ...
1
vote
0answers
112 views

URL Rewrite with Custom Variables

I right now have a custom post type with a url structure like: example.com/videos/taxonomyname/ I have a custom variable that I am detecting in the template file to switch layout views which works ...
1
vote
0answers
77 views

register_taxonomy() take much queries

Sorry for my poor English, I'm russian. I have a problem by adding a lot of taxonomies. When I added about 80 taxonomies, I get the following results(without caching): before: 44 queries 0.352 ...
1
vote
0answers
31 views

UI for taxonomies & query vars

I'm building a review category on our site and I'm wondering what would be the best way to build an UI for sorting the reviews. This is how it will be setup: A archive of reviews at /reviews/ The ...
1
vote
0answers
177 views

Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX

I need to be able to do the following: List all terms in a custom taxonomy (categories for custom post type) When a user clicks on a category, a listing of all posts in that category appears When a ...
1
vote
0answers
55 views

How do I list terms of a custom taxonomy at i.e. domain.com/brands/

I have a custom post type 'products' with custom taxonomy 'brands'. My URL structure should be: domain.com/brands - should list the brands domain.com/brands/brand/ - should list products of the ...
1
vote
0answers
132 views

How to get posts which must match both custom taxonomies?

I have searched in the stackexchange site for an answer for this question. However, I did not find any posts can help me solve the following problem: I have 2 custom taxonomies named tax1 and tax2 I ...
1
vote
0answers
288 views

Multi-select field for Taxonomy can't save the value

I'm trying to create a multi select field for Taxonomy pages, and the problem is in saving all the selected values, for example if I choose couple of elements in the select field and save it, it will ...
1
vote
0answers
357 views

Exclude posts with taxonomy term from appearing on home page query

I am really confused about this one, I am usually pretty good at working out basic queries but I can't seem to work this one out. Please see below my index.php query. Now it is not your basic query ...
1
vote
0answers
43 views

new site admin not able to browse categories in wordpress multisite

I am working on wordpress multisite. The site i am working on was coded by someone else and made lots of changes in admin. He also made changes in the capabilities and roles. I created an user and a ...
0
votes
0answers
14 views

Implementing custom post type categories / taxonomy? (theme building)

I'm building my own theme for a small business website. This website has a navbar on top, with a dropdown under "Projects", listing several categories. As of now, I have all of these categories listed ...
0
votes
0answers
8 views

Create a post on registration with title include user first name

I use this code for create a post (-type) on user registeration: function create_new_user_posts($user_id){ $userinfo = get_userdata($user_id); if (!$user_id>0) return; $my_bio_post = ...
0
votes
0answers
19 views

Order posts by term in alphabetical order

I know it's possible to order by terms, but having migrated a huge amount of data from a different CMS, I'm left with a list of brands that are taxonomy terms. I'm using ACF to present the terms as a ...
0
votes
0answers
23 views

Help to fix custom post rewrite + taxonomy. Simple pages show 404

I'm getting 404 for each page. I want to have structure and pages like: url/page-sample url/taxonomy url/taxonomy/custom-post Example of structure (just trying to explain): url/about-us-page url/...
0
votes
0answers
14 views

Taxonomy archive: Query all posts first, and then group by taxonomy term?

I have two taxonomies: 'season' and 'style'. On my 'season' archive template, the following query groups all the 'season' posts by their 'style' term. This works great. But the problem is that I ...
0
votes
0answers
36 views

WP Job Manager - display search results from custom search form in taxonomy-job_listing_category page

i want to ask something about wp-job-manager plugin. i have been already created a taxonomy_job_listing_categoy template to list all jobs from a certain job category. You can see an example here: http:...
0
votes
0answers
33 views

WP Query with sticky posts and tax_query

I have this query; $posts = new WP_Query(array( 'post_type' => 'post', 'posts_per_page' => 5, )); Which correctly places sticky posts at the beginning. However,...
0
votes
0answers
15 views

Display posts in a custom taxonomy, grouped by a different taxonomy

The setup: I have a custom post type called products. I have a custom taxonomy called styles with terms modern, classic, rustic. I have another taxonomy called seasons with terms fall, winter, ...
0
votes
0answers
9 views

Display nested taxonomies with current class

I have a Wordpress site with a Products custom post type (I'm not using Woocommerce as it is not an ecommerce site). The custom post type has taxonomies with 2 levels (top-level categories and sub-...
0
votes
0answers
8 views

Same Permalinks for Custom Post Types and Category Taxonomy

I am trying to figure out how it is possible to use the default WordPress Category taxonomy across my entire WordPress site, including three custom post types that I have defined. I would like to ...
0
votes
0answers
17 views

sub categories and products that are directly assigned to main category not displaying

I have a scenario in which i have a side bar. In side bar all the main categories are displayed. There are also some sub categories that are assigned to main categories. Now i want to display both sub ...
0
votes
0answers
19 views

Taxonomies not display the content

I create a custom post and a page to post a specific content. My functions.php: add_action( 'init', 'create_post_fotos' ); function create_post_fotos() { register_post_type( 'Fotos', array( ...
0
votes
0answers
11 views

Use tax_query to sort posts by most “categories in common”

I know I can use tax_query but what I really want is to sort them by "most categories found that are equal" Is there a way to do it easily?
0
votes
0answers
16 views

Display admin notice on category creation

I'm trying to display a custom admin notice when admin creates new category but can't make it work. My code so far is: function pippin_admin_notice() { echo '<div class="updated"><p>...
0
votes
0answers
28 views

Custom Post Type Re Write not working

I am trying to get my custom post type single.php URL to have the category in it. I am using the default wordpress categories (I didn't register a custom tax.). My current URL (from the base) looks ...
0
votes
0answers
26 views

How to get post count including nested categories

I am traversing through categories using function like this function hierarchical_term_tree($category = 0) { $r = ''; $args = array( 'parent' => $category, ); $next = ...
0
votes
0answers
41 views

Issues with custom taxonomy

Having issue with url structure and pagination for custom post type and custom taxonomies. We have the category page of custom taxonomy working on first page but on others it gives error. Example of ...
0
votes
0answers
24 views

Terms showing empty inside a loop

I have the following problem: I have 2 taxonomies that belongs to a custom post type What i want to do: Loop = taxonomy 1 loop = taxonomy 2 loop = post type My code works but, it shows ...
0
votes
0answers
20 views

Relating two taxonomies together

I'm trying to link two taxonomies together: retailer and category. Each retailer will mostly be assigned to the same category so I thought if I can associate the retailer with the category from the ...
0
votes
0answers
24 views

Permalink custom post type and custom taxonomy

I have problems with making permalinks. I have multiple custom post types. Lets say cpt1 cpt2 cpt3 I have one custom taxonomy with few categories. Lets say : cat1 cat2 cat3 All custom post ...
0
votes
0answers
27 views

How To Create Custom Taxonomy For BuddyPress Activity

I want to create custom taxonomy for buddypress activity post type so admin can categorize activity posts like assigning categories to standard Post type. I can not find any tutorial / article or ...
0
votes
0answers
17 views

I want to add tag id to search query in wordpress

I have a custom search form which get result like this http://localhost/car/?post_type=cars&vehical=sports-car&manufacturer=truck&country=australia&state=new-yourk By using this ...
0
votes
0answers
44 views

taxonomy child term url change

Currently I have custom taxonomy called "client_categories" under custom post type "press_centre" I want to change url from www.mysite.com/clients/client1/image_library_1/ to www.mysite.com/clients/...
0
votes
0answers
17 views

How to include ascendants custom taxonomy terms in WordPress?

Suppose I have selected a term for a product post type in a nested custom taxonomy terms , "Term a": Term A Term 1 Term a (Selected) Term B Term 2 What I would like achieve is to ...
0
votes
0answers
22 views

Display taxonomy child only if parent is current

I have 4 level wordpress taxonomy tree. I want to display as category list and display child only when parent is current category. There is my code <?php $term_list = wp_get_post_terms($post->...
0
votes
0answers
19 views

Search form only for specific post types AND taxonomys

I've amended the default search form to search within only specific post types thanks to the help of a thread on this forum (cant find link now to link to, sorry) - but each post within these specific ...
0
votes
0answers
27 views

Multiple Post Types and Multiple Taxonomies Issues

I have multiple CPTs that all have multiple taxonomies. The problem I am running into is some of the taxonomies are the same between the different CPTs. This ends up resulting the in the same URLs. ...
0
votes
0answers
74 views

Dynamic Multiple Taxonomy & Ajax Filtering

I am dynamically generating some taxonomies and then using the terms to create checkboxes on the frontend. I would like to filter posts depending on what is checked. If multiple checkboxes are ...
0
votes
0answers
30 views

Cutsom post type and Taxonomy page

I have created a custom post type name 'products' and custom taxonomy called 'product_catagory'. The posts are displayed correctly and so is the archive-products.php archive template page I created. ...
0
votes
0answers
33 views

Display all taxonomy if it exist on custom post type loop

I have a custom post type template that has an isotope layout which you can filter. I want the filter to be its taxonomies but only display those taxonomies if it exists on the specific custom post ...
0
votes
0answers
8 views

How to make custom post type permalink read like a page permalink?

I have a theme that uses custom post type permalinks. This is how they look http://coupons4florida.com/listings/dellas-cafe-bistro/ I would like them to look like this http://coupons4florida.com/...
0
votes
0answers
21 views

Multiple Custom Post Type loop logic

In short this is what I want to archive: [template body] - default post title - default post body [custom loop | tabs] - tab 1 -- tab 1 title -- tab 1 content --- related articles to tab 1 by ...
0
votes
0answers
19 views

Exporting tags to cloned blog

So, I've been developing a blog in local, using a clone of a site, same posts, categories, tags, etc. The problem is that meanwhile, the client has created a lot more tags that were not present when I ...
0
votes
0answers
88 views

Woocommerce only show attributes for specific category

I can't work out how to do this. I want to list the pa_country attribute terms for a 'wine' category in the sidebar. I can list all the 'pa_country' attribute terms for all categories, but that is ...
0
votes
0answers
36 views

Submit a Custom Post Type in WordPress from the Front End in Every Category

I want a front-end submission form in my WordPress website. Where this form should be available to each category? I want only two things in the form namely post title and post content. Is there ...
0
votes
0answers
28 views

How do I output “Parent Term / Child Term” of a taxonomy for a custom post?

Inside a custom post (a glossary term), I want to output its subjects (in taxonomy 'glossary_subject'). Some subjects have parent terms. I would like my output to look like this: Parent Term1 - Child ...
0
votes
0answers
23 views

How to make multiple taxonomies hierarchical?

I have 4 custom taxonomies - Board, Standard, Subject, Chapter for my edu blog. I want to make one taxonomy under the other like Board > Standard > Subject > Chapter for listing. I have already been ...
0
votes
0answers
41 views

Get wp_taxonomy_term inside WP_Query throwing an error

I am using Elastic Grid in my site. When I am coding in to the WP it is giving me an error saying K.data(...).split is not a function Here is my code, $(function(){ $("#elastic_grid_demo")....
0
votes
0answers
18 views

Show “Parent Term / Term” in Edit Product Attributes tab - Multiple terms with same name

I have a WooCommerce site which needs to use the same term name in different parent terms under a given attribute. It has to be done this way because of the in-house infrastructure being that way. ...
0
votes
0answers
25 views

Create and Update Terms (parent and child) after save post or meta_values

I'm working to create a site for estate agencies using WordPress. For some reasons, when the post is updated, I need to create and/or update terms for the taxonomy "location" that is used by custom ...