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

learn more… | top users | synonyms (1)

0
votes
1answer
319 views

Why can't I query more than 1 post type at a time?

I have a custom post types called publications. I want to retrieve all the pages and publications. (I'm also filtering by taxonomy, but that's not what is creating the problem) $args= array( '...
0
votes
2answers
1k views

Rewriting the WP Sub Posts plugin to allow one custom post type to be a child of another custom post type

I'll preface this by saying that I'm ok with CSS and Wordpress, but very new to PHP. You all seem to be an enormously smart bunch, and I was wondering if someone could help me out? I am building a ...
0
votes
3answers
1k views

Make a select list of a custom post type in a meta box

Simple you will say? I have a first Custom post type called Country. I have a second Custom post type called Travellers. I need to make a drop down select list (multiple check) available when editing ...
0
votes
2answers
780 views

Custom Post Type, Custom Columns List

I've basically done a full plugin and now just "prettifying" it sort-of. One thing I'm doing is re-doing the columns for listing the "posts" I made. This part is fine, and all columns are replaced as ...
0
votes
1answer
803 views

Updating post meta for custom post types

I'm writing a plugin for work (still) and having one more issue. I've added my meta boxes as needed. However, the problem I'm having occurs when saving the post. My snippets for saving pretty much ...
0
votes
1answer
1k views

Sorting the Loop by Taxonomy Value

This is a similar question to Sorting for each custom taxonomy, but I don't feel like it was clearly asked or responded to. I have a custom post type "player" and a custom taxonomy "player_details". ...
0
votes
2answers
3k views

WordPress pagination with custom post type?

I have searched all over the web to find some solution, but none of them are working for me, can someone help me with this and explain what is wrong? I've spent 3 hours debugging and didn't find the ...
0
votes
1answer
758 views

Custom Post Type Query for Sidebar Doesn't Work on Front Page

Interesting issue here. I have this: $args=array( 'meta_key'=>'_simple_fields_fieldGroupID_1_fieldID_8_numInSet_0', 'post_type' => 'stores', 'post_status' => 'publish', '...
0
votes
2answers
569 views

How to embed form data within the 'Add new post'

I want users to be able to use a car template in new posts. The template will include items such as a photograph of a car, make, model, number of doors, colour of car, etc. Users will not want to use ...
0
votes
1answer
409 views

How to display post from one custom post type in another custom post type with the same taxonomy?

I created two custom post types and one custom taxonomy. I wanted to be able to link the two different post types by applying the same taxonomy to both. How could I do this? Scenrio: Custom Post ...
0
votes
1answer
1k views

Custom Post Type, Custom Taxonomy Template: How to get current taxonomy name?

Ok so i have a custom post type called 'profile' with a custom taxonomy called 'company'. The site has many profiles and companies defined, with profiles being associated with companies as necessary. ...
0
votes
1answer
397 views

Custom Post Type Child Won't Come Through With Pretty Permalinks

I'm in a pickle and unfortunately, have almost zero working understanding of mod_rewrite/apache stuff. Here's what's going on: I've got a hierarchal custom post type with parents and children. On my ...
0
votes
1answer
173 views

A sports wordpress website

Hello wordpressers Is there a way of joining custom post types? One custom post type for players and another custom post type for results? What i'm trying to do is use some post from the custom ...
0
votes
1answer
598 views

Duplicate Custom Header Functionality into the post edit screen

Within wordpress 3.0 you have the ability to create a custom header image with a very slick built in cropping tool. I found out that the code being utilized for this is located within wp-admin/custom-...
0
votes
1answer
558 views

custom posts permalinks url rewriting

My permalinks are: /%postname% I currently use Custom Post Permalinks to rewrite my permalinks. It work well, but... I dlike to have some url like: www.mysite.com/permalinks_of_my_custom_posts.php >> ...
0
votes
1answer
406 views

Placing Admin Post Metaboxes in Tabs

I am looking for what code one would need to add into the functions.php file which would allow specific metaboxes to show up in tags instead of within their individual metaboxes. Can anyone help with ...
0
votes
1answer
339 views

Can I get an auto-populated dropdown list of other custom posts in a custom post edit page?

I have a custom post type, and in one of the custom meta-fields, I would like to present a drop-down list of the other (published) custom posts in order to link two custom posts. Specifically, I have ...
0
votes
2answers
737 views

Change ordering of fields of custom post type in admin page

I have a custom post type and am placing in custom meta boxes. How do I change the ordering of the fields of a custom page in the admin? For example, I have a custom field called subtitle. How do I ...
0
votes
2answers
298 views

Custom post types

I have made a custom post type called "Case Studies". There is a case studies page which displays the title of every custom post and a small exceprt. However when you click on the title to view the ...
0
votes
1answer
6 views

Get the link of the first post of a custom taxonomy in a custom taxonomy list

Currently, I'm doing this using a custom field, but I would love for this to be automatic. Basically, I have a page that will list all the entries of a custom taxonomy, but I want the links of the ...
0
votes
0answers
11 views

Custom single post pages not using single-template even after flushing permalinks

I have moved my site from a local server to production however my theCommunity custom post types are not using single-theCommunity.php template. I have also tried flushing permalinks as recommended in ...
0
votes
0answers
17 views

Displaying Wordpress Parent field in child post

I want to display the title from a parent field within a single child post (these are custom posts created with wp-types). At the moment, all I seem to get is the title of the current post, and not ...
0
votes
1answer
14 views

Custom post type in Custom widget - $listItem

Hi i have a slight problem when making a custom post type widget. the problem is that when i add a custom field in the code the part that shows the custom field information get's on top of the output ...
0
votes
0answers
23 views

Custom post type taxonomoy template is not showing more than two post

I am trying to make a page on a custom post type(new_arrivals) taxonomies (sieraden, trouwringen, horloges) template. I have made the template taxonomy-new_arrivalstype.php like this. Inside I add the ...
0
votes
0answers
23 views

When will they make it possible to exclude post types from an wp_query?

Very simple, when I am setting up the arguments for an wp query, I can't exclude post types. While it is possible to include them, I would love to see an excluding possibility. Is there any ...
0
votes
0answers
15 views

How to display wp_post by custom field value?

How to display post seaching by custom field value. Is that possible to reach custom post using custom field value from URL directly?
0
votes
1answer
17 views

Query events post type after current date and timezone

So I am making changes to a clients website and currently they have an events post type with some custom fields that allow them to set an events end date/time and the events timezone. The custom ...
0
votes
0answers
16 views

Changed Post Type Name and Taxonomy Name. How to change it in Widget as well?

Hope someone can explain me how to update the widget to the new post type name and taxonomy name. My Old custom Post Type Was "aps-products" and new is "phones" and my old Taxonomy Name was "aps-...
0
votes
0answers
17 views

HTML email template using custom post type on genesis framework

I'm trying to generate HTML emails using a custom post type. What I would like to do is slot content from post type post into this template to build an editoral newsletter. The problem I'm having is I ...
0
votes
0answers
14 views

Getting URL from changing custom post type

I have a manually-built secondary navigation with a button that links to a Current Exhibiton custom post. For obvious reasons, the current exhibition post changes over time. How can I manage to ...
0
votes
0answers
18 views

Change the url of a custom post type to include taxonomy

I'm trying to create a custom post type where there will be a lot of identical post names, but they will have different taxonomy values. Is it possible to define a slug mode where the taxonomy ...
0
votes
1answer
21 views

WP_Query Custom Post Type if Category ID Equals

I've setup a custom post type "slides" and I've created two categories for the slides custom post type: "slides-testimonial" (id = 7) and "slides-regular" (id=8). I would like to run a single loop, ...
0
votes
1answer
18 views

Programatically inserted posts not showing in Posts Table

I'm trying to insert a custom post through a form. It's a brief post, most content are custom meta fields updated with add_post_meta. So far, post inserting is working fine, except for a detail. This ...
0
votes
0answers
24 views

Custom Meta Box Image Gallery Not Saving

I'm having an issue of a custom meta box I'm building based off of WooCommerce's Product Gallery meta box. The meta box is not saving for some reason. I've tried some options from many different ...
0
votes
0answers
26 views

Form to custom post type and custom taxonomy 2

Following on successful addition of custom taxonomy with a great help here I've been banging my head on the following three things. How would I add another taxonomy "trademen-category"? How would I ...
0
votes
0answers
14 views

Issue with temporary link on the frontend

I have a site working with a custom post type (Exhibition), and custom taxonomies (Exhibitions -> Current, Future & Past). When I display the archives for the Future and Past taxonomy values, it ...
0
votes
1answer
30 views

Form to custom post type and custom taxonomy

I am actually learning still. so if my question sounds a bit silly. kindly pardon me. But I seriously need help here. Using the links below, I managed to get the form working to the extent that it ...
0
votes
1answer
18 views

Custom Post-Type not in admin menu

As I'm working on a private and custom theme for my website, I created custom post-types for different kinds of data i want to display (and adding extra data with custom fields). Anyways, as I ...
0
votes
1answer
44 views

Running get_posts within get_posts to get children of children

I have a hierarchal custom post type called “courses”. When you arrive on a course post there’s a check to see if the post has children. If the courses post has children it runs get_posts to display ...
0
votes
0answers
13 views

wpDataTables Front-End Editing with Custom Post Types [on hold]

Has anyone used wpDataTables front-end enditing with custom post types? It seems as if it might be impossible for this to work because wpDataTables can only update one table at a time, and custom post ...
0
votes
1answer
5 views

Show index and not the archive for “Dog Custom Post” with default slug

When creating a Custom Post, in my case with the name dogs and slug dogs, at the url www.example.com/dogs Wordpress shows by default the archive page if has_archive is set to true I don't want to ...
0
votes
0answers
17 views

Can't show post based on different level taxonomy

Custom post type : book Custom taxonomy : genre I have created some genre and I want to show immediate children genre of a specific genre. I have used following query $p_query = new WP_Query( ...
0
votes
0answers
16 views

Send user notification email containing post meta

I created a custom post type using the Custom Post Type UI Plugin and some custom fields using Advanced Custom Fields Plugin. I am trying to send a notification to the admin using "...
0
votes
1answer
24 views

How to display all custom fields associated with a post type - IN THE ADMIN AREA?

I know know how to get all the custom fields from a custom post type, that's easy. However, when I create a custom post type, it displays a beautiful page automatically in the administration part of ...
0
votes
0answers
24 views

How to make autocomplete search

Basically i would like to make a autocomplete search form that only work for under a taxonomy. Actually i have created a post type name "property" and there has a hierarchical custom taxonomy called "...
0
votes
2answers
23 views

Change Background Color For CPT Template

Please help. Anyone knows of the proper way how to change the background color for a custom post type template only? Using chrome's inspect, I saw that my theme uses the ID of "#main" for all the page'...
0
votes
0answers
32 views

Hide Child category on custom post type dropdown

I'm a beginner in Wordpress so I apologize if my question is dumb. I'm customizing the 'Listify' theme. This Theme has custom post types. There's a dropdown on the home page that displays the ...
0
votes
0answers
15 views

letting unregistered users edit or delete their custom post type only by password login

Letting the unregistered users editing or deleting their custom post type by password login only from the front end. Therefore, what I need to do is allow unregistered users to set a post password ...
0
votes
1answer
22 views

Get number of posts by a user (draft, pending review & published)

I am trying to get the number of posts by a user including all post status (draft, pending review & published). This will be used for a rule. If a user has more than or equal to X number of ...
0
votes
1answer
33 views

Grouping and paging CPT events by month with custom field date

$start_date = date( 'ym01' ); $end_date = date( 'ymt' ); $meta_query = array( 'key' => 'event_date', 'value' => array( $start_date, $end_date ), 'compare' => 'BETWEEN',...