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

learn more… | top users | synonyms (1)

0
votes
1answer
6 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
10 views

Problems with image size on the server

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
27 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
13 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
19 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
7 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
12 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
18 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
23 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
10 views

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

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
20 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
19 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
47 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
7 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 ...
0
votes
1answer
19 views

Conditional statement checking two conditions for CPT and Custom Taxonomy

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
18 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
31 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
13 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
12 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
8 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
20 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
18 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
20 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 ...
0
votes
0answers
25 views

Custom Post type and Taxonomy in post URL error

I have added a custom post type and assigned taxonomy to it by following this tutorial: Custom Post Type / Taxonomy Slug / Post Title with post type archive I have two terms in custom taxonomy . ...
0
votes
0answers
11 views

Pagination of custom post type leads to 404 error

This seems to be common issue, and there exist a lot of posts about this issue but none of them works for me. I have a custom post type (portfolio) with a page pagination. $paged = ...
0
votes
0answers
15 views

Create custom comment system [closed]

I need to create custom post type with custom comment form without change anything in a default comment system and add page in wp-admin to manage the new custom comments I want to use the default ...
2
votes
1answer
34 views

Get taxonomy description based on variable

I'm trying to display a taxonomy description based on which taxonomy the page is set to display (set with a variable) As it is, I'm only seeing the first description, regardless of which category ...
0
votes
1answer
17 views

Pagination for custom post types - url rewriting

I'm working with custom post type, that I want to paginate, here's part of code, initializing custom post type: $args = array( 'labels' => $labels, 'public' ...
1
vote
1answer
62 views

Archive page for taxonomy of custom post type

I am building a template for archive page of custom post type's taxonomy. Basically I have to show according to month like August 2015 July 2015 To display above, I have used filter below: ...
-1
votes
0answers
22 views

pre_get_posts and meta_query to display forthcoming events [on hold]

I'm using pre_get_posts to target a specific custom post type archive page to display the forthcoming events. After trying several "combinations" it doesn't work - it displays only one post or none ...
0
votes
0answers
25 views

Custom post type archive pagination 404

EDIT. I found the culprit causing my issue. I had the following code to change the pagination slug to "sida" to reflect the site language. It works well for blog posts, but it does not work for custom ...
0
votes
0answers
22 views

Fill form from Dropdown

I've a dropdown that have bunch of contacts that I populated from my custom post type and I also have a <textarea></textarea> that I want to fill from my dropdown when an option is ...
0
votes
0answers
18 views

Query posts by category and tag_id [closed]

I have a query which looks like this: <?php $args = array( 'post_type'=> 'user', 'showposts'=> -1 ); $users = new WP_Query($args); echo '<pre>' ...