Support » Plugin: GD Custom Posts And Taxonomies Tools » [Plugin: GD Custom Posts And Taxonomies Tools] bug version 1.2.3 (auto updated from 1.2.2)

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tiagoalves83

    (@tiagoalves83)

    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 …

    Thread Starter tiagoalves83

    (@tiagoalves83)

    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;
    }
    Plugin Author Milan Petrovic

    (@gdragon)

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

    Plugin Author Milan Petrovic

    (@gdragon)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: GD Custom Posts And Taxonomies Tools] bug version 1.2.3 (auto updated from 1.2.2)’ is closed to new replies.