Ani10
Forum Replies Created
-
Just voted for your plugin, I almost forgot because of development rush. Works fine on wordpress 3.0.4 =D
You were right. The taxonomy terms where registered with the first letter capitalized in the database due to an error when the taxonomy was first registered. I changed the database to lowercase and now the widget is working perfectly. Thanks for your attention! ?? .
The first setting made both urls invalid (the /%taxonomy%/%taxonomy-slug%/ and the one generated by your plugin). I have left the second setting. This is the site′s url:
https://medea.pucp.edu.pe/endefensapucp/
On the sidebar, compare the Taxonomy widget list, that is generated with your code, against the list in the Taxonomy regular widget, that was generated using the wp_tag_cloud();
Hi Michael, thanks for the quick response. I used the following code in my functions.php file
add_action( ‘init’, ‘crear_formatos’, 0 );
function crear_formatos()
{
$formatos = array(
‘name’ => _x( ‘formatos’, ‘taxonomy general name’ ),
‘singular_name’ => _x( ‘formatos’, ‘taxonomy singular name’ ),
‘search_items’ => __( ‘Buscar formatos’ ),
‘popular_items’ => __( ‘Formatos populares’ ),
‘all_items’ => __( ‘Todos los formatos’ ),
‘parent_item’ => null,
‘parent_item_colon’ => null,
‘edit_item’ => __( ‘Editar formato’ ),
‘update_item’ => __( ‘Actualizar formato’ ),
‘add_new_item’ => __( ‘A?adir nuevo formato’ ),
‘new_item_name’ => __( ‘Nuevo nombre de formato’ ),
‘separate_items_with_commas’ => __( ‘Separar formatos con comas’ ),
‘add_or_remove_items’ => __( ‘A?adir o remover formatos’ ),
‘choose_from_most_used’ => __( ‘Escoger de los formatos más usados’ ),
‘menu_name’ => __( ‘formatos’ ),
);register_taxonomy(‘formatos’,’post’,array(
‘hierarchical’ => false,
‘labels’ => $formatos,
‘show_ui’ => true,
‘query_var’ => true,‘rewrite’ => true,
));
}The url with the permalink is working, but the link on each of the items generated by the widget is in other format =/
I have the same problem. My permalink structure is: /%taxonomy%/%taxonomySlug%/
and it works when I enter the URL in the browser, but the Taxonomy widget sets the link as:
?taxonomy=%taxonomy%&term=%taxonomySlug%
Is there something I forgot to set in the plugin install? I really dont want to modify it…