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

learn more… | top users | synonyms (1)

0
votes
2answers
713 views

How do I “trash” a custom post type post while logged in as Admin

I am using the members plugin and have a custom post type of "listing" When I navigate to listings in the backend, I can edit. quickedit, and view. There is no option to trash. I am logged in as ...
0
votes
1answer
155 views

My custom posts that are assigned to categories, are not called on a category search using a Category Menu

I used the Custom Post UI plugin to create a custom post type called 'business_sold'. I assigned each custom post to one of six categories and an additional one called 'All'. I used a standard WP ...
0
votes
1answer
2k views

Pagenavi Plugin and Custom Post Type - Multipage results

I having trouble with the results, the url and the pagination shows correctly, but when I'm on page 2 or 3 etc... there only show the results from the first page. this is my code. <?php $...
0
votes
1answer
438 views

Creating separate feeds for custom post types

My site has a few custom post types, news, events, you-tube, etc. I'd like to create an rss feed for each post type as well as a main with all. I've experimented an bit and found how to combine them ...
0
votes
1answer
1k views

Custom Post Type Causes Error: Warning: call_user_func_array()

I have a custom post type created called 'missions'. When developing the site on my Dedicated Virtual, I had no problems. But I moved the site to a shared hosting grid server (mt) and now receive this ...
0
votes
1answer
2k views

Query multiple taxonomy in Custom Post Type

Currently I use: query_posts("post_type=listing"); to pull all entries of my custom post type. But I have a taxonomy called status with the values of Available, Pending, Sold. I only want to show ...
0
votes
2answers
688 views

How to recover the post ID earlier in the WP admin hook action “firing” sequence?

I am creating a WP plugin based around Custom Post Types (CPT), where you can dynamically specify a CPT, complete with any number of associated dynamic Meta Boxes and form elements such as radio ...
0
votes
1answer
82 views

Easy-Post-Type is visible in search, but 404 when clicked

I've installed Easy Post Types created a custom post type: Attractions created an Attraction: (joes-cafe) created a category set: attraction-type (cafe) copied single.php to single-attractions.php ...
0
votes
2answers
305 views

960gs different classes on teasers posts

I'm having hard time trying to use teasers post in my wordpress theme (based on 960gs), as you can see here http://img17.imageshack.us/img17/794/schermata20110420a15045.png what I got till now is one "...
0
votes
1answer
438 views

How to make custom post type feed title = taxonomies?

I have a custom post type that doesn't use the default title bar to define the post's title. Instead it is a series of taxonomies: artist, album and year. Right now my xml feed is displaying <...
0
votes
1answer
927 views

Showing posts by collection of specific terms and texonomy

i have a custom post type name 'business' and taxonomy 'business-category'. now i want to show posts for some specific terms suppost, term1, term2, term3 etc. The following code is working for me but ...
0
votes
1answer
210 views

Retrieve posts by author

I am trying to retrieve all custom post types created by the current user. I have this piece of code: wp_get_current_user(); $args_my_items = array( 'posts_per_page' => 10, 'post_type' =&...
0
votes
1answer
852 views

Conflict in function to allow single post template based on category

I've used Justin Tadlock's great function for category specific custom post templates many times, where you can use single-cat-id.php for single posts belonging to a specific category. I just ran into ...
0
votes
1answer
96 views

new post-type how do i retain the plugins on my sidebar?

I created a new post-type following this technique: (http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/) After creating a a new post-type some of the feature of the a regular post ...
0
votes
1answer
86 views

Find Posts based on Child Post value

I am creating a plugin that adds two custom post types, one of which will always be a child of the other. The parent post type is for Events, the child for Performances. Before entering the Loop, I'd ...
0
votes
1answer
617 views

“Order” doesn't work in custom loop?

I have a custom loop (used in a shortcode) that lists items from custom post type. Everything works fine but "order" for posts doesn't work, no matter what I type as order attribute on post page - ...
0
votes
1answer
1k views

Query for bbPress replies to current topic?

I'm using bbPress. I'm in a single page of the custom post type bbp_topic. As you can imagine this custom post type stores another custom post type called bbp_reply. I'm using the following query to ...
0
votes
1answer
179 views

Limiting Amount of Posts in a Custom Post Type again

I've been trying to limit the amount of posts a user can create in a specific custom post type, and I had some help from Bainternet by checking out his plugin. I read over that and then came up with ...
0
votes
1answer
1k views

Limit Amount of Pages users can create in Custom Post Types

Is there a way to limit how many pages a user can make inside a custom post type? This would be pretty effective for commercial WP plugins and I am making one, but have come across a little problem ...
0
votes
1answer
939 views

Displaying custom post types as a gallery

This is a bit of a specific question--I have found bits and pieces of information on the net, but nothing that puts the whole picture together for me. Hopefully I can get some help here. Background: ...
0
votes
1answer
34 views

how can i add an array of post types to this query?

$pp = new WP_Query('orderby=comment_count&posts_per_page=4'); ?>
0
votes
1answer
689 views

Last post in loop - custom post types

I added the below code to my index.php and it's working fine. Then I added it to my type-[post_type].php file and it's still displaying the code for the last post on the page. I can't figure out why. ...
0
votes
1answer
2k views

Populate a custom field dropdown with post titles by author

Just getting into wordpress and learning a lot! I know how to create a custom field and use it for basic purposes. I'm trying to do a little more now...I'm hoping someone can help me. Here is the ...
0
votes
1answer
33 views

Is there a (preferable built-in) way to check what custom queries are used in a theme?

I've build a theme using custom post-types with queries like $my_custom_post_type_query = new WP_Query( array( 'my_arg' => 'value' )); Now I'm writing a plugin where I need to do something like ...
0
votes
1answer
314 views

WP 3.1 custom post type permlinks

I know there is alot of discussion about the CPT and permlinks together with the 404. I did not found a solution though I am close. It would be great if someone could assist me to get it working. Ok ...
0
votes
1answer
2k views

Showing only posts from the current user who is logged in?

I'm using the following code to get ONLY posts with the post_type question and the current user who is logged in. But if no use is logged in all the posts are displayed anyways. Any suggestions? ...
0
votes
1answer
1k views

How to reorder categories for Custom Post Type

Is there a plugin available that will allow the drag and drop reordering of categories for a custom post type? Or suggestions on how to achieve reordering categories?
0
votes
1answer
366 views

restricting custom rewrite to just one custom post type

I am using the following code to create a short permalink for one of my custom post types. I have another cpt that I wish to just use the default permalink structure, so what would be the best way to ...
0
votes
2answers
713 views

Show a Category X's custom post type on Category X archive page?

I created a custom post type "landing_page" to hold content I want to display on the top of category archive pages. So for each category, I have one landing_page entry tagged with that category. What ...
0
votes
2answers
487 views

How to show custom posts

We're creating a site to showcase a series of archival recordings covering a wide variety of topics. We'd like to have a page in the main navigation (e.g. recordings) to display these by title, w/a ...
0
votes
1answer
682 views

Home page is getting current-menu-item even if it's not home

After upgrading to 3.1 I am seeing this issue. I use custom post types and when you click on the menu items either Games, Entertainment or Tech it gets the class current-menu-item but home link still ...
0
votes
1answer
688 views

Display latest post of taxonomy

I have custom post type (entertainment) and I set up a taxonomy (review) as hierarchal so there are check boxes under the taxonomy. Most of the post in the entertainment are just post but we also have ...
0
votes
1answer
197 views

How to make post templates to include shortcodes only?

I used to post same shortcodes every time (shortcodes loads dynamic contents). So, I want to pack these shortcodes in a template for my posts. How can I do this?
0
votes
1answer
1k views

Pretty paged permalinks in custom post type loop

I must be annoying your with all these permalink questions :) The code I'm using for the loop is: // hijack stupid WP globals to get pagination working... global $wp_query; $temp = $wp_query; $...
0
votes
1answer
154 views

Letting the user define the arguments in a custom loop? (the “$custom_posts->query(…)” part)

I use the following to retrieve a post from a custom post type and custom taxonomies: <?php // Create and run custom loop $custom_posts = new WP_Query(); $custom_posts->query('post_type=...
0
votes
2answers
337 views

jQuery UI & Admin (Calendar)

Am I smoking crack or why wouldn't this work? :/ This all seems pretty straightforward: function admin_head() { ?> <link type="text/css" rel="stylesheet" href="<?php bloginfo('template_url')...
0
votes
1answer
145 views

Custom post type items open in archives?

I have my own custom post type under: wordpress/custom But when I open any item of this post type they open in: wordpress/archives/custom/title Why there's 'archives' and how to get rid of this ...
0
votes
1answer
287 views

Using custom post types to give Wordpress a more CMS-like look. What to prioritaize? Pages or Content?

I've been adding custom post types in the admin panel and endingup with the following results: 1. Prioritazing content: Posts (blog entries, news, events...) Pages Static Content (custom post type)...
0
votes
1answer
780 views

Two-way synchronizing of a post type among multisite blogs

Is it possible to two way sync a post type between multiple sites on a multisite install? For example if someone makes a change to an entry under post type "inventory" on Site A how can I make that ...
0
votes
1answer
320 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
781 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
814 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
410 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. ...