Title: Feature request &#8211; make widget title a link (solution)
Last modified: August 21, 2016

---

# Feature request – make widget title a link (solution)

 *  [unick69](https://wordpress.org/support/users/unick69/)
 * (@unick69)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/feature-request-make-widget-title-a-link-solution/)
 * I saw this post and thought I’d share a quick fix.
    [http://wordpress.org/support/topic/plugin-genesis-featured-widget-amplified-feature-request-make-widget-title-a-link](http://wordpress.org/support/topic/plugin-genesis-featured-widget-amplified-feature-request-make-widget-title-a-link)
 * add these lines to the _widget.php_ file
 * to the _function \_\_construct _ in the _Genesis\_Featured\_Widget\_Amplified_
   class (near line 50)
 * add this
 *     ```
       'title_url' => '',
       ```
   
 * in _function widget( $args, $instance )_ (near line 133)
 * just under
 *     ```
       /** Merge with defaults */
       $instance = wp_parse_args( (array) $instance, $this->defaults );
       ```
   
 * add
 *     ```
       if( !empty($instance['title_url']) ) {
           $before_title_url = '<a href="'.$instance['title_url'].'">';
           $after_title_url = '</a>';
       }
       ```
   
 * and modify the
 *     ```
       echo $before_title . apply_filters( 'widget_title', $instance['title'] ) . $after_title;
       ```
   
 * as follow
 *     ```
       echo $before_title . $before_title_url . apply_filters( 'widget_title', $instance['title'] ) . $after_title_url . $after_title;
       ```
   
 * and in the _function form($instance) _(near line 321)
 * add this to the columns array
 *     ```
       'title_url'  => array(
                        'label'       => __( 'Title URL', 'gfwa' ),
       		 'description' => 'Set the link of the title of this widget',
       		 'type'        => 'text',
       		 'save'        => true,
       		 'requires'    => '',
       ),
       ```
   
 * You should now have a new box in the widget area, just type in the url of the
   title in and you should be all set
 * [https://wordpress.org/plugins/genesis-featured-widget-amplified/](https://wordpress.org/plugins/genesis-featured-widget-amplified/)

Viewing 1 replies (of 1 total)

 *  [healthable](https://wordpress.org/support/users/healthable/)
 * (@healthable)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/feature-request-make-widget-title-a-link-solution/#post-4812143)
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Feature request – make widget title a link (solution)’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/genesis-featured-widget-amplified_7e7976.
   svg)
 * [Genesis Featured Widget Amplified](https://wordpress.org/plugins/genesis-featured-widget-amplified/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-featured-widget-amplified/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-featured-widget-amplified/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-featured-widget-amplified/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-featured-widget-amplified/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-featured-widget-amplified/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [healthable](https://wordpress.org/support/users/healthable/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/feature-request-make-widget-title-a-link-solution/#post-4812143)
 * Status: not resolved