WordPress.org

Ready to get started?Download WordPress

Forums

Cat + Tag Filter
[resolved] Widget code not displaying all $inst, $arg (2 posts)

  1. dmetelski
    Member
    Posted 2 years ago #

    Hi,

    I am trying to configure using the widget code and it is only picking up the first argument and not the others. Here is the code I am using

    <?php the_widget('cat_tag_filter','title=Sort:','button_title=Filter','cat_list_label=Show resources for:','tag_list_label=Of type:','all_tags_text=Any media type'); ?>

    Ideas?

    Thanks!

    http://wordpress.org/extend/plugins/cat-tag-filter-widget/

  2. ajayver
    Member
    Plugin Author

    Posted 2 years ago #

    Try using this code:

    <?php the_widget('cat_tag_filter','title=Sort:&button_title=Filter&cat_list_label=Show resources for:&tag_list_label=Of type:&all_tags_text=Any media type'); ?>

    or

    <?php
    $args = array(
    'title' => 'Sort:',
    'button_title' => 'Filter'
    'cat_list_label' => 'Show resources for:'
    'tag_list_label' => 'Of type:'
    'all_tags_text' => 'Any media type',
    );
    the_widget('cat_tag_filter', $args); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.