View Single Post
Old 04-23-2012, 07:12 AM  
Mrwww
Confirmed User
 
Industry Role:
Join Date: Mar 2012
Posts: 374
Heres how to display it using a custom field, this inst my work, but will integrate with my code.

Code:
<?php
	add_action('init', 'create_portfolio');
	function create_portfolio() {
    	$portfolio_args = array(
        	'label' => __('Portfolio'),
        	'singular_label' => __('Portfolio'),
        	'public' => true,
        	'show_ui' => true,
        	'capability_type' => 'post',
        	'hierarchical' => false,
        	'rewrite' => true,
        	'supports' => array('title', 'editor', 'thumbnail')
        );
    	register_post_type('portfolio',$portfolio_args);
	}
?>
__________________


DattonMedia
Affordable design and media.
Daniel Datton
// ICQ: 9 0 5 9 2 8
support
@dattonmedia.com
Mrwww is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote