Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229630

    Hello.

    Just updated to v.2.5.4 and this issue is still in place. The creation of the taxonomy for Portfolio uses the same name for singular and for plural. Is this intentional? If not, can this be corrected?

    Codex: http://codex.wordpress.org/Function_Reference/register_taxonomy#Arguments

    Thanks

    #229936

    Hi redpupmedia!

    The singular name parameter for portfolio category taxonomy is not defined on includes > admin > register-portfolio.php.

    $tax_args = array(	
    		"hierarchical" => true,
    		"label" => "Portfolio Categories",
    		"singular_label" => "Portfolio Category",
    		"rewrite" => array('slug'=>_x($permalinks['portfolio_entries_taxonomy_base'],'URL slug','avia_framework'), 'with_front'=>true),
    		"query_var" => true
    	);
     
     	$avia_config['custom_taxonomy']['portfolio']['portfolio_entries']['args'] = $tax_args;
    
    	register_taxonomy("portfolio_entries", array("portfolio"), $tax_args);

    Best regards,
    Ismael

    #230110

    Thanks! Is this an error or by design?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Portfolio Taxonomy set-up issue’ is closed to new replies.