WordPress.org

Ready to get started?Download WordPress

Forums

GD Custom Posts And Taxonomies Tools
bug version 1.2.3 (auto updated from 1.2.2) (5 posts)

  1. tiagoalves83
    Member
    Posted 4 years ago #

    I set a new custom post type called 'questao-prova' (portuguese)
    and then I added several taxonomies to 'questao-prova' ('disciplina', 'banca', etc ..)

    I set gdTT Terms Cloud Widget to the footer of the default WP 3.0 theme to show one of my taxonomies. But instead of showing of my taxonomies the Widget is always showing the 'post_tag' taxonomy.

    Any ideas ?
    my site: http://www.questaodeprova.com.br

    I am also using the query-multiple-taxonomies plugin.

  2. tiagoalves83
    Member
    Posted 4 years ago #

    I am debugging ... so far inside the gdtt-terms-cloud.php I added 2 wp_gdtt_dump():

    Inside function update($new_instance, $old_instance):
    wp_gdtt_dump('update', $instance);
    [2010-07-02 06:31:23] : update

    Array
    (
    [title] => Terms Cloud
    [taxonomy] => cargo
    [number] => 45
    [smallest] => 8
    [largest] => 14
    [orderby] => name
    [order] => asc
    [exclude] =>
    [hide_empty] => 1
    [display_css] =>
    )

    Inside function results($instance):
    wp_gdtt_dump('results', $args);
    [2010-07-02 06:32:05] : results

    Array
    (
    [0] => number=45
    [1] => smallest=8
    [2] => largest=14
    [3] => orderby=name
    [4] => order=asc
    [5] => exclude=
    [6] => hide_empty=1
    [7] => echo=
    )

    Seens that results function are missing array positions ...
    No ideas so far ...

  3. tiagoalves83
    Member
    Posted 4 years ago #

    Ok, now seens to work:

    gdtt-terms-cloud.php
    Inside function results($instance):
    change:

    foreach ($instance as $name => $value) {
        ...
    }

    to:

    foreach ($instance as $name => $value) {
        $args[] = $name."=".$value;
    }
  4. Milan Petrovic
    Member
    Plugin Author

    Posted 4 years ago #

    I will check this. Fix will be available in the next day or two.

  5. Milan Petrovic
    Member
    Plugin Author

    Posted 4 years ago #

    It's fixed now. New version will be released tomorrow, I want to check few more things.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic