Version Description
Download this release
Release Info
Developer | petervanderdoes |
Plugin | AVH Extended Categories Widgets |
Version | 2.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.1
- 2.8/class/avh-ec.core.php +1 -1
- 2.8/class/avh-ec.widgets.php +2 -6
- readme.txt +4 -1
- widget-pre2.8.php +3 -7
- widget_extended_categories.php +1 -1
2.8/class/avh-ec.core.php
CHANGED
@@ -10,7 +10,7 @@ class AVHExtendedCategoriesCore
|
|
10 |
*/
|
11 |
function __construct ()
|
12 |
{
|
13 |
-
$this->version = '2.
|
14 |
$this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
|
15 |
}
|
16 |
|
10 |
*/
|
11 |
function __construct ()
|
12 |
{
|
13 |
+
$this->version = '2.1';
|
14 |
$this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
|
15 |
}
|
16 |
|
2.8/class/avh-ec.widgets.php
CHANGED
@@ -51,11 +51,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
|
|
51 |
if ( empty( $r ) ) {
|
52 |
$i = '';
|
53 |
}
|
54 |
-
|
55 |
-
if ( ! file_exists( ABSPATH . '/' . $i ) ) {
|
56 |
-
$i = '';
|
57 |
-
}
|
58 |
-
}
|
59 |
if ( empty( $d ) ) {
|
60 |
$d = 0;
|
61 |
}
|
@@ -521,7 +517,7 @@ class WP_Widget_AVH_ExtendedCategories_Top extends WP_Widget
|
|
521 |
echo '<br />';
|
522 |
|
523 |
echo '<label for="">';
|
524 |
-
_e( '
|
525 |
echo '<input class="widefat" id="' . $this->get_field_id( 'rssimage' ) . '" name="' . $this->get_field_name( 'rssimage' ) . '" type="text" value="' . $rssimage . '" />';
|
526 |
echo '</label>';
|
527 |
echo '</p>';
|
51 |
if ( empty( $r ) ) {
|
52 |
$i = '';
|
53 |
}
|
54 |
+
|
|
|
|
|
|
|
|
|
55 |
if ( empty( $d ) ) {
|
56 |
$d = 0;
|
57 |
}
|
517 |
echo '<br />';
|
518 |
|
519 |
echo '<label for="">';
|
520 |
+
_e( 'Path (URI) to RSS image:' );
|
521 |
echo '<input class="widefat" id="' . $this->get_field_id( 'rssimage' ) . '" name="' . $this->get_field_name( 'rssimage' ) . '" type="text" value="' . $rssimage . '" />';
|
522 |
echo '</label>';
|
523 |
echo '</p>';
|
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.
|
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 |
|
@@ -67,6 +67,9 @@ None
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
70 |
= Version 2.0.3 =
|
71 |
* Bugfix: When selecting hierarchy and showing of all levels, the hierarchy wouldn't be shown.
|
72 |
|
4 |
Tags: extended, categories, widget, top categories
|
5 |
Requires at least: 2.3
|
6 |
Tested up to: 2.8
|
7 |
+
Stable tag: 2.1
|
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 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= Version 2.1 =
|
71 |
+
* RFC: The path for the RSS image can be URI.
|
72 |
+
|
73 |
= Version 2.0.3 =
|
74 |
* Bugfix: When selecting hierarchy and showing of all levels, the hierarchy wouldn't be shown.
|
75 |
|
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.
|
11 |
// Check for version
|
12 |
require (ABSPATH . WPINC . '/version.php');
|
13 |
if ( version_compare($wp_version, '2.5.1', '<') ) {
|
@@ -27,11 +27,7 @@ function widget_extended_categories_init() {
|
|
27 |
if (empty($r)) {
|
28 |
$i='';
|
29 |
}
|
30 |
-
|
31 |
-
if (! file_exists(ABSPATH . '/'. $i)) {
|
32 |
-
$i='';
|
33 |
-
}
|
34 |
-
}
|
35 |
$title = empty ( $options [$number]['title'] ) ? __ ( 'Categories' ) : attribute_escape($options [$number]['title']);
|
36 |
$style = empty ( $options [$number]['style'] ) ? 'list' : $options [$number]['style'];
|
37 |
if ($avh_extcat_canselectcats) {
|
@@ -192,7 +188,7 @@ function widget_extended_categories_init() {
|
|
192 |
<input class="checkbox" type="checkbox" <?php echo $rssfeed; ?> id="categories-rssfeed-<?php echo $number; ?>" name="categories-rssfeed-<?php echo $number; ?>" />
|
193 |
</label>
|
194 |
|
195 |
-
<label for="categories-rssimage-<?php echo $number; ?>"><?php _e ( '
|
196 |
<input style="width: 250px;" id="categories-rssimage-<?php echo $number; ?>" name="categories-rssimage-<?php echo $number; ?>" type="text" value="<?php echo $rssimage; ?>" />
|
197 |
</label>
|
198 |
|
7 |
}
|
8 |
|
9 |
function widget_extended_categories($args, $number = 1) {
|
10 |
+
$version = '2.1';
|
11 |
// Check for version
|
12 |
require (ABSPATH . WPINC . '/version.php');
|
13 |
if ( version_compare($wp_version, '2.5.1', '<') ) {
|
27 |
if (empty($r)) {
|
28 |
$i='';
|
29 |
}
|
30 |
+
|
|
|
|
|
|
|
|
|
31 |
$title = empty ( $options [$number]['title'] ) ? __ ( 'Categories' ) : attribute_escape($options [$number]['title']);
|
32 |
$style = empty ( $options [$number]['style'] ) ? 'list' : $options [$number]['style'];
|
33 |
if ($avh_extcat_canselectcats) {
|
188 |
<input class="checkbox" type="checkbox" <?php echo $rssfeed; ?> id="categories-rssfeed-<?php echo $number; ?>" name="categories-rssfeed-<?php echo $number; ?>" />
|
189 |
</label>
|
190 |
|
191 |
+
<label for="categories-rssimage-<?php echo $number; ?>"><?php _e ( 'Path (URI) to RSS image:' ); ?>
|
192 |
<input style="width: 250px;" id="categories-rssimage-<?php echo $number; ?>" name="categories-rssimage-<?php echo $number; ?>" type="text" value="<?php echo $rssimage; ?>" />
|
193 |
</label>
|
194 |
|
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.
|
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.1
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|