Questions tagged [custom-post-types]

Custom Post Types extend WordPress to support additional content.

Filter by
Sorted by
Tagged with
16 votes
7 answers
17k views

Loading External Scripts in Admin but ONLY for a Specific Post Type?

So I continue to run into this issue and I just looking for the best and simplest solution to solve this problem. I have come to make use of custom post types in many different projects and have ...
user avatar
33 votes
3 answers
25k views

Renaming Custom Post Types and Taxonomies

I started developing a site with over a dozen custom post types. I'd like to rename a few of them, not just the display value, but the actual custom post type name. I'm worried however that by just ...
user avatar
1 vote
4 answers
890 views

URL Design for Sub-Posts?

I currently have this: mysite.com/product-name mysite.com/another-product etc where product-name and another-product are posts. I then have a custom post type called Changelogs, which I have for ...
user avatar
  • 1,040
10 votes
3 answers
5k views

Custom Post Type Data in Sidebar widgets?

(note: this question was originally about Custom Fields, but @MikeSchinkel had a better solution involving Custom Post Types) On my site I have several pages which I want to show the same data in the ...
user avatar
  • 1,033
5 votes
2 answers
665 views

Implementing "Video of the Day" Feature?

I'd like to add a new area on a WordPress 3.0 site that contains a new video from YouTube each day. This video would be manually picked, and manually added each day. I'm not sure how to properly set ...
user avatar
  • 2,829
10 votes
4 answers
8k views

Adding an Archive of Posts to the Navigation Menu in WordPress 3.0

Hay all, I'm playing around with WordPress 3.0 and two (2) of the new features, Custom Post Types and the Menu Editor. I've started off by creating a new post type called "products", as you've ...
user avatar
  • 585
17 votes
2 answers
11k views

Creating an Image-Centric Custom Post Type?

Does anyone have any tips for creating an image-centric custom post type? To elaborate, my blog has rotating header images, shown below: The two images in the top left are randomized, and exist as ...
user avatar
0 votes
1 answer
2k views

Writing Custom Rewrite Rules that Incorporate Category for Custom Post Types?

I'm registering a Custom Post Type and in the rewrite array I am trying to do something like this: 'rewrite' => array('slug' => "explore/resources/".$CATEGORY, 'with_front' => false) I ...
user avatar
  • 1,349
3 votes
2 answers
443 views

Is it possible to define the data type of a Custom Field?

I am adding a new "Custom Post Type" named "Seminar". I am defining three custom fields Location StartTime EndTime StartTime and EndTime are going to store dates (surprise, surprise). I am wondering ...
user avatar
  • 3,326
135 votes
17 answers
101k views

Adding a Taxonomy Filter to Admin List for a Custom Post Type?

I have created a Custom Post Type called 'listing' and added a Custom Taxonomy called 'businesses'. I would like to add a dropdown list of Businesses to the admin list for the Listings. Here is what ...
user avatar
3 votes
4 answers
8k views

Using Custom Templates for Custom Post Types for the Genesis Theme Framework?

(Moderator's note: The original title was "How can I create create and use a custom template for custom post types in the Genesis theme framework?") I'm using the Genesis theme framework, with an ...
user avatar
16 votes
6 answers
19k views

How do I save metadata for a specific custom post type only?

I'm trying to set up a custom post type following this tutorial. However, I'm a bit confused as how/where to implement update_post_meta(). The tutorial suggests this pattern: add_action('save_post', '...
user avatar
  • 1,232
28 votes
5 answers
11k views

Is there a way to get N number of WYSIWYG editors in a custom post type?

Is there way to have multiple WYSIWYG editors for a custom post type? For example, if I had a 2 column layout I wanted to have one editor for one column and another editor for the other.
user avatar
21 votes
3 answers
7k views

Implementing a CrunchBase.com Clone using WordPress?

I wish to create something like CrunchBase.com with WordPress.org (So to have one website that is a "database", and another one, which is a blog, that connects to it). Is it possible? and how? ...
user avatar
  • 1,833
14 votes
5 answers
13k views

Marking future dated post as published

Use case: I have a post type that relates to a music show. The 'show time' is grabbed through the post publish date which is set to some time in the future. I've found a function that takes future ...
user avatar
  • 2,591
142 votes
9 answers
23k views

Tips for using WordPress as a CMS? [closed]

I want to use WordPress as a CMS for a reasonably basic site rather than a blog. I have several pages and at the moment, I don't intend to have a "news" page. While there are ways to make this work, ...
2 votes
3 answers
212 views

How can you use custom types/taxonomies? [closed]

The custom types/taxonomies feature of WP 3.0 is a neat one. I can think of a few ways to use the duo: to display projects, a portfolio, or a gallery. What else can custom types and taxonomies be ...
user avatar
  • 1,029
55 votes
3 answers
35k views

How to sort the admin area of a WordPress custom post type by a custom field

When editing one of my custom post types I want to be able to list all entries by a custom field instead of the date they are published (which, for a custom post type probably isn't relevant). I got a ...
user avatar
  • 1,397
9 votes
6 answers
5k views

visually sort ordering "custom post types" for end users

Now with those custom post types and other bits of content that don't necessarily need to be organized chronologically by date, for example: the client has a 100 T-Shirts as custom post type "SHIRT" ...
user avatar
  • 1,349
6 votes
4 answers
5k views

List Categories for Custom Post Types - WordPress

I'm using custom post types in WordPress 3.0 (now 3.0.1) to setup a custom directory system, but can't seem to find how to list out the categories under the custom taxonomy similar to how you'd use ...
user avatar

1
199 200 201 202
203