Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
2 views

Combine categories with countries taxonomies

I want to make a job listing website. Where the visitor at first select his country/location this browse categories (which is associated to this country). I thought about creating a parent category ...
0
votes
0answers
15 views

Custom Post Type URL

I have big problems get the result with my custom post type and taxonomy I have made. I have read a lot in the questions and tried also many, but don't know where to find the solution or where to ...
0
votes
1answer
13 views

Custom taxonomy (categories) on custom post type return no results

Hi everybody and thanks in advance for helping. I am experiencing a problem with the categories I have created for my custom post type: when I click on the URL of the category (every category) I get ...
0
votes
3answers
14 views

How to add upload field in a custom taxonomy?

I have a custom taxonomy and I want to add a custom field inside , ok that's seems to be easy but the hardest part is when I want to add a file input type the enctype="multipart/form-data" I ...
1
vote
0answers
24 views

What is actually taxonomy in wordpress?

What is actually taxonomy in wordpress? How and where exactly I can use taxonomy. I have read many google search about it but need someone to just explain in little simple language.
-3
votes
0answers
12 views

Wordpress theme with inbuilt feature of search and filter post by taxonomy [on hold]

I am looking for a wordpress theme that has internal support for search and filter post by taxonomy. Something like what has been implemented in this theme but this theme has been specifically ...
0
votes
0answers
11 views

Native Category taxonomy used with multiple post types show wrong numbers of posts attached to it

I have two custom post types i.e. Deals and Articles and both have native category attached to them. I then created multiple Deals and attached different categories to it. It all worked fine and ...
0
votes
2answers
22 views

get_terms: determine if taxonomy term has children

I'm looking to determine if a taxonomy term has children. See the below markup and I'll explain what I mean: <?php $terms = get_terms("wpsc_product_category"); if ( !empty( $terms ) && ...
0
votes
0answers
12 views

Allow users to label or classify or group posts accoring to their own criteria

Is it possible to allow individual users to group posts according to their own personal classifications. Say one user wanted to class groups by read and unread ... or 'to read' or 'shared' etc. ...
0
votes
0answers
11 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
2answers
29 views

Function to remove archive sidebar for custom taxonomy?

I have a custom taxonomy/custom post category and I'm trying to write a function, which removes the sidebar from the archive pages, only when there's a (custom) taxonomy match. The match part isn't ...
0
votes
0answers
14 views

Hierarchical relationships with different custom taxonomies [duplicate]

I have a custom post type: Cars and two custom taxonomies: Makes and Models. I already created a front-end post submit form using those three elements but as you may imagine from the title, I want to ...
-3
votes
0answers
13 views

Print Friendly Prints Wrong Data

I want to use print friendly in products. I have a page jump but I need it to be just in the itinerary part. You can see what I'm talking about here. It keeps on just printing the description instead ...
0
votes
1answer
11 views

Organize content by month? SQL statement?

Using custom content types and custom fields with a pretty standard setup to post the content to the page. Where I'm having difficulty is trying to organize this content by date. I have a field ...
3
votes
1answer
23 views

Modify Term Update Redirection

Whenever I update a term it currently redirects me back to the edit-tags.php page for that taxonomy, the term list. Is it possible to instead of redirects to the term list to instead bring me back to ...
0
votes
2answers
16 views

Echo post count of CPT with current taxonomy

I have a CPT called 'Athlete' and a Taxonomy called 'School'. Two sample terms have been added called 'term1' and 'term2'. When a user views the archive for any of the 2 terms (taxonomy-school.php), ...
-3
votes
0answers
17 views

Manage “objects” in Wordpress? [closed]

I've gotten a project where the only requirement is that I develop their website in WordPress. The purpose of the site is for the members to manage test subjects. We already have all the subjects in ...
0
votes
2answers
66 views

How to get a list of term names of the custom post type im currently on in single.php

Ok so I have a custom post type of "Products" and a custom taxonomy of "Types". Now in the types taxonomy I have dozens of categories and sub categories assigned to custom post types. Custom Post ...
1
vote
1answer
41 views

How to return only one instance of each, from the entire loop

I´m adding a filter function in a taxonomy archive template. The intention is to add URLs for filtering in a sidebar, and i want it to return a set of ACFs like zipcode etc... (postnr in this example ...
0
votes
2answers
32 views

Get posts by category name

I'm having a terrible time trying to figure this out. I've registered a custom taxonomy (clinical-programs) and like to list all the PAGES that are assigned to particular page(s).
0
votes
0answers
19 views

How to add a taxonomy into admin menu

I've added a admin menu by add_menu_page function. How can I add a taxonomy in this menu as a sub-menu? If it's impossible, How can I change layout of custom post type?
0
votes
1answer
26 views

How to get a query odered by N of matching taxonomies?

How can I get a wp query that is sorted by how many tags (in my case) match a specified list? I want to retrieve a list of posts that match the category of the current post (which is a plain filter) ...
0
votes
2answers
18 views

List all taxonomy terms / Show links if posts are attached, else names

I'm looking for a way to list all the terms from a custom taxonomy. Only the terms that have posts attached to it should have links to the archive page. If there are no posts attached it should only ...
0
votes
0answers
15 views

Pages hierarchy: Category or Parent?

I understand that the Wordpress default is to have Posts organised in Categories and Tags, and Pages in Parent>Child relationships. Now I can make Categories available for Pages, in which case I can ...
0
votes
0answers
9 views

How can add posts without category into category

I have some posts in my wordpress without category, Its above 2000 article, So i need to add this article into category that name is " News "
0
votes
0answers
11 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
23 views

Simple term-archive-linked Taxonomy Entry output

I've registered a Taxonomy named "type" and linked it to the Custom-Post-Type "group". I simply want to output term archive-linked entrys of the Taxonomy "type".
0
votes
1answer
38 views

Custom Post type is being ignored in query

I have a custom post type called "results" and on my single results page I want to perform a second query after the main loop. The second query is as follows: $myquery = new WP_Query(array( ...
0
votes
0answers
10 views

Get List of Taxonomy terms used in another taxonomy term [duplicate]

I'm using WooCommerce for WordPress powered cars store. I've registered new taxonomy called "car types" which contains terms like: "new cars" and "used cars". I want to query the "product_cat" terms ...
0
votes
1answer
23 views

Wordpress taxonomy child image

I've set up a hierarchical taxonomy. Each taxonomy has an image field I'm trying to output the title, image and link of child taxonomy on their parent page. I've managed to output the title and link ...
0
votes
1answer
22 views

Taxonomy template by post type

I have 2 custom post types that share a taxonomy. The taxonomy template of my taxonomy ( taxonomy-my_tax.php ) will query both custom post types. Is there a way to have a taxonomy template for each ...
0
votes
0answers
29 views

problem in taxonomy-{taxonomy}.php pagination

my custom taxonomy is: $image_labels = array( 'name' => _x( 'تصویر', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'تصویر', ...
0
votes
1answer
40 views

Is a custom post type considred a plugin?

I am reading up on custom post types and taxonomies. I am new to Wordpress development, and just trying to get a firm grasp on custom post types. Upon creating a custom post type: <?php /* Plugin ...
2
votes
2answers
80 views

Consolidate Metaboxes into 1 Big Metabox

I have a post type with 7 (count it SEVEN!) taxonomy tag boxes. By default, the only options to display these metaboxes are - 7 small metaboxes on the right side stacking or turn these tag metaboxes ...
0
votes
1answer
55 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
36 views

How to loop through 1 CPT with 2 Taxonomies

I have a CPT (Products) which has 2 taxonomies (Industry and department) I have the loop which delivers a "Product by Industry" which works Industry 1 • result 1 • result 2 Industry 2 • result 1 • ...
0
votes
2answers
51 views

Taxonomy - Exclude post format from showing on page

Im trying to set up a taxonomy to hide a post_format on a particular page. I have created the below which stops that post_format from displaying on the page but it also hides it in the 'Posts' page ...
1
vote
1answer
75 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
29 views

List all posts from custom post type by taxonomy

Having custom post types with taxonomies. Lets say I have a custom post type "Products" with taxonomies "new", "old", "fashion". Now I have a Nav where I can click on ...
0
votes
0answers
26 views

sharing slug between taxonomy and custom post

I am having trouble getting the relationship between a custom post and assigned taxonomy to work. The custom posts are clinics, the taxonomy is the location of each clinic: ...
0
votes
1answer
24 views

Custom Taxonomies not appearing in Admin

I've made a plugin of a custom content type and taxonomy. The CPT is showing fine, but the Taxonomies are not. There's a lot of code, but the taxonomy information is parsed below: Full code can be ...
0
votes
1answer
20 views

Get Custom Taxonomy Terms by Date

I'm trying to get a list of custom taxonomy terms by date (or possibly slug). What I need is the NEWEST term and it's permalink in a custom taxonomy. I've been trying the code below but it's returning ...
1
vote
2answers
35 views

Get posts under custom taxonomy

I am not getting the posts under custom taxonomy(fabric_building_types).I am getting cat_id and cat->name also but not able to get the posts. $args = array( 'type' => ...
0
votes
1answer
46 views

How to get selected taxonomy or category ID if using custom walker?

I'm building a taxonomy->child taxonomy dropdowns where the child will only be active if the parent is selected. Everything works great, except that I'm using wp_dropdown_categories for the parent ...
0
votes
0answers
16 views

Removing search base url

Is there a way to remove all slugs from wordpress url (category, tag, author, date AND search!)? (so that something like http://example.com/search/foo would be rewritten to http://example.com/foo) I ...
0
votes
0answers
20 views

Show most recent post from taxonomy

I have a custom taxonomy called "crimes_taxonomies", and I have taxonomies inside of that taxonomy. If I would like to show the content for only the most recent post in a specific taxonomy under the ...
0
votes
1answer
14 views

Display Custom Column in CPT Taxonomy

I am trying to add a column to one of my custom post types, but only on the edit taxonomy page. I have a taxonomy registered called "event-categories" for my custom post type "events". I can ...
0
votes
1answer
19 views

Change existing taxonomy settings when using custom taxonomy

For a plugin I have created a new custom taxonomy for attachments using the function register_taxonomy() and parameters like "show_admin_column". When this parameter is set to true, it shows the ...
0
votes
0answers
18 views

How to create archive page for items in custom taxonomies within custom post types

I'm working on building a portfolio system that's setup with a custom post type (portfolio_items) and a custom taxonomy (portfolio_category). One of the portfolio categories is called "Branding" and ...
0
votes
1answer
48 views

How to Set Taxonomy Object Description?

I noticed when dealing with Post Type Objects (Using get_post_type_object();) and Taxonomy Objects (Using get_taxonomy();) there's a property called "description". How do you set this description ...