How to fix Custom Field for thumbnails in WPZoom Featured Category widget

WPZoom Featured Widget is a widget built inside WPZOOM themes to show Featured Category posts
The widget display thumbnail images, post titles and post meta datas from selected Featured Category
There’s a bug in wpzoom-widgets.php where as all widgets code are. The widget cannot display thumbnail images from custom field set by WPZOOM Theme Options > Miscellaneous.

This bug is easy to fix.

1. Go to functions folder, open wpzoom-widgets.php in text editor

2. Find the following comments :

/*------------------------------------------*/
/* WPZOOM: Featured Category widget	    */
/*------------------------------------------*/

3. Go to line where the following code is


while (have_posts()) : the_post(); ?>

4. Add the following code above no 3

global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: