Title: [Plugin: Image Widget] Linking the Description
Last modified: August 20, 2016

---

# [Plugin: Image Widget] Linking the Description

 *  [Jeffrey Zinn](https://wordpress.org/support/users/jeffreyzinn/)
 * (@jeffreyzinn)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-image-widget-linking-the-description/)
 * Often I need to link the description as well as the image. This is a bit of toughie
   with the plugin as is (which I love and use frequently). But a small addition
   could make it easier for others. In /views/widget.php, if line 43 is changed 
   from
 * $text = apply_filters( ‘widget_text’, $description );
 * to
 * $text = apply_filters( ‘widget_text’, $description, $instance );
 * then the filter has the ability to pass the link info, if necessary to the user.
 * Thanks again for the great plugin.
 * [http://wordpress.org/extend/plugins/image-widget/](http://wordpress.org/extend/plugins/image-widget/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Peter Chester](https://wordpress.org/support/users/peterchester/)
 * (@peterchester)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-image-widget-linking-the-description/#post-2684303)
 * I’ll make that update. Great suggestion.
 * Alternatively, you can filter the entire widget output php by filtering the path
   in ‘sp_template_image-widget_widget.php’ to a path in your template and you can
   completely rearrange the widget output that way.
 *  [Peter Chester](https://wordpress.org/support/users/peterchester/)
 * (@peterchester)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-image-widget-linking-the-description/#post-2684304)
 * I’m actually updating it to match the args for widget():
 * $text = apply_filters( ‘widget_text’, $description, $args, $instance );
 * This will go out in the next update with a credit to ‘Jeffrey Zinn’ (unless you
   have a more specific credit request)
 * Thanks!
 *  [Peter Chester](https://wordpress.org/support/users/peterchester/)
 * (@peterchester)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-image-widget-linking-the-description/#post-2684306)
 * This is live with the 3.3.4 version!
 * Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Image Widget] Linking the Description’ is closed to new replies.

 * ![](https://ps.w.org/image-widget/assets/icon-256x256.png?rev=2489603)
 * [Image Widget](https://wordpress.org/plugins/image-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/image-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-widget/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Peter Chester](https://wordpress.org/support/users/peterchester/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-image-widget-linking-the-description/#post-2684306)
 * Status: not a support question