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

learn more… | top users | synonyms (1)

1
vote
0answers
16 views

Added Custom Post Type and the View Option Doesn't Work

I would like some pointers on fixing the Permalinks structure for a custom post type I added. Like many Custom Post Types this plugin uses the Custom Type Meta Box, and sets a featured image. All of ...
0
votes
1answer
18 views

Add taxonomy to already registered custom post type

I want to add taxonomy to already registered custom post type. Is it possible or I have to delete and create that custom post type again??
0
votes
0answers
18 views

Assigning Terms in Taxonomy to Custom Taxonomy

I had a site with posts, in which I exported posts and imported those posts as a CPT (Junior) in my localhost installation. For doing this, I opened the .xml file (export file) and replaced every ...
0
votes
1answer
9 views

Array to string conversion error when trying to POST multidimensional array

I am getting the following error notice: Array to string conversion in /path/to/wp-includes/class-wp.php on line 281 I have a form that is for frontend submissions to create custom post type posts. ...
0
votes
1answer
39 views

Display all posts in category, with specific tag posts at top

I am trying to show the all Posts in the Category with the specific tag posts at the top. For example:- I want to show all the Posts in the Category 'CAR' Now, I want that when i Click On 'CAR' ...
0
votes
2answers
35 views

Slider from custom post type

I am making one custom slider where admin can add slider image from back end. I am doing it with the help of custom post type. function.php // Custom Post types for Feature project on home page ...
0
votes
1answer
19 views

Custom Post Type Archive Links Not Working

I have multiple custom post types set up. I've been through this process many times, on many sites and have never once had a problem with it. The post type is registered as 'glossary'. The archive is ...
1
vote
2answers
163 views

Why declare $post globally?

I'm new to Wordpress development and am seeing examples everywhere that have a line to declare the $post variable explicitly via: global $post; But I've tested my uses without that line and it ...
0
votes
0answers
12 views

Custom posts permalinks for same post name posts

I have an events custom post created on my site. Most of these custom posts are doomed to have the same post name, because I will have the same event name on a different date. For example, I have ...
0
votes
0answers
7 views

Displaying Custom Post Type on Page with Same Title

I'm building a sports blog. I have a custom post type called conference. Each conference post contains HTML that is displays the team logos horizontally on my team custom posts as shown in the ...
0
votes
0answers
24 views

Cannot open custom post in single-(custom post).php

This is my custom post function create_post_type() { register_post_type( 'team', array( 'labels' => array( 'name' => __( 'team Items' ), ...
0
votes
1answer
13 views

List custom post types in metabox

Is there a function to list all custom post types in a metabox? I have wp_list_pages( $args ); to list the pages in metabox but now I need also to list all custom post types. Thanks for advices
0
votes
1answer
48 views

Selecting posts older than the current Unix epoch timestamp

I am trying to perform the following query, which originates by the fact the post's 'date' and 'time' are entered as separate custom fields. $args = array( 'post_type' => ...
0
votes
1answer
19 views

Limit number of posts under a post type?

I'm building a plugin that registers a custom post type. I'm looking for a way to limit the number of these types of posts at which point the user can no longer 'Add New' posts to this post type. Is ...
0
votes
2answers
46 views

Problem with wordpress query on page using custom fields

I have a website with the custom post type sammenligne, along with some customfields made using Advanced Custom fields. I have modified an archive site (archive-sammenligne.php) which displays the ...
0
votes
2answers
29 views

Redirect Custom Post Type after user submits update

I have a function for a custom post type that redirects NEW posts to a specific url after they are submitted by users: function tribe_redirect_after_community_submission( $wp ) { if ( isset( ...
0
votes
0answers
25 views

Querying and Ordering Hierachical data

I am developing a WordPress site that requires the display of song lyrics. Here's the archive data that needs to be displayed: [Released 2014] - Album Title [Track 1] - Song Title [Track ...
0
votes
1answer
28 views

Where is the sticky post option?

So I finally need to include sticky posts in a theme but it looks like the feature is gone. When I create a new post, and click "visiblity", the sticky option is missing. I checked a couple other ...
-1
votes
0answers
17 views

Pagination not working

I am using the following code for pagination but its not working .Please help me out and tell that what is it that i am doing wrong <div class="isotope"> <?php $paged= ...
0
votes
0answers
11 views

How to publish custom post type for custom role user and not “submit for review”?

I've created a custom post type 'openproject', where i set capabilities. function custom_post_openproject() { $labels = array( 'name' => 'openproject', 'add_new' => 'Add new ...
0
votes
1answer
20 views

How to Display the tag content of Custom Post?

I have a custom post called "Portfolio" whith the taxonomies: - Categories - Tags (tag clouds) I want to show the Tag content inside the custom post. Thanks.
0
votes
0answers
14 views

Permalinks using event date (year & month) instead of publication date

The site http://www.bikefun.org is live and working, but the permalinks are not quite right. It is an event calendar site. Events are stored as a custom post type "bf_events", with dates stored as ...
0
votes
1answer
46 views

New WP_query in template not working with CPT+category on some pages

I have three page templates, homepage, documentary, and corporate, each using the same CPT WP_query code with only the category name changed for each respectively. The homepage works fine, pulling and ...
0
votes
2answers
35 views

Custom Post Type with Nested Taxonomy and Template Files

I have a custom Post Type of "Portfolio" with a rewrite slug of portfolio. So the URL on the frontend is: domain.com/portfolio. I have a custom Taxonomy of "Categories" with a rewrite slug of ...
0
votes
1answer
33 views

Has register_post_type() changed for WordPress 4.0

I know it's easy to blame the system update rather than user error, but I thought I would double check if anyone else has been running into the same issue! The following register_post_type() has ...
0
votes
0answers
19 views

post_row_actions for custom post type

I'm using this code to have a duplicate post function in WordPress Admin. However, when I add the filter for a custom post type, like this: add_filter( 'directory_row_actions', ...
0
votes
1answer
27 views

how to reorder the content of the single post?

actually i install "related post" plugin. and i use <?php the_content(''); ?> to show up my single post in single.php file . so when i want to add the writer name after the post i write this ...
1
vote
2answers
61 views

Template for specific post of custom post type

I have the CPT "event". I have created single-event.php. I want one particular event to use a different template than single-event. I read elsewhere that this could be done by creating a ...
0
votes
0answers
18 views

Capability to edit own post, but not create new one

i can't find anywhere how can i forbid to create new item, but allow editing of posts which was assigned to user. Lets say in my system there is admin who creates some posts, then assigns some ...
1
vote
1answer
48 views

Can't create more than 5 custom post types

I've registered 6 but only seems to output 5 on the wp-admin menu. If i delete one or the other it updates accordingly, so configuration of each one is correct as far as i know. I've also deactivated ...
0
votes
0answers
21 views

Custom post-type, multiple loops not displaying on page?

I have an issue with a loop within my page not displaying. The first loop I created (OUR SPONSORS) is displaying fine but the second (OUR PARTNERS) loop isn't displaying (confused!) Below is the site ...
0
votes
1answer
21 views

Can't use orderby in WP_Query

I can't get my posts to order by the date, descading. I've got the following code: $jobs = new WP_Query(array( 'posts_per_page' => 50, 'post_type' => 'job', 'post_status' => ...
0
votes
1answer
27 views

Custom Post Type Categories Not Maintaining URL structure any more

I'm having a really hard time with this... I have a custom post type called "locations" that has several taxonomies for it. I was originally able to get it so that when you clicked on the category / ...
0
votes
0answers
31 views

What is the right way to replace a post type's template?

Recently I authored a plugin called Ultimate Post Types and now I have a conflict with the "Virtue" theme from WordPress.org My plugin is useful for quickly creating post types through the admin. ...
0
votes
0answers
5 views

Sticky Custom Post Types - Query returns nothing if no post marked as sticky

I am having an issue with sticky posts and custom post types. I want to display a sticky custom post type, but if there are no sticky posts, I simply want to display the latest post in that custom ...
0
votes
1answer
33 views

Why won't this rewrite rule work?

Here's the setup. I have a custom post type 'Businesses'. I have a custom taxonomy 'Display Category'. And I have a second custom taxonomy 'Filters' Both taxonomies are set to work with the custom ...
0
votes
1answer
69 views

Custom posts affecting Recent Posts

I have built a plugin that uses custom post types. Everything works exactly as it should except when you list posts by category; the recent post widgets just displays the recent custom posts type. ...
0
votes
1answer
24 views

Adding custom post type to loop

Hope someone can help me with this. I have a custom post type ('article') in my WordPress installation, and I'd like to display those posts alongside the default posts in the regular post feed. This ...
-2
votes
0answers
18 views

Upload Excel to Wordpress Custom Post [closed]

Have a "unique" scenario to try and solve. We have a client roster that is typically sent to the dev team as an excel sheet with the appropriate information (client name, client website, category, ...
0
votes
1answer
30 views

Unable to display paging navigation with a custom post type loop

I have used a starter pack for my WordPress theme development, but I can't display the navigation on a custom post type loop. The framework starter is : http://underscores.me/ There is my PHP Code ...
0
votes
0answers
10 views

Custom Post Type Meta Select Box Get URL for Roya Slider

I'am using a snippet i got from here: Populating meta box with select-list of existing posts, and assigning it to custom post types Mikes Code works great and does what i want: Display a MetaBox at ...
0
votes
2answers
27 views

Add Tags to custom post type

I'm using the cherry framework on a WP site. It comes with a custom post type that can be used to add 'Team Members' and create staff pages etc. I need to expand this so that I can add tags to each ...
0
votes
0answers
19 views

Prevent stripping MathML tags on post save

I am trying to add MathML markups in wordpress custom post. But, it is stripping all MathML tags when I hit the publish button :( I have disabled "wpautop" and "Visual Editor". These are not helping ...
0
votes
0answers
18 views

Page Navigation not working for the next pages

I use a custom template to display the lists of post. The pagination design works, and even the post_per_page works but then it only display the post indicated for the post per page. so when clicked ...
0
votes
0answers
26 views

Wordpress Author Posts Review After Every Change In The Same Worpress Post

guys pardon my english, I am new to wordpress & I have been trying to set up a wordpress website for product reviews where new users will submit their reviews for the product/products. New user ...
0
votes
1answer
43 views

Query to change custom post type with specific category

I need to change several hundred posts with custom post types to regular post type but only from one category within that custom post type. So I have a custom post type 'films' and within that post ...
-1
votes
0answers
6 views

How to create a Dynamic link [duplicate]

I need a link thats dynamic, so So the lastestpost part will change whenever I create a new post. Basicly whatever is the last post to be created out of the three post types.
0
votes
2answers
54 views

WordPress Custom URLs

Based on the link maioman posted, below I have revised this question: I am having trouble getting a custom post type/taxonomy to work. I want a custom post type of Episodes, and the taxonomy for the ...
0
votes
0answers
13 views

Custom Post Type Add New page not loading [closed]

All other Add New pages work fine except my custom post type. It has been working previously. The only thing I changed was adding the W3 Total Cache plugin. I'm not getting any errors, so I have no ...
2
votes
1answer
88 views

How to filter the description of a custom post type

I understand that although not used by core in any way you can set a description for a CPT: $args = array( [...] 'description' => "My CPT description" [...] ); register_post_type( ...