Skip to content

Commit 2bf5278

Browse files
authored
Merge pull request #57 from circuscode/develop
Fediverse Creator Tag
2 parents b3e3001 + 3386af1 commit 2bf5278

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ The plugin provides the following additional features.
150150
* Custom WordPress Tools
151151
* Maintenance Mode
152152
* Mastodon Verification
153+
* Mastodon Fediverse Creator
153154

154155
## Related Theme
155156

@@ -198,6 +199,7 @@ This project is licensed under the GPL3 License.
198199
Release pending.
199200

200201
* Added: Mastodon Verification
202+
* Added: Mastodon Fediverse Creator
201203
* Added: Block Editor Support Custom Post Type Pinseldisko
202204
* Added: Block Editor Support Custom Post Type Raketenstaub
203205
* Changed: Maintenance Mode Internal Processing

unmus_me.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,22 @@ function unmus_mastodon_verification() {
2727
}
2828
add_action('wp_head', 'unmus_mastodon_verification');
2929

30+
/**
31+
* Mastodon Creator
32+
*
33+
* @since 0.8
34+
* @see https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/
35+
*/
36+
37+
function unmus_mastodon_creator() {
38+
39+
?>
40+
41+
<meta name="fediverse:creator" content="@[email protected]">
42+
43+
<?php
44+
45+
}
46+
add_action('wp_head', 'unmus_mastodon_creator');
47+
3048
?>

0 commit comments

Comments
 (0)