Support » Plugins and Hacks » Hacks » Add Link to Only Part of Widget Title
3 years, 11 months ago
For the default search sidebar widget, I want to add “( Advanced Search )” next to the widget title “Search”.
I wish this Advanced Search to be hyperlinked to a webpage on my site.
Can anyone advise as to how I would go about this?
Here is the idea (not exact code) how you can pull that off:
1. Add text widget to a widget area (let’s call it MAIN)
2. Add your link code:
<a id="webpage" href="http://anothersite.com/">Webpage<a/>
3. Use CSS to make that MAIN widget area block relative with position relative
4. Use absolute positioning for the webpage link
You have to change the top and right values until you get it right with trials and errors…