Home Forums Theme support Single Portfolio Reply To: Single Portfolio

Hi There,

function portfolio_register() 
	{  
    	$args = array(  
        	'label' => 'Tours',  
        	'singular_label' => 'Tour',  
        	'public' => true,  
        	'show_ui' => true,  
        	'capability_type' => 'post',  
        	'hierarchical' => true,  
        	‘rewrite’ => array( ‘slug’ => ‘tours’ ),  
        	'supports' => array('title', 'editor', 'thumbnail','custom-fields','post-types') ,
		'show_in_menu' => true  ,
		 'menu_position' => null,
       	);  
    	register_post_type( 'portfolio' , $args );  
	}  
	add_action('init', 'portfolio_register');  

register_taxonomy("project-type", array("portfolio"), array("hierarchical" => true, "label" => "Tour Type", "singular_label" => "Tour Type", "rewrite" => array( "slug" => "tour-type"));

add_action("admin_init", "portfolio_meta_box"); 

This is the coding I used but I got an error…

Parse error: syntax error, unexpected ‘;’ in /home/kusadasitravel/public_html/wp-content/themes/divengo/7league/posttype-portfolio.php on line 22

Please advice