0
votes
0answers
12 views

Add slug current in get_posts( $args );

In my Costum Post Type,I would like to have a list of my CPT (aka "createur") in my current catégory (aka "domaine"), my code is in taxonomy.php Example : ...
0
votes
2answers
22 views

Displaying taxonomy icon outside archive page

Here is my problem. I'm working on a video website and we have different categories for each video. We have setup a custom post type called "videos" in which we use the different taxonomies to ...
0
votes
1answer
30 views

Custom Post Type Categories Not Maintaining URL structure any more

I'm having a really hard time with this... I have a custom post type called "locations" that has several taxonomies for it. I was originally able to get it so that when you clicked on the category / ...
0
votes
2answers
113 views

Filter second dropdown (tax) based on first dropdown (cpt)

I've been googling and attempting this for over a week now with no success. I have a few custom post types (books, films, music etc), and a custom taxonomy (location). On my frontpage, I have two ...
1
vote
1answer
30 views

Display 1 Post per taxonomy with polylang

I am trying to make a loop where I display all my taxonomies with the first post of every taxonomy. It's the taxonomy "customers" and I want to display every first portfolio-CPT of the customer. I ...
2
votes
1answer
38 views

Adding a term name from a custom taxonomy assigned to a post link displayed by a wp_query loop based on another taxonomy

I have registered a custom post type "Animals" and also two custom taxonomies ("Vertebrate" and "Type") assigned to it, which have their own specific terms, for "Vertebrate" it will be "Mammals" and ...
2
votes
1answer
46 views

Custom post type with specific category structure

I have successfully created a custom post type (aka "Instruction") and two different categories (aka "Program" and "Exercise"). An "Instruction" needs to be filed under an "Exercise" and an Exercise ...
0
votes
0answers
29 views

Custom taxonomy from custom post type

Trying to have a set of categories for every custom post type. Book (custom post type) -> category (custom taxonomy) -> Adult / Teenage / Kids Movie (custom post type) -> category2 (custom ...
0
votes
0answers
22 views

Custom Search not working

Can any Wordpress Guru figure out why my custom search form just reloads the page when submitted? I'm trying to create a custom search that uses two dropdowns only (no text input). The first ...
0
votes
2answers
29 views

Custom post type post taxonomies

I created simple custom post type with few taxonomies. I <?php $query_params = getQueryParams(); $query_params['post_type'] = 'client'; if(isset($query_params['search'])){ ...
0
votes
1answer
17 views

Show all post of a taxonomy with one specific term not working

I have a custom post type "restaurants" and a taxonomy "location", so I can get the restaurants for one location by URL. On the taxonomy page for one specific location (CityA) I want to display all ...
0
votes
1answer
34 views

Best way to structure article and issue relationship for CPT

So I've got an area of a new WP site I'm building that has a requirement for an Issue and Articles and I'm not entirely sure on how to structure it correctly. Think of an Issue like a magazine issue. ...
0
votes
2answers
55 views

Taxonomy Grid Archive Help?

I need some help. I would like to make a custom taxonomy archive that shows a grid of the terms(categories) in the taxonomy. I know how to accomplish the grid portion, but I'm having trouble with the ...
0
votes
1answer
27 views

Connecting multiple post types? Or linking “News” posts with “Game” posts how?

I am building gaming news and tutorial website. But i don't know how to link multiple post types with one specific post. For example, i created post types called Games News Tutorials Videos Reviews ...
0
votes
1answer
53 views

Custom Post Type used for FAQs Accordion

OK, so I asked this earlier and no one had any answer for me. I have a CPT for FAQs. FAQs are separated into 'categories.' I need the name of the 'category' then a every post within that 'category.' ...
2
votes
1answer
96 views

Get list of terms of current taxonomy archive for another taxonomy

I have a Custom Post Type named 'Real estate' which has (amongst others) two different taxonomies: 'Purpose' (hierarchical; terms used are 'Living', 'Working' and 'Holidays') and 'Location' ...
0
votes
1answer
30 views

Sort by Custom Post Type (Multiple Loop)

I have changed my set-up slightly to have 2 separate post types "Premium Listing" and "Free Listing" and a taxonomy for Listing_category. Here is an example of my Loop The idea is to display Premium ...
0
votes
2answers
34 views

Variable not working in WP_Query

I have used this technique before and cannot work out why this time it is not working. 'news_category' is a custom taxonomy of my custom post type 'News'. I am getting the taxonomy of the current ...
0
votes
0answers
29 views

One taxonomy for multiple post types or not?

I am working on a website where I have a post type for "products". On this same website a user can find 3 information types about these products. Inspiration Manuals Reviews These are also 3 ...
0
votes
1answer
39 views

Categories and tags for custom post types

I'm having a hard time explaining this, so bare with me. Category and tag links for my custom post type aren't working as I expected them to. Instead of getting ...
0
votes
3answers
120 views

Hide meta box for everything BUT a certain custom post type

I need to retain tag taxonomy for a single custom post type, but am struggling with it. Is there a way to remove this meta box for everything BUT? remove_meta_box('tagsdiv-post_tag', 'post', ...
0
votes
1answer
68 views

How do I display two separate taxonomy archives for two post types that share a single taxonomy?

I have a custom content type, "products", which shares the category taxonomy with posts. We're using posts to discuss and review products. The idea is to have two separate URLs: ...
0
votes
1answer
50 views

Get all the posts from the category in a dropdown list in a custom field

In wordpress I have have a custom post type. Lets say it is movies. Inside movies I have a list of posts with different movie name. Now in each post I want a custom field of dropdown. Where all the ...
0
votes
0answers
42 views

Taxonomy archive page not displaying multiple results

I'd like to have a filter-widget which givs me an advanced search for my custom post types. I tried several plugins: "Query Multiple Taxonomies", "Search & Filter", "Taxonomy Picker" and the ...
0
votes
1answer
50 views

Archive templates based on taxonomies

I have a custom post type, service-provider, with two taxonomies, area and service. I wanted to make a template based on the taxonomies. function template_taxonomy($template) { if (is_archive()) ...
0
votes
0answers
56 views

Cannot get the categories of a single custom post

I'm trying to display in a class all the categories each custom post is part of. So for example the wanted output is : <ul> <li><a href="" ...
0
votes
1answer
17 views

Custom taxonomy query showing more than 4 posts

I have a custom taxonomy query setup that shows posts from the same post type and share the same taxonomy term. The markup looks as follows: <?php $terms = wp_get_post_terms( ...
0
votes
1answer
104 views

Add Taxonomy Values Within a Custom Post Type RSS Feed

I would like to display taxonomies within an RSS feed. I am able to display my custom fields as per Add Custom Fields to Custom Post Type RSS (Thank you to all the contributors of that post), but I am ...
0
votes
0answers
74 views

Query Distinct Taxonomies of Custom Post Type

I have a custom post type called "coupons". These coupons can then be drilled down by "city". City is a custom field that is defined for each individual "coupon". I am then trying to modify a sidebar ...
0
votes
1answer
18 views

Show taxonomies from specific CPT

I want to show a simple list of taxonomies associated with my CPT. The taxonomies are "skills". I have the following code: <h4>Skills</h4> <?php $taxonomy = ...
1
vote
3answers
207 views

Menu Multiple Taxonomies

I have a post_type "products" which has both "Category" and "Brand" taxonomies. Each product has exactly 1 Category, and exactly 1 Brand. I would like to display a menu which first lists the ...
0
votes
1answer
175 views

How to completely disable a taxonomy archive on the frontend?

I have registered three custom taxonomies. All three of these custom taxonomies are attached to my custom post type. There is only one taxonomy out of the three registered, that I would like not ...
1
vote
1answer
108 views

Hide specific parent categories from post edit

I have many custom post types and they all take advantage of wordpress categories. I therefore have several parent categories for each custom post type. Is there a way to hide the other parent ...
0
votes
0answers
71 views

How do I migrate custom post type data to a new format?

I am renovating an old site that has a messy custom post type. Over the years, it has accumulated redundant fields and taxonomies. I have replaced it with a new CPT that reflects the client's current ...
0
votes
1answer
22 views

Using a Taxonomy in Two Spots in a WordPress Post

I have a taxonomy called stocks. it has various items such as 'NFLX', 'AAPL', 'GOOG' I want to be able to assign two things to a WordPress Post: Main stock (only one item selected from the Stocks ...
2
votes
1answer
370 views

Order Posts by Taxonomy and Meta Value

It's possible to order posts by Meta Value. It's possible to order posts by more than one value. And thanks to the code below it's possible to order by taxonomy. But how can I alter the code below ...
0
votes
2answers
37 views

Linking from CPT page to taxonomy.php

I created a CPT which allows the user to add people to the page. I have already created a page template for displaying all people. This page also displays all categories used for people. My problem: ...
0
votes
1answer
138 views

Group list of posts by taxonomy and allow for pagination

There are multiple ways of showing a list of (custom) posts by taxonomy, but none appear to allow for pagination. So, I can easily list all posts like: Page 1 1 2 3 4 5 Page 2 6 7 8 9 10 ...
2
votes
1answer
442 views

wp_insert_term doesn't work with custom post type's taxonomy

Here is the problem I am having: I have a custom post type called "weddingguests" This custom post type "weddingguests" has a custom taxonomy, "friendsof", hierarchic I want to programmatically ...
0
votes
1answer
32 views

insert a taxonomy for a custom post type

I have been created a custom post type and create a taxonomy for it, below is the code which i used to create those: //create custom post type of jobs add_action( 'init', 'create_jobs' ); function ...
0
votes
0answers
47 views

Dynamically generate custom post type title from category

I have a custom post type named "event", for which i disabled the title field. This results in the post to be automatically named "Auto Draft" and the slug "auto-draft-x" How can i automatically ...
0
votes
0answers
147 views

Custom post type with hierarchical taxonomy url structure

Who can help me to reach second permalink structure of my wordpess website: http://www.somesite.com/custom-post-type/some-tax/some-sub-tax/some-sub-tax/post-name/ ...
0
votes
0answers
30 views

Website page structure

How can a get my website link structure like this: mywebsite.com/products/vegetables/carrot Where vegetables is the taxonomy term and carrot is the post slug from the custom post type products. ...
0
votes
1answer
35 views

Archive-posttype.php isn't loaded

I created a custom post type add_action('after_setup_theme', 'cptui_register_my_cpt_packaged'); function cptui_register_my_cpt_packaged() { register_post_type('packaged', array( 'label' => ...
0
votes
1answer
80 views

How to display elements of different post types?

What happens is: I have a custom post type called "placas" and have an associated custom taxonomy called "firmas" and this taxonomy is the terms "LG", "AOC", "Panavox". I want to show a certain ...
1
vote
1answer
179 views

Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms

I am using Isotope to filter posts on the fly from my archive pages. I have a Custom Post Type called "art". On the sidebar, I've created links to yearly archives on my sidebar, i.e. 2014, 2013, ...
0
votes
0answers
11 views

Organize a content site - should I use cpt and taxonomies or the theme?

I have built a content site which includes several types of posts: text article, video post, image gallery / presentation, audio, etc. I am using a theme for the front-end. the theme includes a page ...
0
votes
0answers
41 views

How to add taxonomy into URL of single custom post type

I have the following url of each custom post type Portfolio/titleofcustomposttype Portfolio/othertitleofcustomposttype But, i have already taxonomy for each post, and i want it to be displayed in ...
0
votes
0answers
93 views

Custom post type URL returns 404 error page

I have a post_type called "products" and inside it have two taxonomies "destinations" and "types". Inside destinations i have a list of countries as terms and inside types i have (hotels, cruises). ...
0
votes
0answers
271 views

category_name not working in WP_Query

I have a custom post type and I wanted to show posts just from a certain category but its not working. Here is the code: <?php // Reset post data. wp_reset_postdata(); $photo_group = 0; // For ...