Plugin Directory

Changeset 628903


Ignore:
Timestamp:
11/23/2012 09:14:26 AM (12 years ago)
Author:
ajayver
Message:

fixed 404 erorr on pages

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  
    55Description: This plugin adds a widget to your WordPress site that allows your visitors to filter posts by category and tag.
    66Author: Ajay Verma
    7 Version: 0.9
     7Version: 0.9.1
    88Author URI: http://ajayver.com/
    99*/
     
    458458       
    459459            $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                 
    461463            );
    462464            $wp_rewrite->rules = $new_rules + $wp_rewrite->rules;
  • cat-tag-filter-widget/trunk/readme.txt

    r624028 r628903  
    55Requires at least: 2.8
    66Tested up to: 3.4.2
    7 Stable tag: 0.9
     7Stable tag: 0.9.1
    88
    99This 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.
     
    22221. Go to your Wordpress admin dashboard -> Plugins -> Add new, then search for **Cat + Tag Fliter** and agree to install it.
    23232. Go to youк widget options and change the widgets settings.
    24 3. 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.
     243. 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.
    2525
    2626If it didn't work, try this:
     
    29292. Activate the plugin through the 'Plugins' menu in WordPress
    30303. 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.
    3231
    3332If your theme doesn't support widgets, you can use this code:
     
    7372== Frequently Asked Questions ==
    7473
    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.
     74None.
    7675
    7776== Changelog ==
     77
     78= 0.9.1 =
     79* fixed 404 on pages
    7880
    7981= 0.9 =
Note: See TracChangeset for help on using the changeset viewer.