Image Widget
need another link target _top or _parent (2 posts)

  1. ellebillias
    Posted 5 years ago #

    plugin works great except I don't want the link to open in a new window or the same window, I need it to open in the top window or the parent window, can this be added to the plugin please?


  2. ellebillias
    Posted 4 years ago #

    I was able to get this to work by adding these two extra lines of code to widget-admin.php inserted after Line 38

    <option value="_top"<?php selected( $instance['linktarget'], '_top' ); ?>><?php _e('Open Top Window', $this->pluginDomain); ?></option>
    	<option value="_parent"<?php selected( $instance['linktarget'], '_parent' ); ?>><?php _e('Open Parent Window', $this->pluginDomain); ?></option>

    Could this possibly be included in the plugin as I'm sure others would find the extra options valuable.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Image Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic