Viewing 12 replies - 16 through 27 (of 27 total)
  • Plugin Author Michael Fields

    (@mfields)

    IMO you made the wrong choice. My plugin has been tested on many site using a few of the other plugins that create taxonomies. This is honestly the first that I have heard about “More Taxonomies” and I have installed it and tested it out and it seems like the plugin does not automatically set the query_var property for the taxonomy objects that it creates. IMO this is most likely why you are experiencing these problems.

    Do what you wish, but if you choose to edit my plugin, please change the name. I will probably release an updated version when WordPress 3.1 rolls out and this will overwrite your changes if you accidentally upgrade it.

    Thread Starter Saroj

    (@sarojlakra)

    OK,Changed the name of widget .

    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…

    Plugin Author Michael Fields

    (@mfields)

    Ani10,
    What method have you used to register your taxonomies with WordPress. Please post your code if available.

    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 =/

    Plugin Author Michael Fields

    (@mfields)

    First thing I would try is to comment out the following lines:

    'query_var' => true,
    'rewrite' => true,

    and then refresh your permalinks by visiting Settings -> Permalinks in the Administration Panels. If this does not work, please try the following arguments and then refresh your permalinks again:

    'query_var' => 'formatos',
    'rewrite' => array( 'slug' => 'formatos' ),

    BTW, WordPress does not really do this:

    /%taxonomy%/%taxonomySlug%/

    it does this:

    /%taxonomy%/%taxonomy-slug%/

    If nothing else works, please post a link to the site in question.

    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();

    Plugin Author Michael Fields

    (@mfields)

    Weird, somehow my plugin is setting a capitalized value for the query var:

    ?taxonomy=Formatos is not the same as ?taxonomy=formatos

    Is it possible that you have formatos capitalized somewhere? I don’t think my plugin would do this for you.

    I’ve already rewritten a great deal of this plugin but am waiting to release it until 3.1 is stable.

    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! ?? .

    Plugin Author Michael Fields

    (@mfields)

    No problem, Glad I could help!

    Just voted for your plugin, I almost forgot because of development rush. Works fine on wordpress 3.0.4 =D

    Plugin Author Michael Fields

    (@mfields)

    Thanks! I do appreciate the ratings ?? Glad to hear it works on 3.0.4.

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘[Plugin: Taxonomy Widget] Dynamic link instead of javascipt link’ is closed to new replies.