0
votes
0answers
15 views

Problems with custom post_type and custom taxonomy

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also ...
-1
votes
0answers
18 views

Display Custom Post Type and Custom Taxonomy Data on Front End Using Only a Plugin

Can anyone suggest a good plugin-based, as opposed to template or theme-based, solution for the following that doesn't rely on shortcodes? I have a plugin that creates a custom post type and four ...
0
votes
2answers
39 views

archive-{custom_post_type}.php not getting recognized wordpress

I have registered a custom post type city with 2 taxonomies city_categories and cities. But wordpress is taking archive.php instead of archive-city.php, don't understand where am I mistaking. It works ...
0
votes
0answers
16 views

Paginate custom taxonomy category with wp_custom_pagination

I am trying to paginate taxonomy cities, with custom post type city, the categories that are displayed but failed to understand how can do it with the wp_custom_pagination function. function ...
-1
votes
1answer
40 views

Getting custom taxonomy posts on archive page

Hi I am not sure if the question is understandable or not but what I am trying to achieve I will explain. I have a custom post type called menu item and custom taxonomy called menu item type. CODE ...
0
votes
0answers
16 views

Archive.php is not displaying tags

I have a fairly standard "if" construct to detect what archive.php should display (see below) I also have a custom post type and a custom category. When a user clicks a displayed category (taxonomy) ...
1
vote
3answers
44 views

Adding Custom Taxonomy to WordPress default Post type

I am trying to add custom taxonomy (tags) to WordPress default post type. because I wanna use that taxonomy for custom post type as well. // Register Custom Taxonomy function tag_synchro() { $labels ...
0
votes
1answer
12 views

How to retrieve the permalink for a specific (custom) term?

I would like to display the list of categories related to particular post? <?php while ( $faktory_panes_query->have_posts() ) : $faktory_panes_query->the_post(); $post_id = ...
1
vote
2answers
40 views

Custom Post hierarchical to custom taxonomy

I have created a custom post type and a custom taxonomy. The issue is that I can not make the custom posts hierarchical with the categories it is in. I have the following code, function ...
0
votes
1answer
40 views

Values inside a custom field to determine which category posts to display

I am facing a little problem whilst trying to display posts, from certain categories, on the front end. I've created a custom field whose key is 'related_categories' and I've different categories with ...
0
votes
1answer
16 views

Is there a way to make child posts inherit parent post terms?

I have a few custom posts that go from Parent to great grand children. I assign the parent post a term from a custom taxonomy that I would like for all of the child posts to inherit. Is there a way to ...
0
votes
0answers
24 views

URL/Permalink customization for Taxonomy/Term archive & post

I have a CPT called "Provider", taxonomy called "State" and a term called "Alabama". Is it possible to change the following URL structure from: 1. http://localhost/state/alabama (to view all the ...
0
votes
1answer
33 views

Custom Taxonomy Navigation, with current menu items for children?

Is it possible to have a custom taxonomy navigation, with added active/current-menu classes if the post your on is within that category/custom tax? e.g you have a custom taxonomy called... Weather. ...
0
votes
1answer
60 views

Custom post types category

I have created a theme with a custom post type called 'project' and there is a problem. I want to show 5 different custom post type categories on a page in different portions, like posts to show on ...
-2
votes
0answers
10 views

How to add a user dashboard page?

I'm developing a Wordpress theme for the first time and I don't know how to create a custom user dashboard page, such that when a user logs in via a custom login form, he/she is not directed to ...
1
vote
0answers
55 views

Use custom walker to add taxonomy terms to main nav menu

I created a Custom Post Type: Product and a Taxonomy assigned to it: Products So under that Taxonomy I can add different types of products (terms if i'm not mistaken). When adding new products I get ...
0
votes
0answers
15 views

Template for Taxonomy and all its Terms

Hy! I've searched high and low, up and down, left and right to find an answer. I've tried all that I have found, even the ones that are suggest for the title I wrote. I am working on a theme under a ...
0
votes
0answers
16 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' ...
0
votes
2answers
27 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'])){ ...
2
votes
1answer
14 views

How to get_queried_object on multiple objects?

My Setup I have a custom post type "zap_apartments" with 2 custom taxonomies "zap_audience" & "zap_cities". I wrote some RewriteRules to access all "zap_apartments" for a "zap_audience" + ...
0
votes
0answers
17 views

Custom permalinks with custom taxonomy children show 404 error

I'm having the following problem. I've made a custom post type which is called Products. Products has a slug of "products". I've also created two custom taxonomies. One is Product Category (which acts ...
0
votes
0answers
55 views

Custom Permalinks for CPT causing 404 errors for 'normal' single post pages

I'm having a problem with the permalink structure of a Custom Post Type which is conflicting against the normal single posts (in the 'posts' post type which comes as standard with WordPress). Heres ...
0
votes
1answer
10 views

Custom Taxonomy List, Selection floats to top

I have a custom post type called Slide set up: register_post_type('slide', [ 'labels' => [ 'name' => __('Slide'), 'singular_name' => __('Slide'), ], 'public' ...
-1
votes
1answer
26 views

Custom post type - two taxonomies

I would like to have a page dedicated to gathering plants in nature. So lets say that in march and april it is possible to pick nettle leaves, while in september and october its root should be gather. ...
0
votes
1answer
65 views

Exclude Custom Post Type from shared Custom Taxonomy

I have a few custom post types and two of them are sharing a custom taxonomy. Is there a way to list the terms of that taxonomy for only one of the custom post types? At the moment I can get a list ...
0
votes
1answer
34 views

Get child terms of current term of the current post

I have custom post type "product" and taxonomy is "product_cat". There are two child terms -Music and videos. Under Music i have two more child terms albums and single. Now when i go to music category ...
0
votes
0answers
10 views

Renaming CPT slug when the user access a page from one specific taxonomy

How do I rename a registered CPT slug when the user access a page from one specific taxonomy? I have a custom post type called /package/ and it taxonomies /america/ /europe/ /asia/ /hotel/ An ...
0
votes
1answer
48 views

Multi Parameter search with custom post type category and tag

i have a custom search which will have 3 inputs (dropdowns) , the html code of the form is ready and will use GET in url , now the remaining part is using values from url to run query. Parameters ...
-1
votes
1answer
37 views

Get custom post type where taxonomy..

I am not sure how to fetch specific custom post type where taxonomy is for example february. Generally I'm trying to have custom data based on months. Registering custom post type add_action( ...
0
votes
1answer
24 views

If taxonomy show class of active

I have a nav which I would like to detect if an li should have a class of active or not. I usually do this for a normal page like this: <li <?php if ( is_page('about')) { echo ' ...
0
votes
2answers
33 views

Display custom post type category taxonomy

I have a custom post type and a taxonomy which allows the user to select which category the post is in. Here is my custom taxonomy: add_action( 'init', 'create_talcat_taxonomy', 0); function ...
1
vote
1answer
53 views

Post format alternative?

The client wants to attach one of several "formats" (publication, briefing, press release etc.) to a post. It seems unnecessary to create custom post types as they all have the same fields. As post ...
0
votes
1answer
30 views

Grab all Custom Posts by multiple taxonomies and terms

I have 4 custom taxonomies with multiple terms for a "Members" page. I have a taxonomy of "location" and "organize" that I'm trying to separate into a list. I need to grab all posts by the ...
0
votes
1answer
72 views

Is it possible to make tag archive page specific to Custom Post Type?

I want to create a tag archive page (or template) specific for some custom post type(CPT). I am little new to PHP and Wordpress, by the way. In my environment, I have CPT portfolio and custom ...
0
votes
1answer
50 views

Search Custom Post Type & Taxonomies

The site I'm building has a directory element, which has a lot of different business listings; this is a custom post type. It has a Custom Taxonomy called Trades under which are different types of ...
0
votes
1answer
27 views

Taxonomy archive 404ing (not term archive)

I may have just dug too deep into WordPress lately that I am not able to free my head & don't get this working as supposed to do. I want a simple taxonomy archive listing all taxonomy terms (not ...
0
votes
1answer
26 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
41 views

How to display custom post types AND regular posts separately on a shared taxonomy archive?

I've looked over numerous questions and answers on problems somewhat related to this but can't seem to find the same situation or solution. I have a custom taxonomy that needs to have an archive page ...
0
votes
1answer
49 views

Show Custom Post Type taxonomy term that matches custom field

Not sure how well I can explain this but I will try. I have two Custom Post Types. One is "Locations" and one is "Members." I need to show only the members that belong to the location. "Locations" has ...
0
votes
1answer
16 views

Querying multiple taxonomies in URL leads to wrong taxonomy archive

My problem is very basic but so far I have not managed to solve it so I'll just post it here and hope one of you has got an idea. Basically, I have two custom taxonomies "autor" (writer) and ...
0
votes
0answers
25 views

get link to custom taxonomy for one custom post type when multiple CPT share the taxonomy

post_type-1 and post_type-2 share the same custom taxonomy. How do I generate a link to a page which shows all posts of post_type-1 in that custom taxonomy? I figure that in the end it has to be the ...
2
votes
1answer
81 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
50 views

Taxonomies exists - but not showing up

In the functions.php of my child-theme I created some CPT with taxonomies. add_action('init', 'register_ap_jobverzeichnis'); function register_ap_jobverzeichnis() { global $jobdata; ...
0
votes
1answer
19 views

pre_get_posts causes Custom Posts appear under 'Pages' menu

In order to enable pagination on for custom post archive I've added pre_get_posts function. But, funnily it caused my custom posts be duplicated under 'Pages' menu. Here is the code that causes the ...
0
votes
1answer
61 views

Getting custom taxonomy from custom post type

I have a custom post type called email_block and have a custom taxonomy called block_type. I need to loop through all the email blocks find out what custom taxonomy (block_type) they have. I know how ...
1
vote
0answers
63 views

WP_Query orderby and tax_query

My goal is to have custom posts type's posts (CPT for simplicity) from a custom taxonomy (CT for simplicity) let say CT Hometown with slug Nebraska to be listed grouped by another CT, let say ...
2
votes
2answers
50 views

Custom post types - show specific posts

This is the url: HOUSE 1 I have custom post type "Properties".For each new property, I can select "Property Type", "Property Status", "Property Location" taxomony. This page is using its own ...
0
votes
0answers
22 views

How to add tinymce to normal textareas (in wordpress admin)?

I have custom post type called coupon and custom taxanomy stores. At this page edit-tags.php?taxonomy=stores&post_type=coupon meaning while adding and editing stores I have a field called ...
2
votes
1answer
63 views

Create separate template for shared custom taxonomy with shared terms

I have created custom taxonomy called "product_category", it has been shared with post type "books" and "movies" . So I need to create a different template for both post types. Both the templates' ...
0
votes
1answer
28 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 ...