Support » Plugin: WP-Ticker » link wp-ticker widget title
3 years, 2 months ago
Got it working nice in a widget in my sidebar – I’d like to link the widget title to a specific url – but the widget editor removes html.
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,
jQuery("#wp_tickerwid_fe h3").html("<a href='http://www.linktomysite.aa' target='_blank'>"+jQuery("#wp_tickerwid_fe h3").html()+"</a>");
You certainly may add some other parameters to the tag e.g. id=’…’ , style=’…’, class=’…’ etc. to adjust the “look and feel”.
Thanks, I’m not having luck with either solution – you can see option 2 here in the source: http://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
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.
3 years, 1 month ago
No response, seems to be resolved.