• Resolved sgclark

    (@sgclark)


    Is there a way to add the rel="me" indicator to the Social Links ‘Widget’? Tried doing it to the icons/links in the footer of my site and it broke the links. See below for standard details. Used actively on Mastodon.

    https://microformats.org/wiki/rel-me

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    Is this Social Links ‘Widget’ a feature of a plugin you use? If so, I recommend asking at that plugin’s dedicated support.

    Or, if it is a feature of your currently active theme, then I recommend asking at that theme’s dedicated support.

    Thread Starter sgclark

    (@sgclark)

    It is neither. It appears to be a native element of WordPress.

    https://www.dropbox.com/s/9dspkuiiw3uuszv/Screen%20Shot%202023-02-04%20at%207.39.20%20PM.png?dl=0

    Moderator t-p

    (@t-p)

    It appears to be a native element of WordPress

    No! Out of the box, WP core does not come with such widget.

    By the way, are you using Jetpack plugin or any other social plugin?

    sgclark: You need to be very specific when calling out elements of your site you need help with. Your screenshot shows the Social Icons block, which is a core feature. Social Links widget is not.

    And this is NOT a matter of being pedantic: there are things out there called Social Links widget!

    As to the core question you’re asking…

    No, you can’t add the attribute rel="me" to the native Social Icons block’s links.

    But there’s a simple solution to your actual problem of proving ownership of your site to Mastodon: you simply have to create a link to your Mastodon profile — ANY link — and add the rel="me" attribute. You don’t have to use the Social Icons block, and it doesn’t have to show an icon or even link text at all.

    So you can add a CUSTOM HTML block in your footer, with code like this:

    <a href="https://mastodon.social/@YourProfile" rel="me"></a>

    This will serve the intended purpose without showing an additional icon or text link to your human readers.

    Alternatively, you may switch to a 3rd-party social icons plugin that has this built-in, for example: https://www.ads-software.com/plugins/social-icons-widget-by-wpzoom/

    Good luck!

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    This is being added for the next version.

    If you want to use it now, install the Gutenberg plugin. On each social icon on the right hand side, under the advanced drop down, there is a “link rel” field. Type in “me”.

    Thread Starter sgclark

    (@sgclark)

    Awesome! Thanks for the update. And I’ll check out Gutenberg as you suggest.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add rel=”me” To Social Icon Links’ is closed to new replies.