Version Description
Download this release
Release Info
Developer | petervanderdoes |
Plugin | AVH Extended Categories Widgets |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- 2.8/avh-ec.client.php +1 -1
- 2.8/class/avh-ec.core.php +5 -5
- 2.8/class/avh-ec.widgets.php +3 -3
- readme.txt +38 -24
- widget-pre2.8.php +1 -1
- widget_extended_categories.php +1 -1
2.8/avh-ec.client.php
CHANGED
@@ -24,7 +24,7 @@ function avhextendedcategories_init ()
|
|
24 |
function avhextendedcategories_widgets_init ()
|
25 |
{
|
26 |
register_widget( 'WP_Widget_AVH_ExtendedCategories_Normal' );
|
27 |
-
register_widget( '
|
28 |
}
|
29 |
|
30 |
add_action( 'plugins_loaded', 'avhextendedcategories_init' );
|
24 |
function avhextendedcategories_widgets_init ()
|
25 |
{
|
26 |
register_widget( 'WP_Widget_AVH_ExtendedCategories_Normal' );
|
27 |
+
register_widget( 'WP_Widget_AVH_ExtendedCategories_Top' );
|
28 |
}
|
29 |
|
30 |
add_action( 'plugins_loaded', 'avhextendedcategories_init' );
|
2.8/class/avh-ec.core.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
class
|
3 |
{
|
4 |
var $version;
|
5 |
var $comment;
|
@@ -10,16 +10,16 @@ class AVHExtendendCategoriesCore
|
|
10 |
*/
|
11 |
function __construct ()
|
12 |
{
|
13 |
-
$this->version = '2.0.
|
14 |
$this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
|
15 |
}
|
16 |
|
17 |
/**
|
18 |
* PHP4 Constructor
|
19 |
*
|
20 |
-
* @return
|
21 |
*/
|
22 |
-
function
|
23 |
{
|
24 |
$this->__construct();
|
25 |
}
|
@@ -33,7 +33,7 @@ class AVHExtendendCategoriesCore
|
|
33 |
{
|
34 |
static $_instance;
|
35 |
if ( $_instance === null ) {
|
36 |
-
$_instance = & new
|
37 |
}
|
38 |
return $_instance;
|
39 |
}
|
1 |
<?php
|
2 |
+
class AVHExtendedCategoriesCore
|
3 |
{
|
4 |
var $version;
|
5 |
var $comment;
|
10 |
*/
|
11 |
function __construct ()
|
12 |
{
|
13 |
+
$this->version = '2.0.2';
|
14 |
$this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
|
15 |
}
|
16 |
|
17 |
/**
|
18 |
* PHP4 Constructor
|
19 |
*
|
20 |
+
* @return AVHExtendedCategoriesCore
|
21 |
*/
|
22 |
+
function AVHExtendedCategoriesCore ()
|
23 |
{
|
24 |
$this->__construct();
|
25 |
}
|
33 |
{
|
34 |
static $_instance;
|
35 |
if ( $_instance === null ) {
|
36 |
+
$_instance = & new AVHExtendedCategoriesCore( );
|
37 |
}
|
38 |
return $_instance;
|
39 |
}
|
2.8/class/avh-ec.widgets.php
CHANGED
@@ -13,7 +13,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
|
|
13 |
*/
|
14 |
function __construct ()
|
15 |
{
|
16 |
-
$this->core = &
|
17 |
|
18 |
//Convert the old option widget_extended_categories to widget_extended-categories
|
19 |
$old = get_option( 'widget_extended_categories' );
|
@@ -319,7 +319,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
|
|
319 |
* Widget Class for displaying the top categories
|
320 |
*
|
321 |
*/
|
322 |
-
class
|
323 |
{
|
324 |
var $core;
|
325 |
|
@@ -329,7 +329,7 @@ class WP_Widget_AVH_ExtendendCategories_Top extends WP_Widget
|
|
329 |
*/
|
330 |
function __construct ()
|
331 |
{
|
332 |
-
$this->core = &
|
333 |
|
334 |
$widget_ops = array ('description' => __( "Shows the top categories." ) );
|
335 |
WP_Widget::__construct( false, __( 'AVH Extended Categories Top' ), $widget_ops );
|
13 |
*/
|
14 |
function __construct ()
|
15 |
{
|
16 |
+
$this->core = & AVHExtendedCategoriesCore::getInstance();
|
17 |
|
18 |
//Convert the old option widget_extended_categories to widget_extended-categories
|
19 |
$old = get_option( 'widget_extended_categories' );
|
319 |
* Widget Class for displaying the top categories
|
320 |
*
|
321 |
*/
|
322 |
+
class WP_Widget_AVH_ExtendedCategories_Top extends WP_Widget
|
323 |
{
|
324 |
var $core;
|
325 |
|
329 |
*/
|
330 |
function __construct ()
|
331 |
{
|
332 |
+
$this->core = & AVHExtendedCategoriesCore::getInstance();
|
333 |
|
334 |
$widget_ops = array ('description' => __( "Shows the top categories." ) );
|
335 |
WP_Widget::__construct( false, __( 'AVH Extended Categories Top' ), $widget_ops );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.avirtualhome.com/wordpress-plugins/
|
|
4 |
Tags: extended, categories, widget, top categories
|
5 |
Requires at least: 2.3
|
6 |
Tested up to: 2.8
|
7 |
-
Stable tag: 2.0.
|
8 |
|
9 |
The AVH Extended Categories Widget gives you two widgets for displaying categories. One is a replacement of the default category widget to allow for greater customization. The second is a Top Categories widget.
|
10 |
|
@@ -65,26 +65,40 @@ You select to display all categories, select to Show hierarchy and select how ma
|
|
65 |
== Screenshots ==
|
66 |
None
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
*
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
*
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
*
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
*
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Tags: extended, categories, widget, top categories
|
5 |
Requires at least: 2.3
|
6 |
Tested up to: 2.8
|
7 |
+
Stable tag: 2.0.2
|
8 |
|
9 |
The AVH Extended Categories Widget gives you two widgets for displaying categories. One is a replacement of the default category widget to allow for greater customization. The second is a Top Categories widget.
|
10 |
|
65 |
== Screenshots ==
|
66 |
None
|
67 |
|
68 |
+
|
69 |
+
== Changelog ==
|
70 |
+
|
71 |
+
= Version 2.0.2 =
|
72 |
+
* Top categories widget caused error in PHP4.
|
73 |
+
|
74 |
+
= Version 2.0.1 =
|
75 |
+
* Reported problem with calling a class by self ()
|
76 |
+
|
77 |
+
= Version 2.0 =
|
78 |
+
* Updated for WordPress 2.8. Unlimited amount of Extended Categories widgets is now possible.
|
79 |
+
* In WordPress 2.8 you have the options to select depth when showing hierarchy. See FAQ for more information.
|
80 |
+
* With WordPress 2.8 there is a new widget, AVH Extended Categories Top. This will show the top categories based on amount of posts.
|
81 |
+
|
82 |
+
= Version 1.5.1 =
|
83 |
+
* Bugfix: Compatibility issue with the plugin wp-security-scan
|
84 |
+
|
85 |
+
= Version 1.5 =
|
86 |
+
* RFC: Option to show RSS feed after categories
|
87 |
+
|
88 |
+
= Version 1.4.1 =
|
89 |
+
* Bugfix: Problem when using multiple widgets with the dropdown option.
|
90 |
+
|
91 |
+
= Version 1.4 =
|
92 |
+
* Ability to have up to 9 widgets.
|
93 |
+
|
94 |
+
= Version 1.3 =
|
95 |
+
* You can select which categories to show (Requires WordPress 2.5.1 or higher).
|
96 |
+
|
97 |
+
= Version 1.2 =
|
98 |
+
* When no category or an empty category is selected the dropdown menu shows Select Category, like the default category widget.
|
99 |
+
|
100 |
+
= Version 1.1 =
|
101 |
+
* Dropdown menu didn't work. Page wasn't refreshed with selected category.
|
102 |
+
|
103 |
+
= Version 1.0 =
|
104 |
+
* Initial version
|
widget-pre2.8.php
CHANGED
@@ -7,7 +7,7 @@ function widget_extended_categories_init() {
|
|
7 |
}
|
8 |
|
9 |
function widget_extended_categories($args, $number = 1) {
|
10 |
-
$version = '2.0.
|
11 |
// Check for version
|
12 |
require (ABSPATH . WPINC . '/version.php');
|
13 |
if ( version_compare($wp_version, '2.5.1', '<') ) {
|
7 |
}
|
8 |
|
9 |
function widget_extended_categories($args, $number = 1) {
|
10 |
+
$version = '2.0.2';
|
11 |
// Check for version
|
12 |
require (ABSPATH . WPINC . '/version.php');
|
13 |
if ( version_compare($wp_version, '2.5.1', '<') ) {
|
widget_extended_categories.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Extended Category Widget
|
4 |
Plugin URI: http://blog.avirtualhome.com/wordpress-plugins
|
5 |
Description: Replacement of the category widget to allow for greater customization of the category widget.
|
6 |
-
Version: 2.0.
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|
3 |
Plugin Name: Extended Category Widget
|
4 |
Plugin URI: http://blog.avirtualhome.com/wordpress-plugins
|
5 |
Description: Replacement of the category widget to allow for greater customization of the category widget.
|
6 |
+
Version: 2.0.2
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|