Changeset 628903
- Timestamp:
- 11/23/2012 09:14:26 AM (12 years ago)
- Location:
- cat-tag-filter-widget
- Files:
-
- 11 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cat-tag-filter-widget/trunk/cat-tag-filter.php
r624028 r628903 5 5 Description: This plugin adds a widget to your WordPress site that allows your visitors to filter posts by category and tag. 6 6 Author: Ajay Verma 7 Version: 0.9 7 Version: 0.9.1 8 8 Author URI: http://ajayver.com/ 9 9 */ … … 458 458 459 459 $new_rules = array( 460 $taxonomies[$widget_options['category_tax']]->rewrite['slug'] . '/(.+?)/' . $taxonomies[$widget_options['tag_tax']]->rewrite['slug'] . '/(.+?)/?$' => 'index.php?' . $taxonomies[$widget_options['category_tax']]->query_var . '=' . $wp_rewrite->preg_index(1) . '&' . $taxonomies[$widget_options['tag_tax']]->query_var . '=' . $wp_rewrite->preg_index(2) 460 $taxonomies[$widget_options['category_tax']]->rewrite['slug'] . '/(.+?)/' . $taxonomies[$widget_options['tag_tax']]->rewrite['slug'] . '/(.+?)/page/?([0-9]{1,})/?$' => 'index.php?' . $taxonomies[$widget_options['category_tax']]->query_var . '=' . $wp_rewrite->preg_index(1) . '&' . $taxonomies[$widget_options['tag_tax']]->query_var . '=' . $wp_rewrite->preg_index(2) . '&paged=' . $wp_rewrite->preg_index(3), 461 $taxonomies[$widget_options['category_tax']]->rewrite['slug'] . '/(.+?)/' . $taxonomies[$widget_options['tag_tax']]->rewrite['slug'] . '/(.+?)/?$' => 'index.php?' . $taxonomies[$widget_options['category_tax']]->query_var . '=' . $wp_rewrite->preg_index(1) . '&' . $taxonomies[$widget_options['tag_tax']]->query_var . '=' . $wp_rewrite->preg_index(2) 462 461 463 ); 462 464 $wp_rewrite->rules = $new_rules + $wp_rewrite->rules; -
cat-tag-filter-widget/trunk/readme.txt
r624028 r628903 5 5 Requires at least: 2.8 6 6 Tested up to: 3.4.2 7 Stable tag: 0.9 7 Stable tag: 0.9.1 8 8 9 9 This plugin adds a widget to your WordPress site that gives your visitors an ability to filter all your posts by a category or/and tag. … … 22 22 1. Go to your Wordpress admin dashboard -> Plugins -> Add new, then search for **Cat + Tag Fliter** and agree to install it. 23 23 2. Go to youк widget options and change the widgets settings. 24 3. Sometimes it is needed to manually flush therewrite rules. Go to your Permalinks Options and change it to something else, save, and then change it back to normal.24 3. Sometimes it is needed to manually flush rewrite rules. Go to your Permalinks Options and change it to something else, save, and then change it back to normal. 25 25 26 26 If it didn't work, try this: … … 29 29 2. Activate the plugin through the 'Plugins' menu in WordPress 30 30 3. Go to your widgets settings and add Cat + Tag Filter widget to your sidebar. 31 4. Sometimes it is needed to manually flush the rewrite rules. Go to your Permalinks Options and change it to something else, save, and then change it back to normal.32 31 33 32 If your theme doesn't support widgets, you can use this code: … … 73 72 == Frequently Asked Questions == 74 73 75 If the plugin seems to be working not as intended, try to manually flush the rewrite rules. Go to your Permalinks Options and change it to something else, save, and then change it back to normal.74 None. 76 75 77 76 == Changelog == 77 78 = 0.9.1 = 79 * fixed 404 on pages 78 80 79 81 = 0.9 =
Note: See TracChangeset
for help on using the changeset viewer.