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

learn more… | top users | synonyms (1)

0
votes
0answers
33 views

Problem with Custom Post type Category Listing Pagination

I am having a really hard time for the past three days getting the pagination in custom post type Category page working. I am using WP-Knowledgebase plugin which uses custom post type. The pagination ...
0
votes
2answers
27 views

WP Query with multiple post types ordered by custom meta date then published date

Two post types blog and events. I want to list in the same query but order events by their event date and blogs by their published date: $args = array( ...
0
votes
1answer
17 views

Understanding the workflow of form creation plugin

I want to create a simple form creation plugin(that is specific for my CRM, that's why i need to create one). The idea is having a "add input" button which lets me chose the type of the ...
0
votes
2answers
34 views

Wordpress custom post type and page

I do using custom post type by lists, "Post_type = color" eg./color My color-archive.php contain just search form. I delete all while loops! I want to expose posts within page templates. ...
0
votes
2answers
32 views

Add multiple custom post type issue

I want to make custom post types in my WordPress site. For that I used the register_post_type method in my functions.php, but why is only one custom post type showing in my admin page? The code is ...
0
votes
0answers
35 views

load custom posts on select option,( wp_query doesn't work for more than 1 object)

I'm trying to load custom posts defined on select form. I registered post type called 'brands', and taxonomy called 'brands_category'. I created a function in functions.php //search for brands ...
0
votes
0answers
29 views

Display posts from several custom taxonomies

I have several taxonomies applied to a Custom Post Type (CPT) and when a CPT post is in several taxonomies the post only is showed in the first taxonomy and not in all taxonomies where is. For ...
0
votes
1answer
29 views

Highlight a Post on archive page if it has a new comment?

I have been searching for a solution to highlight a post if it has a new comment but there is no plugin/forum answer about this. Basically I have a custom post type listings on a page. I want to add ...
0
votes
2answers
36 views

Remove parent slugs from URLs on three customs posts types

Good evening everyone. I have three Custom Post Types and i want to remove the parent slugs from them. $args = array( 'rewrite' => array('slug' => '/','with_front' => true), ); ...
0
votes
1answer
23 views

Validate Custom Post Type fields

I'm developing a plugin, in which the administrator has the ability to add and remove ZIP codes on the backend. I found that the best way to do this is by creating a custom post type named zip_code ...
0
votes
1answer
29 views

Add featured image programatically to custom post type

I am trying to automatically add a video thumbnail from Vimeo or YouTube as the featured image when a new custom post type video is add/updated. The video ID is an advanced custom field. Here's my ...
0
votes
1answer
31 views

Custom post URLs

My normal posts publish into domain/notes/, so for custom posts I can set with_front appropriately so as to not prepend CPT with notes. But is there a way I can then 'push them down a level', so they ...
0
votes
2answers
28 views

One Post with different content, depending on a Page

My goal is to make a user manual WP site for the web app that my company is selling. My issue is that the web app has some differences in functionality for different clients. For example, we have a ...
0
votes
1answer
33 views

issue with custom post type feed

Custom Post type feed url showing the main feed's content. Details: i have some custom post type on my site. I added them to main feed using this snippet function mycustomfeed_cpt_feed( $query ) { ...
0
votes
0answers
26 views

Redirect to an anchor after click update button in a metabox (CPT)

On my Custom Post Type (CPT), I had multi metabox and I need to have some buttons to update each metabox. I use jQuery to trigger the submit event when a different element is clicked (see this answer ...
0
votes
1answer
21 views

Getting a 404 on single custom post type page when using rewrite on a custom taxonomy

I am getting a 404 on my single custom post types whilst using the 'rewrite' option in the custom taxonomy. If I take the rewrite out the single page works but the custom taxonomy archive then 404's ...
0
votes
0answers
27 views

Custom post types not working correctly after site transfer

I just transferred my test site (http://www.thenewblackgold.netsons.org/ ) to a paid hosting on http://www.thenewblackgold.net/. It all works well enough, but on every post and page made with a custom ...
0
votes
1answer
79 views

Creating dynamic filtering on custom post type

My overall goal is to have a custom post type and on the archive page have several different filters in the sidebar, like on a lot of ecom sites. I think this would normally be done in Wordpress ...
0
votes
0answers
17 views

Making Custom Admin Columns Editable

I have a Custom Post Type called 'team'. This CPT has numerous Custom Fields (created using the Advanced Custom Field plugin) of which one is 'day'. I understand that in order to get the 'day' value ...
0
votes
1answer
47 views

Wordpress custom post type rewrite rule matches all pages returning 404

I've created a custom post type with a rewrite to use the grandparent relationship as the URL like so: function cpt_child(){ $args = array( //code 'rewrite' => array( 'slug' => ...
0
votes
1answer
34 views

Rewrite CPT child page URL to support query var

I am having some issues with rewrite rules. I have a URL like this: http://www.domain.com/post-type/parent-page/child-page/section-id Which I want to treat via query vars like ...
0
votes
0answers
22 views

Update post types values from csv with thousands of data without memory limit issue

I have a plugin to download the custom post type values (have managed custom tables to meet the requirements) in csv and also update those post type values editing and uploading the same csv file ...
0
votes
2answers
89 views

Should I make a taxonomy to organize data like this?

I want to organize data on my website the following way. I am not sure how it can be done. Do it need to make a custom post type or taxonomy to organize data like this. Help and guidance will be ...
0
votes
1answer
28 views

How to add a regular page under a custom post type?

I'm building a WordPress website that should have the following structure: Project A (project post type) About (regular page) Location (regular page) Partners (regular page) News (regular page) ...
0
votes
1answer
24 views

How To Display Category list from Portfolio post type plugin?

I'm new from WordPress development. I want to display portfolio category list in my theme, I'm useing portfolio post type plugin what must I do ? what code or WordPress function must implement in ...
0
votes
2answers
54 views

Conditional posts in WP_query for search

I have a custom post type that im trying to limit results in search. The CPT is a deal/coupon, with a start and end date for each of the deals. What I'm trying to do is only show these posts in ...
0
votes
2answers
31 views

Custom Post Type tag taxonomy “Page Not Found”

I have a custom post type that looks like: register_post_type( 'letters', array( 'labels' => array( 'all_items' => __( 'All Letters', 'text_domain' ), 'name' => __( ...
0
votes
0answers
21 views

Display all taxonomy if it exist on custom post type loop

I have a custom post type template that has an isotope layout which you can filter. I want the filter to be its taxonomies but only display those taxonomies if it exists on the specific custom post ...
0
votes
0answers
8 views

How to make custom post type permalink read like a page permalink?

I have a theme that uses custom post type permalinks. This is how they look http://coupons4florida.com/listings/dellas-cafe-bistro/ I would like them to look like this ...
0
votes
0answers
25 views

Insert single CPT items every x posts of another CPT

I know there is something similar already discussed here, but I cannot seem to get my head around this to fit my current project and needs. For a portfolio, on a query of portfolio entries (custom ...
0
votes
0answers
31 views

Dynamically Change Base Permalink Prefix For Custom Taxonomies (Categories)

I'd like to change/modify the permalink structure for the standard and custom post-types and taxonomies, such that the base being prefixed to the permalink dynamically changes for each post-type and ...
0
votes
0answers
18 views

Assigning custom capabilities restricting CPT usage

I want to activate my plugin with 2 or more CPTs. Everything goes fine with 'capability_type'=>'post'. Now I want to incorporate custom capabilities to my CPTs and want to assign 'em to the admin ...
0
votes
0answers
36 views

Search for Custom Post Types with ACF Fields

I've tried a lot of things but back to square one. My latest attempt didn't go so well. I'll try and explain very clearly what I am after. I ended up buying ...
0
votes
0answers
23 views

loop authors with permalinks to posts for custom post type

I have created a custom post type called "adoptions", I have created an adoption-page.php and a single-adoptions.php. In the adoptions-page.php I have loop which displays all the current post from ...
0
votes
0answers
17 views

comment visible only for author post and admin and user comment

i have a custom post called "service" in this custom post i want a possibility to send proposal-comment by user. but i want this comment are visible only for admin + author of post + user that send ...
0
votes
1answer
37 views

Custom Post Type Taxonomy - Permalinks generating, but posts not found

I have a custom post type documenting Treatments available from a clinic. This sits on the Cosmetics part of the website (site.com/cosmetics/). Filters have managed to translate \%type\ for ...
0
votes
0answers
24 views

Featured image in custom post is being disabled

I'm trying to create a custom post as a plugin and so far I'm having some trouble trying to enable featured image on my custom post type. Right now I have created two custom post types but the problem ...
0
votes
1answer
38 views

Remove custom post type slug but keep related category taxonomy permalink

struggling as well with custom url rewriting for custom post type taxonomies. Here is my requirement: domain/mycpt_category/postname/ It's well documented here and in several SE threads removing ...
0
votes
1answer
21 views

Custom Post type sort order not working in the admin area

I have a WordPress site that has a couple of custom post types. None of these custom post types allow me to sort the posts alphabetically or by date in the admin area. I have looked all over online ...
0
votes
0answers
32 views

Reload custom plugin

I'm developing my custom plugin for my client. Its just a local plugin and don't have any intention to publish it to wordpress community. my plugin add some custom post type and when I made change ...
0
votes
1answer
30 views

Change the “Allow comments” text for admin edit screen for custom post type?

I have a custom post type that uses an alternative comments template. I modified the comments template for my custom post type to function like a five star review system. Is there a way I can change ...
0
votes
0answers
48 views

Infinite Scroll & Custom Post Types

I've got a custom post type (in a separate loop.featured.php file) used to display a clients real estate listings on the front page and would like the ability to infinite scroll through them all. ...
0
votes
0answers
20 views

Adding CPT changes entire layout of my site except for the archive of that CPT

I am writing a plugin that adds a CPT called Contest. The problem is that the entire layout of the site is changed when I activate the plugin. The odd thing is that the changes are applied to ...
0
votes
1answer
31 views

How do I set the content for a post of a particular CPT?

I have a CPT called Contest. When a contest is created or updated, I want to manually set the value of the post content to my shortcode from my plugin. I have custom metaboxes that I use with this ...
0
votes
0answers
21 views

Can't pick up a field created with Advanced Custom Fields

I have a situation where: I need to create a custom link per image on an image gallery. I did that via ACF. I have created a text field with HTML outputing so that hyperlinks get converted ...
0
votes
0answers
31 views

Can't combine 'post' and custom post types in same query

I have a totally weird situation! For me, in Google Chrome; this query (used to generate a slider on the front page) produces the expected result (content from all four post-types): $args = array( ...
0
votes
1answer
21 views

Custom Taxonomy is disabled on Edit page

I created a custom taxonomy that it is being used for the product post type of woocommerce. For some reason when you go to the edit screen it is appearing disabled. This is the code that I'm using ...
0
votes
1answer
24 views

Need some suggestion/help with custom post types project

i am working on some project where i have custom post types for management courses. I have create new roles (for users) : teacher and student. Now the quasions is what is the right way to assign one ...
0
votes
0answers
25 views

Pagination custom post type & custom taxonomy

I'm having a problem with my pagination for the category page of my custom taxonomy. This page displays custom post types on the first page of the category. But when I try to go to the second page, it ...
0
votes
1answer
16 views

page not found for example.com/custom-post-name

i have created custom post type: jobs custom taxonomy : jobs_division I wanted url like Custom permalink structure: /%custom-post-type%/%custom-taxonomy%/%post-name%/ I have registered custom ...