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

learn more… | top users | synonyms (1)

0
votes
1answer
11 views

meta box on custom post type

Okay I have look on the site and need more help! I am adding Learndash to my site and need a meta box to show on their custom post type pages. Here is the meta box code I have which works fine for ...
0
votes
0answers
8 views

How to show Y number of custom posts after every X normal posts?

I have a loop within a loop. I figured out how to show all or X number of custom posts after Y number of normal posts. I also figured out how to show 1 custom post after every Y normal posts. How do I ...
1
vote
1answer
27 views

Is there a way to have custom post type and page with the same slug?

I have a custom post type registered as follows: register_post_type( 'news', array( 'labels' => $labels, 'public' => true, 'show_ui' => true, ...
1
vote
0answers
21 views

Custom Post Types strange pagination problem

Have a strange problem with pagination, the query work fine when i'm in homepage, but if click for the next page i get a 404 error. Disabling permalinks settings i saw that in the query string (when i ...
0
votes
0answers
13 views

Menu Multiple Taxonomies

I have a post_type "products" which has both "Category" and "Brand" taxonomies. Each product has exactly 1 Category, and exactly 1 Brand. I would like to display a menu which first lists the ...
0
votes
1answer
11 views

Need to have an archive widget which organizes and displays a custom post type using a custom date field

I found a handy plugin at http://www.redletterdesign.net/wp/cpt-archive/index.php for generating a calendar archive using a custom post type. My problem is I need it to organize these posts not by the ...
0
votes
1answer
20 views

Query posts by a type and another type only if post is in specific category

I have a featured post type and a reviews post type. I would like to include reviews of a certain category (I use categories from the posts type) as well. How could query args be crafted? A crude ...
1
vote
1answer
21 views

Custom Post Type doesn't show Draft and Trash Options

I have custom post type "Pdf"section.But there is no options like Draft and Trash..
0
votes
0answers
9 views

Order wp-admin posts by ID instead of post_date

I'm running into a situation with my log system (based on a cpt) where logs with the same post_date (due to rapid entry) are showing up out of order on the posts listing section in edit.php. You can ...
0
votes
1answer
33 views

Can't make permalink of CPT work

i'm learning how to use wordpress, but i've encountered a big problem. I'm trying to create a custom post type, i've used this code: add_action('init', 'init_realizzazioni'); function ...
0
votes
0answers
20 views

custom post type and taxonomy URL

I'm using following code for my custom post type function resources_custom() { $labels = array( 'name' => _x( 'Resources', 'post type general name' ), ...
-2
votes
0answers
14 views

Wordpress E-mail button to send confirmation

I have a CPT with reservations. Users make reservations and they are automatically uploaded into my CPT with the use of Gravity Forms. All works well. One of them fields is e-mailaddress. What I'd ...
0
votes
0answers
24 views

Can I change the slug of my archive page on a Custom post type?

I have a CPT with a slug that is the same of a page. This has been done on purpose as I hope I was able to control the slug of my archive page to be something like http://www.test.me/page ...
1
vote
0answers
18 views

Categories filtering in new post

I have a website with post types that have subtitles for movies. That files are on a specific custom post type using http://www.wpdownloadmanager.com/ pro. Because all custom type posts are movies ...
1
vote
1answer
35 views

Custom post types and permalink

I’m looking for a way to solve my problem with permalinks in wordpress. I have 3 post types: news (default), posttype1, posttype2 all 3 uses the standard category. I added 3 categories in it: cat1, ...
0
votes
1answer
40 views

Add the post type to the title of the page

How can I add the custom post type to the title of the page, I mean the title in the tag in the header. It should look something like this: Webpage name | Products > Sony Playstation 4 Thanks ahead! ...
0
votes
0answers
36 views

short code function stopped working when switching to php 5.4

I developed a wordpress site on a remote staging server (running php 5.3) and everything was working as expected. When I migrated the site to the live website server (running php 5.4), my short code ...
0
votes
0answers
19 views

Let users upload image(s) to the post from front end

I want to enable logged in users (Wordpress) to submit posts from front end (among with other data). My form is working great, I add custom post meta data which I later display on custom post page. ...
0
votes
1answer
14 views

Selecting which pages to display custom post type on using checkbox

I have a custom post type called Testimonies. What I'm trying to do is allow a user to create a new Testimony and then select from a list of checkboxes which page(s) on the site he wants this ...
-1
votes
2answers
85 views

Custom Post Type single and archive pages are not working

In an attempt to use the custom post type, after having registered a brand new CPT I have duplicated both the single and the archive pages appending the "-posttype" bit as specified in the ...
0
votes
0answers
19 views

Query by 2 values of a repeater ACF field

Let's say I have a custom post type called Film, with a repeater field called Showings, with fields start_datetime and discount. I need to make a query for those Films that have at least one showing ...
0
votes
1answer
36 views

How can I create post templates that users can choose from?

I have created a user driven site for the Talmud. I have made a couple posts and would like other users posts to look the same. I'm not talking about the actually page, just the post content. I would ...
1
vote
1answer
32 views

Custom Post Type order by modified date and custom meta field issue

I'm creating a plugin with some kind of offers that users can publish. User, in his custom administration panel, can managed his own offers. Offers are free and premium. If offer is premium it take ...
0
votes
2answers
33 views

Archive page - problem with pagination

I have a problem to display pagination using WP_Query. I've created a custom page, code below: <?php /* Template name: Models */ ?> <?php get_header(); ?> <?php the_post();?> ...
0
votes
0answers
11 views

Main RSS feed from custom post type only shows title but the text is missing

In the functions.php i've used the following snippet: function thefeed_request($qv) { if (isset($qv['feed']) && !isset($qv['post_type'])) $qv['post_type'] = array('post', 'news'); ...
1
vote
2answers
40 views

How do I make a custom taxonomy for a CPT appear inbetween title and editor boxes?

This may be a duplicate of this question - Changing the priority of a custom taxonomy's metabox but I can't work out how to apply that answer. I'm unsure what my custom taxonomy div label would be ...
1
vote
2answers
27 views

Query Multiple Meta Values and display only when it has both meta values

I've been stuck on a problem for a while now and I can't seem to figure it out. I want to query posts and only display them if their 2 meta values checked contain the ones I have queried. For ...
1
vote
0answers
17 views

Custom Taxonomy not being saved on custom posttype

This is very unusual, and I can't seem to figure out why this is happening. I have registered a custom posttype and a taxonomy (for that posttype). The taxonomy widget gets displayed on the "edit ...
0
votes
1answer
17 views

Custom post type not displaying all entries

This is using a custom post type that I've set up in the functions.php file. What I was hoping to get some advice one was why I have 14 entries in my custom "SPEAKERS" post type but only have 10 ...
-4
votes
1answer
23 views

Can I have a specific template for products even if they are standard posts and not CPT?

I'm attempting to manipulate a plugin for a client (the plugin author is unresponsive), and I'm wondering if/how to go about doing this. It's an ecommerce plugin, however does not create a custom ...
0
votes
1answer
36 views

Custom post types & Thumbnails

I am looking to set up 2 custom post types - Publicity & Management What I would like to do is display the featured thumbnail for each post from the custom post type on the Publicity page. These ...
-1
votes
0answers
17 views

Add a Custom price to Cart Items and Cart Totals [closed]

I have search everywhere for a script to help me in a T-shirt store. I find this and it works for one price. function woo_add_cart_fee() { global $woocommerce; $extra_shipping_cost = 0; ...
0
votes
0answers
11 views

framework/plugin that allows storing post custom fields all in a seperate table? [closed]

Is there a plugin that allows you to create a post type and store all extra custom fields of this post type in a separate table? (all custom fields in one table)? Approach similar to CCK in drupal 6 ...
1
vote
0answers
24 views

Ajax form filter post by custom fields [closed]

I'm currently working on a site where users can search for apartments. I have a custom post type for the apartment posts, which contain several custom fields. I have a page where i list all of the ...
1
vote
1answer
19 views

How to query_post custom posts within default taxonomy?

I'm trying to query_post custom posts. It works very good with custom taxonomy, but not with default "category" taxonomy. I tried using "category_name" and "tax_query", but it doesn't work for me. ...
1
vote
1answer
94 views

Advanced Custom Field - displaying only 1 post- how to get all posts displayed

I have two post types: post type = stores which has a title and custom field (by ACF) storeurl. I have another post type called books with just title and custom field bookcode (by ACF). I ...
0
votes
0answers
40 views

How to attach image to custom post type

I am using this answer to upload files in my custom post type meta box. How do I attach the actual attachment post to parent post(custom-post-type), so that in wordpress admin, I know that the image ...
1
vote
2answers
36 views

Way to hook into a sidebar call to replace it with a custom sidebar

I want to replace the sidebar-2 in the twentyforteen theme with a custom sidebar based on a conditional statement for CPT. So if the page is showing a certain custom post type then show my custom ...
0
votes
0answers
14 views

How to show custom post type in hierarchy

I want to show my custom post type in list pattern like S.No Title 6 samplePost1 - replypost - replypost 5 samplepost2 - replypost 4 samplepost3 Here i am setting post_per_page ...
1
vote
2answers
34 views

Different Ways to Query Custom Post Types?

I'm using this code to use custom post types like regular post: add_action( 'pre_get_posts', 'add_my_post_types_to_query' ); function add_my_post_types_to_query( $query ) { if ( is_home() && ...
1
vote
0answers
24 views

“Post name” permalink returns home page for custom posts

I'm new here. I badly need help on this permalink issue. In my site I've one custom post type 'portfolio' but when I set the permalink structure to 'Post name' it returns loads index.php page not its ...
1
vote
0answers
23 views

add_rewrite_endpoint() and Custom Post Type Archive

I've got a custom post type. Let's call it books. I'm adding a new rewrite endpoint called pages. I want the url /books/pages/2/ to work but I don't see any rewrite rules generated by WordPress for ...
0
votes
1answer
33 views

Search page for custom post type

I am new to wordpress and a beginner coder, and i was searching around the net, found solutions but still does not work. I have custom post type named dlm_download, and my custom search template not ...
1
vote
1answer
26 views

Return Attachments from Custom Post Type

I'm a fairly new WP developer. I am trying to get my portfolio.php to display all images attached to my custom post type 'portfolio', and then display them in a masonry format. I've managed to get ...
0
votes
1answer
34 views

How to completely disable a taxonomy archive on the frontend?

I have registered three custom taxonomies. All three of these custom taxonomies are attached to my custom post type. There is only one taxonomy out of the three registered, that I would like not ...
1
vote
1answer
54 views

Add content before/after admin post wp-list-table

I know there are two hooks to add content before and after a taxonomy wp-list-table. Is there an action to add content after the post type wp-list-table on the edit.php page? For $taxonomy List ...
1
vote
1answer
47 views

Unable to get paginate_links working with a custom query [duplicate]

I have built a news section in my Wordpress site with the advanced custom fields and custom post type ui plugins. On the custom news overview page (not the standard wordpress posts) I wanted to limit ...
1
vote
0answers
11 views

Posts 2 Posts: Get related posts from user connected to current post? [closed]

Hopefully someone can help with this. I have a CPT called "Tours", and I'm using Posts 2 Posts to connect Posts inside that CPT to Users. Relationships being: Tour Item 1 > Tour Operator 1 Tour ...
0
votes
1answer
16 views

Adding a date archive to Custom Post Type

Having a little problem with URL rewrites. Trying to get the following URL to display all the sermons in 2014 http://example.com/sermons/2014 Currently it is looking for a sermon called 2014 ...
0
votes
0answers
29 views

Ordering posts by custom taxonomy in admin area

EDIT @kaiser - this question is slightly different to the answer you posted in that I am talking about sorting by clicking the column title rather than adding a dropdown to filter by taxonomy term ...