Forums

Retrieving the taxonomy value of the tag cloud widget (1 post)

  1. leichim
    Member
    Posted 8 months ago #

    I've the following array which is a part of a function to replace (filter) the standard wp_tag_cloud function.
    $args = array(
    'smallest' => 13, 'largest' => 13, 'unit' => 'px', 'number' => 45,
    'format' => 'flat', 'separator' => "\n", 'orderby' => 'name', 'order' => 'ASC',
    'exclude' => '', 'include' => '', 'link' => 'view', 'taxonomy' => 'post_tag', 'echo' => true

    The default taxonomy here is 'post_tag', but I want the value from the default widget here. I searched a lot in includes/default-widgets.php, but I can not find how I can insert the value that is selected in the standard 'Tag Cloud Widget' (either category or tags). Thanks in advance!

Reply

You must log in to post.

About this Topic