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

learn more… | top users | synonyms (1)

0
votes
0answers
8 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
11 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
9 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
2answers
19 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
23 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
19 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
22 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
9 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
14 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
22 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
18 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
17 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
0answers
31 views

Why “_builtin” parameter not advised in register_post_type()?

The parameter "_builtin" => true is a huge help for me, as this will set good permalink structure, like standard posts.. i.e: example.com/my_category/sub_category/POST-NAME instead of ...
0
votes
0answers
6 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
15 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
19 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
17 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
27 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
12 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
10 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
16 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
9 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
17 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
18 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
10 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
14 views

Create custom comment system [on hold]

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
31 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
15 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
60 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
21 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
24 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
21 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
17 views

Query posts by category and tag_id [on hold]

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

How to get the intersection of two terms both from different custom taxonomies

I have a custom post type listing Then there are two custom taxonomies job_listing_region job_listing_category On home page i have links to job_listing_category like shop,eat,stay etc. and job ...
0
votes
0answers
9 views

Best way to filter posts being displayed on the fly

I got the following post structure: The search box is to illustrate what I want to achieve. CPT Videos: Videos being displayed in the image. CPT Artistas: Another post type for the artists. ...
-1
votes
0answers
21 views

Data from my meta box in custom post not displaying [closed]

I can't display my data from my meta box that I created in custom post in my custom page. Here is the code
0
votes
0answers
9 views

WP_Query filtered by simple checkboxes

I'm trying to build a WP_Query with specific filters, i.e., checkboxes and radio buttons. The checkboxes will filter the meta-data linked with my custom post type. The meta-data is the location. And ...
0
votes
0answers
27 views

Create a Dropdown from Custom Post Type

I want to create a dropdown box that populates from my Contacts custom post type that I created. In my Contacts post I also created a meta box called Phone which stores a phone number. What I want to ...
0
votes
0answers
17 views

Redirect to different template other than single-custompost.php

I have a custom post portfolio . On test page there are featured images from the custom post When i click on the featured image a popup opens for each post and there is little description and a read ...
0
votes
1answer
16 views

Easy reading or transfer of data from posts?

Plugin usually transfer data using code like [espro-slider id=21] , is there a short way to read it or do they use regex to read it. If not is there a short way to define variable in post and use it ...
0
votes
1answer
29 views

Change title in head on Archive page

I'm having problems with figuring out how I can change the title on my archives pages. I now have a title like this: <title>Jobs Archive - The Company</title> But I would like to have a ...
1
vote
1answer
26 views

Post Rank on Single Post page based on custom field

As per my previous question. How to show posts rank based on custom field value It works perfect on homepage as I wanted. Now I want to show the same rank in single post pages also.
0
votes
0answers
6 views

Display existing admin list table for custom post type in another location without recreating it

I have two custom post types; Inventory and Jobs. I have customised the columns displayed in the Inventory admin list table (ie. wp-admin/edit.php?post_type=inventory) to display relevant fields Is ...
0
votes
0answers
14 views

Post_title is only updated every other time

I have this piece of code which seems to work every other time, it is very weird. I have made a custom post type, and used the ACF plugin to create a field that now with this piece of code functions ...