Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author sgt

    (@sgt)

    Maybe there are two ways to solve this “problem”:
    1. install the plugin “Widget Title Links”. With that you can specify title links for all used widgets, WP-Ticker included,

    or

    2. put the following JavaScript code in the footer.php (above the < / body> tag:

    <script type="text/javascript">
    jQuery(document).ready(function() {
    jQuery("#wp_tickerwid_fe h3").html("<a href='https://www.linktomysite.aa' target='_blank'>"+jQuery("#wp_tickerwid_fe h3").html()+"</a>");
    
    });
    </script>

    You certainly may add some other parameters to the tag e.g. id=’…’ , style=’…’, class=’…’ etc. to adjust the “look and feel”.

    Thread Starter thehighamspark

    (@thehighamspark)

    Thanks, I’m not having luck with either solution – you can see option 2 here in the source: https://sivanarulillam.org/donate-now/ but it doesnt seem to do anything with my site.

    The former Widget Title Links – works with the text widget & other widgets, but theres no ‘title link’ box added in the widget edit area for my WP Ticker.

    I’m running 3.7.1

    Thanks again,

    Adrian

    Plugin Author sgt

    (@sgt)

    Ah, ok, the reason for that is your theme.
    Just replace “#wp_tickerwid_fe h3” with “#wp_tickerwid_fe h1” because your widget titles are tagged with < h1 > (and not with < h3 >).
    That should work.

    Plugin Author sgt

    (@sgt)

    No response, seems to be resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘link wp-ticker widget title’ is closed to new replies.