• Very excited to find this plugin! Looking to use this plugin to allow a user to select from a category, and then the resulting pages load up on three widgets. http://cl.ly/image/0B3e1L1A1A2F

    I am hoping to have the widgets set by a Post Title (Day 1, Day 2, Day 3) and being populated with the most recent post of that category.

    Where “Train me for a Marathon” — Marathon is the Category, and user selects it from a dropdown with 4 other categories.

    The widgets with Day 1 / Day 2 / and Day 3 will be updated with the posts tagged with that category.

    Can you please describe how I can add this script to my home page, and set it for the widgets?

    Thanks so much!
    Catharine

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

Viewing 1 replies (of 1 total)
  • Plugin Author ajayver

    (@ajayver)

    Hi!
    Since you don’t need to filter by tag, you can use native wordpress function of a categories dropdown:

    <li id="categories">
    	<h2><?php _e('Posts by Category'); ?></h2>
    	<form action="<?php bloginfo('url'); ?>/" method="get">
    	<div>
    <?php
    $select = wp_dropdown_categories('show_option_none=Select category&show_count=1&orderby=name&echo=0');
    $select = preg_replace("#<select([^>]*)>#", "<select$1 onchange='return this.form.submit()'>", $select);
    echo $select;
    ?>
    	<noscript><div><input type="submit" value="View" /></div></noscript>
    	</div></form>
    </li>

    More info here: http://codex.wordpress.org/Function_Reference/wp_dropdown_categories

Viewing 1 replies (of 1 total)
  • The topic ‘Category Filter at Top, with Selected Category Pages updating in Widgets’ is closed to new replies.