Tagged Questions
0
votes
0answers
14 views
How to Control CSS Class Visiblity From WordPress Admin Panel based on Tax Terms
Can you please let me know if it is possible to control Visibility of some html elements like and which are loading from an specific taxonomy terms meta data? I For Example I have two metadata as ...
0
votes
1answer
12 views
Taxonomy query of custom post displays archive instead of posts
I'm facing a strange issue displaying all posts of a certain type of custom post sorted by their category. The code below to display them works fine locally but when I view the page on the server it ...
1
vote
2answers
19 views
Create permalink structure for one taxonomy archive per custom post type
So, I've been going crazy trying to figure this out. Essentially, I've created two custom post types, 'the_case_study' and 'the_video', with respective slugs 'case-studies' and 'videos'.
I've also ...
0
votes
0answers
14 views
Maintain custom post types and taxonomies in all themes [duplicate]
When I change the theme in dashboard, activated plugins that use custom post types, stay in the menu. But my own custom post types that I created myself disappear. Logically, It is because I create ...
0
votes
1answer
23 views
Control content before and after custom post type loop
I am trying to create a left nav menu that contains a couple of different taxonomy lists of a custom post type. For example, the left menu might look like this...
<h2>New Stuff</h2>
...
0
votes
0answers
14 views
Problem retrieving informations and displaying desired structure with custom post type and taxonomy
I have to create a website with a part concerning houses, grouped by type.
I thought of using custom post type "house" and custom taxonomy "house_type".
function custom_post_house() {
$labels = ...
0
votes
2answers
56 views
Display next 3 posts based on custom taxonomy
I am wondering if anyone could help me accomplish something like this: https://medium.com/thoughts-and-words/5ccef7b3e1fc with custom post types?
I have a custom post type called projects and ...
0
votes
1answer
42 views
Post type archive page not working
I registered a custom post type using Custom Post Type UI, and created an archive page and named it archive-recipe.php, 'recipe' is my custom post type name. But its not working, instead its using the ...
1
vote
1answer
50 views
Plugin fatal error
I'm trying to activate a plugin I made on a network site. I'm getting an error:
Plugin could not be activated because it triggered a fatal error.
I have the debug mode on and it outputs all errors ...
-1
votes
0answers
31 views
Custom permalink to custom taxonomy post
my question is simple. normally post permalinks are [the_permalink, or any page link]. here i have to set different permalinks as their post category. example: post categories[food,drinks,books] here ...
0
votes
1answer
26 views
Looping taxonomy in taxonomy?
So I have a CPT of references (like a dictionary kind of format for music).
In it there are two taxonomies: medium_reference and reference_letter.
The reference_letter lists letters A-Z, while ...
0
votes
1answer
32 views
List the categories under custom taxonomy
I have a problem here, I registered a custom post type and I named it 'recipe'
then I created a custom taxonomy under the post type, I named it 'recipe category'. Now I want to display the of ...
0
votes
1answer
42 views
Custom Post Types Archives and Single Pages not showing custom taxonomy data
I have a custom post type called "Newsitems" that I have registered two custom taxonomies for: "newsitem types" and "news item tags"
I want these two taxonomies' terms to appear almost like the ...
0
votes
0answers
13 views
Custom taxonomy not working after capability change
I have a custom taxonomy, that worked fine. Until I did the following:
Added new role
Assigned a new capability for the taxonomy
Created new post type, and assigned the taxonomy to it (The cpt name ...
0
votes
0answers
82 views
All cats and posts from a custom taxonomy
i'm not new to wordpress templating nor a master. So i've had a problem when i wanted to make a custom list showing all categories and posts under them with a custom taxonomy and post type, like:
...
0
votes
0answers
12 views
how link multiple custom taxonomy posts to specified page
$myquery['tax_query'] = array(
'relation' => 'OR',
array(
'taxonomy' => 'brands',
'terms' => array('ALL'),
'field' => 'slug',
),
array(
'taxonomy' => 'media',
...
0
votes
1answer
69 views
WP_Query order custom post type with certain meta key value by post modified date
I have this query to show custom post type "property", and it works really well but the "orderby" statement, that is completely ignored...
$args = array(
'post_type' => CUSTOM_POST_TYPE1,
...
1
vote
1answer
30 views
Include custom post type in “all posts”
(Working of off an existing team that the client already purchase.)
I have a WordPress install with a couple of custom post types:
portfolio
testimonials
I've set the taxonomy to hierarchical' ...
0
votes
1answer
39 views
Missing categories for Custom Taxonomy and Custom Posts
I'm having trouble seeing why categories are not appearing for Knowledge Base and Articles. What's wrong with this code?
<?php
// Custom post types
/* faq */
add_action( 'init', 'faq_post_type' ...
2
votes
1answer
54 views
How can I add programmatically custom taxonomy terms to a custom type post when saving posts?
Scenario: there is a 'Recommended Books' section on the website which uses the 'book' custom post type and the 'author' custom taxonomy. I'm using Amazon Product Advertising API for retrieving book ...
0
votes
0answers
36 views
Display a custom post type list by taxonomy term
I need to show a list of custom post type classified by terms. The idea is something like this:
Service list:
<ul>
<li>
<a href="#">Webdesign (taxonomy term)</a>
...
0
votes
1answer
55 views
How to setup a single post page for my custom post type?
This my Custom Post Type Code
/* Job Opening */
add_action( 'init', 'create_job_opening' );
function create_job_opening() {
register_post_type( 'job_opening',
array(
'labels' ...
0
votes
1answer
17 views
Query with no terms uses index.php template instead of archive.php
I'm using the Query Multiple Taxonomies plugin to get a page of search results (all of which are a custom post type - car).
If any search terms are added, so the url looks like this:
...
0
votes
1answer
26 views
Disable custom taxonomy on admin bar
I created a custom taxonomy and i want to disable the taxonomy to show on the admin bar below my custom post type. How do i disable it?.
The reason i want to disable is because the user is not ...
0
votes
0answers
31 views
Pagination not working on page
Edit :
Toscho said this was a duplicated question and gave me a link
Pagination not working with custom loop
I checked it out and followed the steps but this is not working for me.
Right now. when i ...
0
votes
0answers
19 views
Listing custom post type items from a couple of custom taxonomies
I know I have asked a similar question in the recent past (Listing all custom post types using a specific term on the said term's template page, in groups), but in this case, the template is more ...
0
votes
3answers
98 views
Custom post type single-{custom}.php not working
I made a custom post type with the machine name special_media_post and wordpress is simply not seeing the single-special_media_post.php. I am at a complete lose. It keeps defaulting to the index.php
...
0
votes
0answers
52 views
Export list of custom post types (filtered by taxonomy terms) to PDF
I have seen some useful plugins on the web like WP Post to PDF and PDF24 Article To PDF which let users export post contents to PDF for offline readings, but my question is how I can export a list of ...
0
votes
1answer
50 views
Custom post type and custom taxonomy archive inaccessible
I've created some custom post type let say:
post_type_1
post_type_2
Those post types are related to each other, every post_type_1 has parent of many post_type_2.
Then I created a custom taxonomy ...
1
vote
1answer
47 views
Display Custom Taxonomy
I am using custom post types in a theme optimized for web radios (custom theme). I added a custom post type called "Radio Shows" and registered two custom taxonomies: one hierarchical (like default ...
0
votes
1answer
41 views
Cant' Display Custom Post Type Title Base on Tax Terms
Trying to list all Custom Post Type titles based on filtered Custom Taxonomy Terms I am getting the list of all post titles instead of getting the list of Queried post.
Here is the code I am using:
...
0
votes
0answers
29 views
How to Display Custom Taxonomies in an Un-ordered HTML List
Having a Custom Taxonomy function like below, can you please let me know how I can list all of my Taxonomies in an unordered html list
enter code here
function create_conference_taxonomy() {
...
0
votes
0answers
41 views
Hierarchy/Relationship and Archive Page for 2 Custom Post Types
I created 2 custom post types: Contests and Battles. Contests is made of several Battles so I need a relationship between those 2.
Contest also has a custom taxonomy called Genre.
So I used the ...
2
votes
1answer
86 views
Custom Post Type / Taxonomy Slug / Post Title with post type archive
I've tried plugins, read through stack and spent hours on this, and I just can't seem to find a way to achieve what I want.
I can achieve the following permalink structure:
...
0
votes
0answers
17 views
Configuring custom taxonomy with permalinks
I have a custom taxonomy that I would like to show up in my URLs. I also have a custom post type that the taxonomy is associated with. The custom post type is set to be a book title. The taxonomy is ...
0
votes
0answers
25 views
How to remove the extra characters passing in the Custom post type
I have created the custom post type and the custom taxonomy. Then I have created the template file in the name of taxonomy taxonomy-product-categories. I created the post type, then added to the ...
0
votes
1answer
29 views
Slideshow with custom post type and categorize with taxonomies [closed]
So I have a problem. I made an custom post type and a taxonomy so I can categorize the pictures.
What I want is to filter pictures for example: category=Frontpage (shows all the items from the ...
1
vote
1answer
42 views
Site Structure Regarding Custom Post Types and Taxonomies
I need assistance with site structure with regard to properly setting up my Custom Post Types and Taxonomies.
I am developing a lifestyle site. It will not be a WP multi-site configuration.
This ...
0
votes
0answers
39 views
How to set custom post type use custom taxonomy slug like prefix in url?
I have create custom post type recipes and custom taxonomy recipe-category. Now url structure is:
for post: /recipes/some-recipe
for taxonomy: /recipe-category/some-category
What I want is this:
...
0
votes
0answers
16 views
Private feedback on users
I am trying to find a way for users to write private/anonymous feedback on each other (similar to ebay or amazon but private, and so that users can view feedback on them and feedback they have sent).
...
0
votes
1answer
34 views
Custom taxonomy archive page not routing?
I have a plugin free custom post type and taxonomy setup - see below. From this I get an archive of the CPT at:
/archives/nomination-archive
If I use the_terms( $post->ID, 'nomination_type' , ' ' ...
0
votes
1answer
25 views
Building a List of Posts grouped by custom taxonomy as the section header only to be displayed if at least one post is in that tax
I have CPT "Dealers" and a custom tax of "States" where each post in the CPT is associated to one state. The hope is to create the header for the state then list each post in that state taxonomy under ...
1
vote
0answers
32 views
RSS feed for dynamic set of custom taxonomies terms
I've got a CPT called 'Job' and three different taxonomies associated with it: location, type (permanent/contract) and expertise.
I've got a filter on the website that allows to search for jobs of ...
1
vote
1answer
30 views
Custom Taxonomy Doesn't Show Up
Have a snippet here that doesn't seem to show up the taxonomy in the CPT edit screen. Not sure what's wrong, both the taxonomy and CPT are registered to each other.
<?php
add_action('init', ...
0
votes
1answer
157 views
Add category base to url in custom post type/taxonomy
I am building an LMS type system in WordPress, controlled by Custom Post types. The post type is called Lessons (with a slug of courses) and it has one custom taxonomy (category) called courses. The ...
0
votes
0answers
23 views
Combining Custom Tax Conditionals and Custom Querys?
The following has a custom post type of features, within that a custom tax called feature-type with three categories, template-1, template-2 and template-3.
Each custom post feature needs to select ...
2
votes
0answers
40 views
Automatically populate a hierarchical taxonomy from a custom field
I've got a vexing how-to that I've not found any help on. I have a custom post type that has a custom field with a date in it (format: yyyy-mm-dd-t). When a post is published or edited, I would like ...
2
votes
0answers
44 views
Add nonexisting pages to navigation
I want to include categories which are listed in a non-native WordPress table to display within the "normal" wp page navigation
(the table comes from WP-Filebase and is called ->prefix .wpfb_cats)
...
1
vote
2answers
67 views
Query for posts in 2 taxonomies
I am currently using the following code to display a list with links to posts in a specific CPT and taxonomy:
<?php
$custom_terms = get_terms('videoscategory');
foreach(array($custom_terms as ...
0
votes
0answers
13 views
link posts to custom post type
I have a custom post type 'books' which I store different custom fields of information about books.
I want to use posts and link the posts I write (in categories such as news, or offers) to the ...




