Post emergency WordPress questions for fast help... ...Or answer questions first & win prize money.

$10
3.0-alpha, custom post type

Hi,
http://wpengineer.com/impressions-of-custom-post-type/
got good explaning about backend support of custom post types.
but.. what about in templates?
function post_type_movies() {
register_post_type(
'movies',
array(
'label' => __('Movies'),
'public' => true,
'show_ui' => true,
'supports' => array(
'post-thumbnails',
'excerpts',
'trackbacks',
'custom-fields',
'comments',
'revisions')
)
);

register_taxonomy( 'actor', 'movies', array( 'hierarchical' => true, 'label' => __('Actor') ) );

register_taxonomy( 'production', 'movies',
array(
'hierarchical' => false,
'label' => __('Production'),
'query_var' => 'production',
'rewrite' => array('slug' => 'production' )
)
);
}
add_action('init', 'post_type_movies');

for example for this movies post type and taxonomies.. what codes/files i need to place to use this properly? i mean for displaying in site.

Let me explain step by step;

svn co http://core.svn.wordpress.org/trunk/ .
We got trunk version. Installed wordpress. 3.0 alpha
Using default twentyten theme and using above code for creating custom post type. Now we have movies panel in admin section.
BUT i cant see movies link as normal. In this position, whats best way? Creating a page and using custom loops?

Ünsal Korkmaz | 02/28/10 at 3:55pm | RSS Answers

(5) Possible Answers Submitted...

You must be logged in to view answers or answer this question.