Changeset 624028
- Timestamp:
- 11/12/2012 01:19:26 PM (12 years ago)
- Location:
- cat-tag-filter-widget
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cat-tag-filter-widget/tags/0.9/cat-tag-filter.php
r619017 r624028 108 108 endwhile; 109 109 endif; 110 wp_reset_query(); 110 111 if (isset($all_tag_ids)){ 111 112 … … 236 237 237 238 static function install() { 238 //Ensure the $wp_rewrite global is loaded 239 global $wp_rewrite; 240 //Call flush_rules() as a method of the $wp_rewrite object 241 $wp_rewrite->flush_rules(); 239 flush_rewrite_rules(); 242 240 } 243 241 … … 293 291 $instance['category_tax'] = $new_instance['category_tax']; 294 292 $instance['tag_tax'] = $new_instance['tag_tax']; 295 global $wp_rewrite; 296 //Call flush_rules() as a method of the $wp_rewrite object 297 $wp_rewrite->flush_rules(); 293 flush_rewrite_rules(); 298 294 return $instance; 299 295 } -
cat-tag-filter-widget/tags/0.9/readme.txt
r619017 r624028 21 21 22 22 1. Go to your Wordpress admin dashboard -> Plugins -> Add new, then search for **Cat + Tag Fliter** and agree to install it. 23 2. Go to youк widget options and change the widgets settings. 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. 23 25 24 26 If it didn't work, try this: … … 74 76 == Changelog == 75 77 78 = 0.9 = 79 * Added permalinks support. If it doesn't work - flush rewrite rules! 80 76 81 = 0.8.4 = 77 82 * Added an option to switch off corresponding tags mode. -
cat-tag-filter-widget/trunk/cat-tag-filter.php
r619017 r624028 108 108 endwhile; 109 109 endif; 110 wp_reset_query(); 110 111 if (isset($all_tag_ids)){ 111 112 … … 236 237 237 238 static function install() { 238 //Ensure the $wp_rewrite global is loaded 239 global $wp_rewrite; 240 //Call flush_rules() as a method of the $wp_rewrite object 241 $wp_rewrite->flush_rules(); 239 flush_rewrite_rules(); 242 240 } 243 241 … … 293 291 $instance['category_tax'] = $new_instance['category_tax']; 294 292 $instance['tag_tax'] = $new_instance['tag_tax']; 295 global $wp_rewrite; 296 //Call flush_rules() as a method of the $wp_rewrite object 297 $wp_rewrite->flush_rules(); 293 flush_rewrite_rules(); 298 294 return $instance; 299 295 } -
cat-tag-filter-widget/trunk/readme.txt
r619017 r624028 5 5 Requires at least: 2.8 6 6 Tested up to: 3.4.2 7 Stable tag: 0. 8.57 Stable tag: 0.9 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. … … 21 21 22 22 1. Go to your Wordpress admin dashboard -> Plugins -> Add new, then search for **Cat + Tag Fliter** and agree to install it. 23 2. 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. 23 25 24 26 If it didn't work, try this: … … 27 29 2. Activate the plugin through the 'Plugins' menu in WordPress 28 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. 29 32 30 33 If your theme doesn't support widgets, you can use this code: … … 70 73 == Frequently Asked Questions == 71 74 72 None.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. 73 76 74 77 == Changelog == 78 79 = 0.9 = 80 * Added permalinks support. If it doesn't work - flush rewrite rules! 75 81 76 82 = 0.8.4 =
Note: See TracChangeset
for help on using the changeset viewer.