Make entire sidebar widget a link? (4 posts)

  1. databell96
    Posted 3 years ago #

    Not sure if this is possible but I have a client who wants certain sidebar text widgets to be an entire link. In other words, not just does the text link to something (which it already does) but the entire widget itself must link to the page in question. I'm not sure if there's a plugin or some scripting method to do this. Mind you, not all widgets will need this functionality. Only certain ones. Any ideas?

  2. wpbum
    Posted 3 years ago #

    Wrap everything in <a href="">widget code</a>.

    But how to do it greatly depends on your theme and what widget type it is.

  3. databell96
    Posted 3 years ago #

    It's based on Twenty Twelve and it's the text widgets. But again, not all text widgets need links and each widget's link is different.

  4. Profolegy
    Posted 2 years ago #

    I have a video on this here,plus how to make the link trackable as well.

Topic Closed

This topic has been closed to new replies.

About this Topic