dimanche 3 août 2014

category not found for a custom post wordpress


my websit e works perfectly excet dislaying catgeiru for custom ost

the roblem was descivred by using a winderfukl lugin :

https://wordpress.org/plugins/rewrite-rules-inspector/

to discover wher the redirection goes?

by flushing and deleleting a revious custom category the roblem was resolved


////////////////////pour lister les adress ///
/*

add_action( 'init', 'addresse_init' );

function addresse_init() {
// create a new taxonomy

$labels = array(

'name' => __( 'adresse Categories', APP_TD ),

'singular_name' => __( 'adresse Category', APP_TD ),

xxxxxxxxxxxxxxxxxxx

);



$args = array(

xxxxxxxxxxx
'rewrite' => array( 'slug' => 'listings/category', 'with_front' => false ),

);



register_taxonomy( VA_LISTING_ADDRESSE, VA_LISTING_PTYPE, $args );
}

*/
/////////////////////

Aucun commentaire:

Enregistrer un commentaire

Nombre total de pages vues