WordPress.org

Ready to get started?Download WordPress

Forums

Image Widget
[resolved] feature request: add option for hyperlink - rel-nofollow (2 posts)

  1. ybikov
    Member
    Posted 1 year ago #

    feature request:
    add option (checkbox) for created link: rel="nofollow" , please

    http://wordpress.org/extend/plugins/image-widget/

  2. Modern Tribe, Inc.
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @ybikov, our mission with this is to keep it as feature lite as possible since many people don't need that checkbox and may even be confused by it. Instead, we have included a lot of hooks in the code to let you control that sort of thing and possibly even code your own checkbox (though i haven't tried doing that through hooks so i'm not sure if it might need some patches to make that work).

    If you'd like all the links to be rel="nofollow" then you can simply use the 'sp_template_image-widget_widget' filter (or even make an 'image-widget' folder in your theme) to make your own version of the views/widget.php file where rel='nofollow' is baked in.

    I'm open to other suggestions so long as most users don't have to be faced with superfluous UI. If you'd like other filters in the code, that is up for debate as well.

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic