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

learn more… | top users | synonyms (1)

3
votes
2answers
3k views

Custom Post Type, WP_Query and 'orderby'

I do have a custom post type with the following setup: $supports = array( 'title' , 'editor' , 'thumbnail' , 'revisions' , 'page-attributes' ); $args = array( 'hierarchical' ...
1
vote
1answer
599 views

Advanced search form with filters for custom taxonomies

I'm trying to build a complex search form with filters for several custom taxonomies, a search terms input and a select for the number of items displayed / page. The question has been posted before ...
0
votes
1answer
813 views

Order custom posts by taxonomy, then by meta_key

I've created a custom post type called Player Manager, where I have all the players of a football team. The CPT has four different categories - goalkeepers, defenders, midfielders and strikers. I also ...
0
votes
1answer
59 views

how to organize my categories or should I do custom post types for some?

I have main pages calling the Main parent and putting recent posts on those pages. What I am having the most trouble with is the Magazine. I can not seem to just get Spring 2012 to show with it's ...
0
votes
1answer
34 views

Loops running into each other

I have 3 loops on one page, each pulling a different CPT into a portfolio like layout. Live: http://iassc.baltimoredrew.com/providers/ Gist: https://gist.github.com/3503334 However the tags for the ...
2
votes
1answer
702 views

How to achieve this permalink -> category-name/custom-post-type-name/post-name

I am trying to use categories to provide the structure for my site. I will create sections on my site called England, Wales, Scotland and Ireland . These will be categories. My posts will use custom ...
0
votes
1answer
213 views

featured image problem with custom post type

I created a new custom post type based on the code provided by the wordpress codex. But when I try to set a featured image it returns and shows -1 in the featured image box instead of the images. I ...
1
vote
3answers
76 views

How do increase the amount of links shown down the left in the admin menu?

I've inherited a Wordpress site that uses http://podsframework.org/ CMSframework plugin. unfortunately the previous admin created so many pods, which in turn created a lot of custom post types that ...
0
votes
1answer
3k views

how to make custom posts sticky? [duplicate]

Possible Duplicate: Wordpress 3.1 - How does one add sticky post capabilities to post types What I had was normal posts...until I realized that custom posts are what I should use for my ...
0
votes
1answer
124 views

Custom taxonomy page returns 404

Ive created a custom post type and a custom taxonomy. I can create new posts and assign those taxonomies, but it returns a 404 when I go to mydomain.com/mycustomtaxonomy/termslug Here is my code: ...
1
vote
0answers
53 views

How do I list terms of a custom taxonomy at i.e. domain.com/brands/

I have a custom post type 'products' with custom taxonomy 'brands'. My URL structure should be: domain.com/brands - should list the brands domain.com/brands/brand/ - should list products of the ...
0
votes
1answer
553 views

How to customize `Edit-Post` Screen

I have found edit-form-advance.php in /admin/ that contain layout of edit-post page Have any way to customize layout via add_action(); ? because I didn't want to edit directly within Wordpress admin ...
0
votes
1answer
64 views

Permalinks Works for Custompost type but not with pages Why?

I have Three Custom post Types and one Custom Taxonomy and some pages. The Custom taxonomy is register with one of the post type. The problem is When the default Permalink is enable it works for all ...
0
votes
3answers
976 views

Remove edit or add facility for custom post type

Is it possible to remove all references to 'edit' or 'add' from a particular post type on its post list display screen in admin? So basically what I need is that for this post type, all roles ...
0
votes
4answers
131 views

Custom setup of wordpress comments that are displayed

I have setup in admin to have 5 comments per post display, which is what I want, and newest at the top. But the problem is when a 6th comment is made it is the only one displayed and you can read ...
-1
votes
1answer
81 views

Are there established patterns for developing custom post types?

I'm working on a custom post type. It has meta boxes, and it also adds meta boxes to other post types. It comes with some convenience functions to find posts of its type or the meta data it adds to ...
0
votes
2answers
425 views

Custom Post Type Base URL

Is it possible to not use the loop for the base URL of a custom post type. So for instance if my custom post type is 'directory'. I don't want http://www.mysite.com/directory/ to land at the loop ...
0
votes
1answer
160 views

white page after php code insert for custom post type [closed]

I get a white page in the frontend (not in the backend) after inserting the php code for the custom post type. See code: page-custom.php: <div class="infoboxen"> <div class="box"> ...
1
vote
2answers
132 views

Plugin for custom posts and fields [closed]

I need a plugin to do the following: Add custom posttypes such as "Books" or "Cars" Add custom fields such as "Url", "Label", "Number of wheels", "Name of passenger" or "Age of passenger" There ...
2
votes
1answer
829 views

How to use custom post type APIs, but use a different db table

We currently have a plugin that creates a new WP table, but it recreates the wheel when it comes to managing/updating data. It would be a good candidate for custom post types, but we don't want to ...
0
votes
0answers
22 views

Custom post type not displaying content from single-{custopm post type} page ctd [duplicate]

Possible Duplicate: Custom post type not displaying content from single-{custopm post type} page I want to continue on the discussion -> Custom post type not displaying content from ...
1
vote
1answer
380 views

search also in taxonomy, tags and custom fields

I have found many answers separately for Taxonomy, Custom fields and Tags, most of them outdated. But how to combine a search in: - designed custom fields of a custom post - custom taxonomy terms - ...
0
votes
1answer
102 views

How to hide a custom post type

I've got a wordpress website and i need to hide for the moment some custom post type. I want to hide it because we will need it later. How do I do it?
1
vote
1answer
172 views

Checking if Post Title is Unique as Loop Criteria

I'm trying to make a seemingly simple bit of php (it output's to a Gravity Forms field, but that's basically irrelevant). I'm using Gravity Forms to create posts, which I can do easily, however I ...
5
votes
1answer
2k views

AJAX search on post pages by custom post type

I'm having an issue creating an ajax search on my single post pages. I need to limit the search results to the custom post types "fod_videos" and "post" and category 12. My issue is the search is ...
2
votes
1answer
280 views

Custom post type routing with hierarchy

I've been playing around with a lot of custom post types lately and I am pretty anal about my URL structure / routing. An issue I ran in to a with a site that I just developed was this: I had many ...
2
votes
1answer
221 views

404 Error with Custom Post Types and Taxonomy

I am creating a website for a real-estate agent and have encountered an issue which I assume is Custom Taxonomy and Post Types. Custom Post Type: Property Taxonomy: District Example URL: ...
1
vote
3answers
953 views

Custom post type not displaying content from single-{custom post type} page

I am trying to create a custom post type with taxonomy and a shortcode for my custom search in a plugin.When I activate my plugin I see my CPT and taxonomy on dashboard. But when I publish the post I ...
0
votes
2answers
5k views

How to Add a Sub Menu Page to a Custom Post Type?

I am trying to create a link under a custom post type I have named "portfolios". If I change "add_submenu_page" to "add_options_page" it correctly shows a new link under the "Settings" menu. But it ...
3
votes
1answer
2k views

Creating custom user roles

I need to create a custom user role who will be able to create posts (of a specific post type) but not publish them (just like the current contributor role. I'm being a bit confused on how to create ...
2
votes
1answer
250 views

Allow Administrator role access to custom capabilities [duplicate]

I'm currently developing a Wordpress business directory plugin with a 'business' custom post type. I have it creating a custom 'business_author' user role on activation and assigning specific ...
0
votes
1answer
268 views

Custom Post Types — $args vs. labels array

I registered a new post type, and I was wondering what the difference was between the $args and labels array. Read more about it in the codex (can't have more than two links, sorry). For example, ...
0
votes
1answer
90 views

How do i display post from a taxonomy term?

Hey i was wondering how could i show post from a certain taxonomy term in the loop. <?php the_excerpt(); ?> I have a taxonomy entitled "series" under my post type entitled "Gallery", and in ...
0
votes
1answer
370 views

Create template for taxonomy results limited by Custom Post Type

I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy? Here's the deal: The CPT is called Shows. Each ...
0
votes
2answers
436 views

Plugin needed to allow subscribers to post articles on the front end without admin approval [closed]

Folks, I'm working on a magazine that has two areas: a professional writer driven portion and a user submitted portion. We want the user submitted portion to be able to be formatted like the ...
0
votes
1answer
69 views

Custom Taxonomy in Permalink from post type

I am using custom post types and custom taxonomies for that post type. This snippet currently sets the permalinks for the post type: 'rewrite' => array('slug' => 'myrewritebase'), I am ...
1
vote
1answer
37 views

Looking for Direction regarding Custom Posts

I'm currently working on a community site for a fairly large blog (approx 500,000 uniques/month). I've decided I want to do a Network for all the different portions of the community site to keep the ...
0
votes
1answer
674 views

Disable trash for post type

I would like to have a custom post type which has 'Activate' and 'Deactivate' rather than 'Publish' and 'Move to Trash'. Once a post is deactivated, the user can go and delete it permanently. This ...
0
votes
1answer
571 views

Include Custom Posts Type in Year/Month/Date Archive

I am looking for solution where I able to get all custom post types in year, month and date archive list. So it can be filters by anything either year, month or date. I am looking for function ...
0
votes
1answer
584 views

Custom post type permalink sends to 404.php

Hi I have created a custom post type and custom taxonomy.The custom post type page is named page-portfolio.php.I have create a loop in it in witch I am trying to link to each posts single page.For ...
0
votes
1answer
533 views

Page template that uses lightbox to display post images

I have created a page template that displays the featured image for all posts of a certain custom post type. It uses a normal loop that is querying that specific custom post type. The thumbnails are ...
0
votes
1answer
25 views

Creating entries with image attachements within posts and managing them in a list

I need help with choosing a suitable meta box or other means for listing, adding and sorting entries, relevant to the containing post. For each entry it should be possible to attach a set of images, ...
1
vote
3answers
4k views

How to Add Tags to Custom Post Type?

I have a custom post type called portfolio and I'm trying to add the tags taxonomy to it, how do I do this?
0
votes
3answers
2k views

Wp PageNavi only works with default permalinks on a custom post type?

I have tried many solutions to no avail and really need some help. I have a Custom Post Type named "Portfolio" that is setup to display it's contents on a page called Portfolio.php. Wp PageNavi is ...
0
votes
2answers
1k views

How Do I Use WP_Query to Run This Database Query as Search Result?

I have created a search box with a drop down box of 4 options to customize the search: A general default search, no filter A custom search according to the post title for a custom post type only. A ...
0
votes
2answers
79 views

What is the most efficient way to manage changes my product comparison tables?

I have a site that features tables comparing products over hundreds of pages. Many of these products appear multiple times and I originally made these tables static, and now need a more efficient way ...
0
votes
2answers
82 views

adding page types in menu

I believe what I am trying to achieve is quite easy but I am failing to grasp what is needed here. I want a section in the admin panel... lets say "page sections" under that, I want to be able to ...
0
votes
1answer
123 views

wp3 custom post types rss

From what I've found online, getting an rss feed for a custom post type is as simple as: http://mywebsite.com/feed/?post_type=custom_type Well I have tried it with no success as it just returns the ...
0
votes
2answers
72 views

display custom post on separate page

I have been able to register a new post type. 'code' and now I would like to display it. I added add_filter( 'pre_get_posts', 'my_get_posts' ); function my_get_posts( $query ) { if ( is_home() ) ...
1
vote
1answer
7k views

How to create a custom template for a custom taxonomy?

I have the following below which I have used to create a custom post type and a custom taxonomy. Within the products section I've created the categories "monitors" & "consumables". I have then ...