Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 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)

    Exactly! Is it possible?

    I had an idea. Can you help me with the development?
    It would be very nice, if inside the Drill Down Widget we could select a custom post type (from a list) and one of the taxonomies associate with that custom post type (auto loaded after we select the custom post type) and the widget would search by that custom post type and taxonomy. No more need for the filter function…
    Is it possible to do something like this ?

Viewing 2 replies - 16 through 17 (of 17 total)