Add Link to Only Part of Widget Title (2 posts)

  1. jordanhuxley
    Posted 3 years 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?

    Thanks Jordan

  2. David Choi
    Posted 3 years ago #

    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

    #webpage {
       right: 10px;

    You have to change the top and right values until you get it right with trials and errors...

Topic Closed

This topic has been closed to new replies.

About this Topic