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

learn more… | top users | synonyms (1)

0
votes
2answers
491 views

Dealing with variables with gettext function

I've found tweaking some of the text in WordPress to be pretty easy by adding in the following function (in lieu of using a separate plugin): add_filter( 'gettext', 'of_site_translations', 9999, 2 ); ...
0
votes
1answer
592 views

how do I create a breadcrumb to work with multiple custom taxonomies

I have created several custom post types, and custom taxonomies to manage my large art portfolio. All of this is working very well. There is a post type for "art" and "design" as well as custom ...
0
votes
2answers
157 views

Show one of the taxonomies always as default

I have custom post type called staff that has custom taxonomy called departments. I wanted the frontpage of the staff (archive-staff.php) to not show ALL the staff members, but actually the first ...
0
votes
2answers
425 views

Custom Post Type + Custom Meta Query Not Showing 2012 Posts

I created a custom "events" post type for a client that basically "hides" the post once it has expired (ie. the event already happened). The events are displayed in the order of the start date rather ...
0
votes
1answer
120 views

Allow admin to determine the order of queries?

I have a custom query that I created to display the team members of a company, but my client has asked whether they can have control over the order in which each team member is displayed. Is this ...
0
votes
1answer
98 views

CPT Metabox with email notification

I have a custom post type just for contacts, I want to create a metabox with the contacts birthday and have it notify the site admin when it comes up (Or a day/week/month before the date if possible). ...
0
votes
1answer
517 views

How do I do this?: If custom post type exists, echo it, else do not

I'm creating the search page for my wordpress site. The problem I'm having is that most of my articles have custom post types that display a featured image. The problem is that some do not. I am ...
0
votes
2answers
806 views

Problems with pagination for a custom post type

My pagination links are failing for a custom post type here http://mjw.view-wireframes.com/about-us/press/ the page reloads http://mjw.view-wireframes.com/about-us/press/page/2/ but this has no ...
0
votes
1answer
115 views

Wordpress search results

I have installed Job Manager and managed to filter the search to only display jobs (i.e. post_type = jobman_job) and it works ok however, when displaying the search results, it only shows the title - ...
0
votes
2answers
104 views

Custom Post Meta on a Different Page?

I'm using this code to call some custom post meta named port_excerpt: <?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($postid, 'port_excerpt', true); ?> This ...
0
votes
1answer
101 views

Wordpress custom post type post and category links 404

I've recently created several custom post types in a wordpress site, with the code below, they are generating links in the correct form e.g. root/category/id/postname but each link to the full post, ...
0
votes
2answers
454 views

Custom post type permalink structure

I've browsed tons of Q/A on stackexchange, google, wordpress forums... but haven't found yet a definitive answer to what looks like to be a common issue since the introduction of custom post types. ...
0
votes
4answers
912 views

Trying to display posts by authors in with specific user meta

Ok here's the solution: <?php $wp_user_search1 = new WP_User_Query( array( 'meta_key' => 'state' , 'meta_value' => 'NM', )); $listers1 = $wp_user_search1->get_results(); $lister_ids1 = ...
0
votes
2answers
145 views

and custom post_types to custom menu

managed to create a custom menu area in the admin but now want to place 2 post types to it. They already exist - questions & answers, but can't find a way to put their menu links into the custom ...
0
votes
1answer
304 views

wp_redirect to file:// location results in blank page/cannot be displayed page

I have a CPT that is justed used for linking to resources on a local drive. I have this code in single-resource.php: <?php global $post; the_post(); $location = get_post_meta($post->ID, ...
0
votes
1answer
1k views

Unable to sort wp_query by date/time with multiple meta_key s

4th EDIT 11/17/2011 I spoke too soon. Now I have all the posts showing up but the total events does not seperate the events by day after I moved the endif; and endwhile; I posted the modified code ...
0
votes
1answer
328 views

Count of posts with meta_key filled in?

Working on upcoming events list that returns posts fine in a custom query. In the custom post type 'event' there are multiple events within a date range. I want to display all upcoming events in ...
0
votes
2answers
151 views

How do I use CPT and permalinks with a mobile theme?

We have a live site that is using one theme. Then I've got Wordpress Mobile Pack installed to enable a mobile theme which has different functionality and look. The problem I'm running into is that the ...
0
votes
1answer
273 views

Catergory args causing loop not to show

this has taken up most of my afternoon, but i just cannot get it to work properly. The issue is when i try to add a catergory argument to my custom loop, whether it is an include or exclude. When i ...
0
votes
2answers
383 views

Calling Custom Post Meta

http://www.vooshthemes.com/blog/wordpress-tip/create-a-professional-portfolio-using-wordpress-3-0-custom-post-types/ I'm using the above tutorial to build custom portfolio pages. The custom ...
0
votes
1answer
630 views

Posts 2 Posts: query connected — orderby problem

Using Posts 2 Posts plugin I've created 'piece', 'person' and 'collection' custom post types: any piece may be connected to person (with roles 'author', 'conductor' etc) and collection. Now the ...
0
votes
1answer
54 views

Knowledgebase / Docs: Custom Post Type, Pages or as a Post Category?

I'm trying to decide on how to organize a new site/theme. It has the standard sections: Home, About, Contact, Blog but also an (admin-only editable) Knowledgebase/Documentation area. My first ...
0
votes
1answer
104 views

How can i manually relate pages?

I've got a custom post type called Products, which underneath i've got a related products section using a plugin called http://wordpress.org/extend/plugins/related-posts-thumbnails/. I need to be ...
0
votes
1answer
145 views

How to add post of custom type to a category with custom type capabilities

I have created a custom post type 'shows'. And I am using the capabilities argument to create my own custom capabilities. My aim is to have a user (show_manager, say) who can only edit/create shows ...
0
votes
1answer
133 views

Create scroll of custom post types

I would like to create an area on an HTML homepage (HTML site that contains WP pages) that presents through an iframe or other, the titles of all posts for one custom post type. Any ideas would be ...
0
votes
1answer
253 views

Add top-level menu pointing to a different custom post type?

I have a situation where I want to add a second custom top-level menu for a custom post type. So, when we have a CPT named "fruits", which registers a top level menu with a label of "Fruits", ...
0
votes
1answer
274 views

has_archive for default post type

So I have several CPTs set up but I want to have all my default posts listed under /blog. I was hoping I could somehow enable has_archive for the default post type but I have yet to succeed. Any ...
0
votes
1answer
364 views

custom post type not getting archived?

I'm used the plugin More Types to create a custom post type (News). I'm also using the plugin Smart Archives Reloaded to have an archive of my custom post type. The problem is when i click on a month ...
0
votes
2answers
156 views

Change permalinks for posts but not custom post type?

I want my permalink for my standard posts to be www.mywebsite.com/photoblog/name-of-post So I've written the custom structure as: /photoblog/%postname%/ However, my custom post type 'projects' ...
0
votes
1answer
515 views

Menu that shows months and filters posts to show only posts from that month and shows posts as sub items

I've created a custom post type called news. On the page that shows all of my news posts i need to have a menu on the left side (sidebar) which shows months, i.e. October 2011, September 2011 and so ...
0
votes
2answers
234 views

How can I tell if I'm on a custom post type archive page?

I have set up a custom post type and a custom taxonomy for it. I'm using the latest version of Wordpress. I believe I should be using the is_post_type_archive function, but this seems to be is ...
0
votes
2answers
140 views

Add New Post (Custom Post Type) Deletes 1 Post's Custom Meta Data

function save_details( $post_id ){ if ( wp_is_post_revision( $post_id ) ) $post_id = wp_is_post_revision( $post_id ); update_post_meta( $post_id, "testimonyname", $_POST["testimonyname"] ); } ...
0
votes
1answer
40 views

How can I default a new post to being saved?

I'm trying to figure out how to make it so that as soon as the post-new.php page for a custom post type is loaded, the post is saved. Basically, I'm trying to make sure the post has it's postID saved ...
0
votes
1answer
143 views

search this custom post type

I am trying to be able to search a particular custom post type on my blog. The custom post type is named: website_bookmarks I have modified my search form with a hidden field <input ...
0
votes
1answer
73 views

Most appropriate way to display CPT's by children terms of custom taxonomies while retaining desired permalink structure?

Im currently building a small store section on a site of mine with the use of CPT's & Custom Tax's for the first time. So far Ive successfully got my CPT's & Tax's working as expected however ...
0
votes
1answer
104 views

No error in debug mode, wordpress template can not be loaded

I am trying to solve this issue for days.. I consumed all options and therefore need some fresh ideas.. I have a page template for posting/editing 2 different custom post types from front end of ...
0
votes
1answer
155 views

getting all values of a custom taxonomy if there is no post

I am working on a real estate theme. I am using some custom taxonomies such as Listing Purpose and Property type etc. In my add Listing form I am displaying each taxonomy in a dropdown, for which to ...
0
votes
1answer
160 views

Display Registered Taxonomies

Another question. I have a custom post type called "Articles" Within that I have registered some taxonomies using register_taxonomy called "Article Topics" So my client would pop over to Articles, put ...
0
votes
2answers
671 views

Wordpress User Frontend Editing Custom Fields

I'm using the plugin Wordpress User Frontend and editing the title and content of a post is nice (I managed to change it so I can edit custom post types), but there's no support for editing custom ...
0
votes
1answer
118 views

Code in custom widget queries all posts, when it should only query the current post

I have a query in a custom widget (my first one!) which, if it's of custom post type book, retrieves the post ID. This then gets used in a WP_QUERY to retrieve data about the page. This works ...
0
votes
1answer
527 views

How to list the categories by custom taxonomy created?

I have created a custom post type named 'projects' with link custom taxonomy named 'projects'. I have added the five different project categories with this project taxonomy with two level of hierarchy ...
0
votes
1answer
837 views

Specific Thumbnail Size for Custom Content Type

Is there any solution for setting specific thumbnail size for any custom content type? Thanks.
0
votes
1answer
208 views

Add meta data to the custom post type ARCHIVES page

i can make an easy template for displaying custom post types. but what i'd like to do is add some editable text to the top of my loop. for example: Hey wow, we really make cool products. I think ...
0
votes
1answer
548 views

Link to larger thumbnail in custom query (with custom post-types)

I'm using a custom query with custom post-types to display a blog-archive for my brothers photography-website. I integrated this code to link to the larger version of the thumbnail. Sadly it doesn't ...
0
votes
1answer
691 views

Adding a custom “Add Custom Field” button to Custom Meta boxes

Did I use custom enough in the title? Here is a quick explanation of what I am doing. I am creating a genealogy site and I have a custom post type called "Ancestor" In this post type there is quite ...
0
votes
1answer
402 views

Custom post type - columns order

So I have created a custom post type with custom values and customize my custom post type admin columns. You can see here how my custom post type is looking in admin panel. And as you can see I can ...
0
votes
2answers
67 views

preselected custom fields in custom post type

I have a custom post type called "stock" and each post is going to have a stock_id, stock_name, stock_description and stock_available fields,...I would like to have defaults for these fields so the ...
0
votes
1answer
309 views

Custom taxonomy labels won't display

I created two custom taxonomies (Majors and Seminar Types) related my custom post type CEMB Seminar and the labels on the menu, instead of showing the labels I put in are showing "Post Tags". See a ...
0
votes
1answer
571 views

get_the_term_list() wanting to loop through the returned values

I have a custom post type, I am echoing out my custom taxonomies in my template by doing the following, get_the_term_list( get_the_ID(), 'work', '<li>', "", '</li>') , this currently ...
0
votes
1answer
701 views

List custom taxonomy terms

I am trying to display all of the terms for a custom taxonomy(characters), the taxonomy is related to a custom post type(books). What I would like to do is display all of the terms for characters, so ...