Support » Plugin: Image Widget » What's the easiest way to add a link to the title using the widget.php template?

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

    (@joeythesquid)

    Can anyone offer any assistance on this? I’m stuck. 🙁

    Into widget.php on line 12

    if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }

    Change this line

    if ( !empty( $title ) ) { echo $before_title . '<a href="'.$link.'" target="'.$linktarget.'">' . $title . '</a>' . $after_title; }

    the title take the link of the image

    Joey

    (@joeythesquid)

    Wonderful! Thank you so much. It works perfectly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘What's the easiest way to add a link to the title using the widget.php template?’ is closed to new replies.