Custom Post Types extend the WordPress back-end to support additional, non-Post content.

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

Querying on a custom post type without tags returns no posts

A theme I'm working on contains a custom post type, "help_question", which is declared as such in functions.php add_action( 'init', 'create_post_type' ); function create_post_type() { ...
0
votes
0answers
4 views

Dropdown switching subcategories portfolio

I have portfolio on my site and i want add dropdown switching subcategories for taxanomy 'potfolio-types' For example: Category A subcategory 1 subcategory 2 etc... when're in ...
0
votes
0answers
8 views

Multiple post types or single post type with category taxonomy?

I am thinking what would be the best approach to this situation. Forgive me if I have used terms erroneously. I can either have multiple custom post types which would display individually on the menu ...
0
votes
0answers
13 views

How to link a custom post type status to the user id

I'm currently trying to modify a plugin : Wp job manager application (addon). It allow user to reply via a form directly to a job proposal. After the user submit form. It's creating a custom post ...
0
votes
1answer
22 views

Custom WP_Query doesn't display all posts

I'm building an options page which allows users to choose three posts and three custom images that display on the site's front page. I am using the Settings API to create a custom WP_Query which pulls ...
0
votes
1answer
26 views

Query custom post type with tags

I created a custom post type named portfolio, and am trying to create a query to get similar posts from the portfolio post type based on if it has at least 1 similar tag. For some reason this code ...
1
vote
2answers
13 views

How to retrieve a custom post's capability?

When you register a custom post type, you can specify it's capability: 'capability_type' => 'page', Is there away to retrieve the capability_type within a page (based on the post object ...
0
votes
0answers
9 views

Publish post and create additional posts with same content

I'm building a site which allows authors to create a custom post type, and optionally elect to create X amount of additional posts with the same content. In this case all the content is meta values. ...
0
votes
0answers
16 views

sorting posts (custom_posts) in author page

I want to sort posts (taxonomies) in my authors page, i want to sort them only by there one posts an have the right to edit them. I've try ed select elements but it shows results from search.php
0
votes
1answer
21 views

Default post_tag for custom post type

Is there a way to set a default post_tag to all posts within a custom post type. I would like all my posts from a custom posts type assigned to one tag displayed in the wp_tag_cloud. Is there a way ...
0
votes
1answer
8 views

Weird capabilities / roles behavior

I've been playing with the custom post types capabilities and some behaviors remains really mysticals for me. The Setup Say you have a Custom Post Type (CPT) called show for defining a radio ...
0
votes
0answers
13 views

Problems with image size on the server Wordpress

I have a problem and do not know how to solve it 've tried everything and nothing ! I have a theme that uses 3 different images to the highlighted image , I'm using add_image_size to generate these ...
0
votes
0answers
2 views

Custom Taxonomies Duplicating Into Each Other When Saving Custom Post

I am having an issue with a custom post type with multiple custom taxonomies. When I add the post the custom taxonomies are saving but the items/terms are also duplicating into the other custom ...
0
votes
3answers
31 views

Custom post type returns bad post ID

I added custom post type and I have first problem. I don't know why but if I use $post->ID, independently of post ID it always gave me the same value. I'm using this function <?php the_post(); ...
0
votes
0answers
14 views

Trimming of post content leading to some open tags that are distorting the page formatting

I am trying to show post excerpt in my page. However, as the excerpts have not been defined by the writer, i am pulling the post content, and then trimming it to certain characters to form excerpts. ...
0
votes
0answers
20 views

how to use two permalinks for one custom post type

I have a custom post type "article" where posts have a permalink structure (www.mysite.com/article/post-name). I need each post in it to have two different templates according to its permalinks: the ...
0
votes
0answers
9 views

How to find URL for post type listing page?

How to find URL for post type listing page I want to get this URL on my post details : http://localhost/wp/ABCPROJECT/stories/amet this is a listing page And this is a it's details page how can i ...
0
votes
0answers
8 views

Get custom meta box in custom post type using tag ID

I have a custom post type called Contacts, and in each of those post I have a custom meta box called number where a phone number is stored in each of the Contacts posts. I also have a custom taxonomy ...
0
votes
0answers
9 views

Grabbing Custom Single Post Template displays WSOD

I'm trying to use a custom Single Post Template & call it via my single.php (It wasn't drawing from single-press.php otherwise) My main goal is to have the Custom Single Posts not display the ...
0
votes
1answer
13 views

How to save custom taxonomy from front end post submission

I have been through many posts on this subject and just can't seem to wrap my head around what I need to do. I have a form where users can submit a post to a custom post type from the from end. I ...
0
votes
1answer
27 views

Custom Post Types,Permalink and Heirarchy

Basicly I want to indroduce a custom heirarchy with custom post types. I Would like it to be like this. The Main Brands URL : http://localhost/brands/ which lists different types of Brands. The ...
0
votes
0answers
19 views

How to build a multiple country WordPress site - pages, posts, and categories for each country?

Is there a best practice in building a multi-lingual wordpress site? There will be multiple content types and taxonomies that will need to be filtered by country. By default the site will display ...
0
votes
0answers
14 views

Adding a CPT to a Custom Themeforest Theme

I am trying to add a couple of custom post types to a ThemeForest theme i purchased and have tweaked a bit and I am trying to get the CPT to pull into the archives and I asked the creator for help he ...
0
votes
0answers
15 views

Create custom field on post from the content

Hello i want to add posts form cvs but i need a custom field for the items marked with red in the image please tell me how to do it
0
votes
3answers
38 views

Sort the main query in subcategories/terms?

I've got a 'downloads' custom post, with his custom taxonomy. The taxonomy has 2 main terms. One of the 2, has 4 sub-terms. I'm currently using the wp templating system to get a standard wpquery of ...
1
vote
1answer
30 views

Convert simple SQL Query to WordPress query

I'm trying to 'batch' update the value in my post_parent fields in my wp_posts table. I can do it from within phpmyadmin using the following SQL Query: UPDATE wp_posts SET post_parent = '8' WHERE ...
0
votes
1answer
23 views

Hide text if query has no posts

I'm using a custom query to display events CPT inside another CPT. The given query has a section title, which I don't know how to hide when there are no events. I've tryed to include the section ...
0
votes
1answer
25 views

How to query Posts from a custom post type which contains a custom taxonomy?

I have the following: $queryResponse = new \WP_Query(array( 'post_type' => 'portfolio', 'tax_query' => array( array( 'taxonomy' => 'portfolio_date', ...
0
votes
0answers
11 views

Dynamically filter custom post types in Gravity Forms based on previous field value [closed]

I am setting up a cruise review website. I have 3 custom post types, cruise lines, cruise ships and cruise reviews. Cruise lines and cruise ships are CPT-onomies, linking the reviews to the ...
0
votes
0answers
23 views

Post being updated as draft/pending instead of being submitted/published when using JS/AJAX validation

I'm using code from this answer to validate some fields for a custom post type before it's submitted for review as well as it's published. Here's my code - //AJAX to validate allocation request ...
0
votes
2answers
28 views

hide old events custom post type

Hello all i am struggling for days now, and i hope one of you can help me i have a custom post type called events and i like to show only events that date is today and upcoming but i couldnt get it to ...
0
votes
1answer
22 views

Send post changes to set email addresses (not users or subscribers)

What I have I am using the "The Events Calendar" plugin on my site to coordinate a team of employees. I want to be able to send an automated email containing the body of an event post (post-type is ...
1
vote
1answer
21 views

Get all of user's custom post types in WP Admin for plugin

I am making a WordPress plugin and hit a rough point. I'm trying to make it so a user can select from all their post types, including custom post types. The code I have below shows the post, page, and ...
0
votes
0answers
6 views

How can I have a custom post type titled “feed” and have the urls work?

First of all if you think this is something one definitely shouldn't do go ahead and tell. I want to separate my site to two blogs, one will be titled "UX Blog" and another just "Feed". But of ...
3
votes
1answer
50 views

Why is the »_builtin« parameter not advised in »register_post_type()« for custom post types?

The parameter "_builtin" => true is a huge help for me, as this will set good permalink structure, like standard posts, for example: example.com/my_category/sub_category/POST-NAME instead of ...
0
votes
0answers
8 views

How to add base permalink to custom posts?

I am having a hard time understanding how custom posts work. I want to achieve the following: Post: /blog360/2015/07/25/hello-world /blog360/category/programming /blog360/tag/wordpress ...
-1
votes
1answer
23 views

Conditional statement checking two conditions for CPT and Custom Taxonomy [on hold]

I am trying to write a conditional statement which checks if the single custom post type also has a custom taxonomy term associated with it. My code is: if (is_singular('my_cpt')) && ...
0
votes
0answers
22 views

Have a WordPress page with same title as custom post type “front” slug

I have a custom post type djs and a custom taxonomy city with two terms: boston and nyc. So a DJ can either be tagged as Boston or NYC. DJ profiles (a single djs post) are located at ...
0
votes
1answer
19 views

Cannot retrieve Custom Taxonomies (Disappeared)

I was deleting custom posts from backend (wordpress dashboard). I have made a front-end form for a custom post type, it has check boxes for custom taxonomies. Now the taxonomies are not being fetched ...
0
votes
0answers
33 views

Custom Post Type Settings page, choose page to display archive

So, I followed the accepted answer of this post Possible to add another setting to 'Front page displays' setting for Custom Post Type but didn't entirely work, had to compare against the ...
0
votes
1answer
14 views

Custom post type permalink: only use %post_id% and remove %postname%

I have created a custom post type in Wordpress which is working great. The only thing I need to solve are the permalinks created by this CTP. I currently have: ...
-1
votes
0answers
14 views

Rewrite Rules for Custom Post Type Taxonomy Archive by Date

I am looking t this page here and it works pretty well for standard taxonomy archive rewrites and custom post type date archives. Archive page for custom taxonomy grouped by month How would I make ...
0
votes
0answers
4 views

Path of index page for modify my text (old version Weaver by WPWeaver.info theme)

i have a web site by an olp version of Weaver by WPWeaver.info theme, actually is inpossible login for modify the text in home page. i ask you: what is the path in folders WP for modify by FTP?
0
votes
0answers
13 views

Displaying PODS data in slider

I am working on a site that has already been created. The site uses PODS to create custom post types. One custom post type is "spotlight" which features certain people. I am trying to display ...
0
votes
0answers
9 views

How To Add Custom Meta Field Select/Radio Box to Post List Bulk Edit Mode

How can you add a radio fieldset to a custom post-types post list bulk edit screen for a custom meta field? Please provide in depth code example and explanation and thanks in advance. The ...
0
votes
0answers
21 views

Add a meta to custom post type which corresponds to a particular taxonomy

I'm developing a front-end for a project in which I have a custom post type with a custom taxonomy. I want to add a meta value which corresponds to that taxonomy for that custom post type object. ...
0
votes
0answers
19 views

How To Sort and Filter Admin Custom Taxonomy Columns

I have a custom post-type with associated custom-taxonomies – how can I make these custom taxonomies sortable in the custom post-types admin/list view header (similar to how dates is sortable)? ...
0
votes
0answers
12 views

Order Custom Post Type by Custom Field - Genesis

I have created my own custom post type and taxonomies with Custom Post Type UI plugin. With Advanced Custom Fields plugin I create custom fields for my Custom Post Type. I'm using WP All Import to ...
-1
votes
1answer
20 views

Automatically add custom taxonomy when meta value gets to a set number or beyond

Is it possible to add a custom taxonomy to a post when a meta value gets to a set number? Im trying to get it so once my post_views_count gets to 150+ it then gets the custom taxonomy trending added ...
0
votes
1answer
23 views

Get child categories of custom taxonomy category?

I am using custom post type : portfolio and have taxonomy for that portfolio_category. I need to get sub categories for a particular category using the above custom taxonomy. In short, How can I get ...