WordPress.org

Forums

Widget Title Links
[resolved] Making the entire title-bar clickable (6 posts)

  1. Matt
    Member
    Posted 1 year ago #

    Hey loving this simple little plugin.

    The only thing is I'd like my widget's entire title-bar clickable rather than just the characters, as it would be a lot more intuitive in the context of my tile-based website design, and also better for lazy touch-screen use.

    In a way implementing it shouldn't be too tricky, as it would just mean switching the code from creating <h3><a>Title</a></h3> to creating <a><h3>Title</h3></a> but I'm aware the wrapping of <h>s in s was frowned upon in older versions of html, so that might be why you've steered clear of that.

    Could there be the option to choose between the two?

    Cheers, Matt

    http://wordpress.org/plugins/widget-title-links/

  2. ragulka
    Member
    Plugin Author

    Posted 1 year ago #

    That sounds like a totally valid use case. I'll try to implement it over the weekend.

  3. ragulka
    Member
    Plugin Author

    Posted 1 year ago #

    Just released version 1.3.0 which adds this option.

  4. Matt
    Member
    Posted 1 year ago #

    Brilliant, much obliged. Many thanks!

  5. Matt
    Member
    Posted 1 year ago #

    Brilliant, much obliged. Many thanks!

  6. RonStrilaeff
    Member
    Posted 1 year ago #

    Thanks ragulka! This is more intuitive in my case.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Widget Title Links
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic