WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mugwumpman
    Member
    Posted 5 months 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 5 months ago #

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

  3. ragulka
    Member
    Plugin Author

    Posted 5 months ago #

    Just released version 1.3.0 which adds this option.

  4. mugwumpman
    Member
    Posted 3 months ago #

    Brilliant, much obliged. Many thanks!

  5. mugwumpman
    Member
    Posted 3 months ago #

    Brilliant, much obliged. Many thanks!

  6. RonStrilaeff
    Member
    Posted 3 months ago #

    Thanks ragulka! This is more intuitive in my case.

Reply

You must log in to post.

About this Plugin

About this Topic