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.
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://wordpress.org/plugins/social-icons-widget-by-wpzoom/
Good luck!
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”.
Awesome! Thanks for the update. And I’ll check out Gutenberg as you suggest.