Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi dudz1ok,

    The captions support HTML, so you could set your caption to something like this:

    <a href='https://www.google.com'>Your Caption</a>

    Regards,
    Tom

    Thread Starter dudz1ok

    (@dudz1ok)

    Hi

    This is my edited function:

    public function build_anchor_tag( $attributes, $content ) {
           $html = "<div style='position:relative;'>
    					".$content."
    					<a href=".$attributes['href']." class='nivo-imageLink'>".$attributes['data-title']."</a>
    				</div>";
    
            return $html;
        }

    and does not work ;-(

    EDIT:
    I have 2 titles per one slider ;-(

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link on title’ is closed to new replies.