{"id":171062,"date":"2023-02-27T22:02:14","date_gmt":"2023-02-27T22:02:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/social-icons-for-mastodon\/"},"modified":"2023-02-27T22:49:50","modified_gmt":"2023-02-27T22:49:50","slug":"social-icons-for-mastodon","status":"closed","type":"plugin","link":"https:\/\/km.wordpress.org\/plugins\/social-icons-for-mastodon\/","author":20779116,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.0","stable_tag":"0.1.0","tested":"6.1.10","requires":"5.3","requires_php":"5.6","requires_plugins":"","header_name":"Social Icons for Mastodon","header_author":"Isaac Joseph","header_description":"Replace links to the top 100 Mastodon domains with the Mastodon svg","assets_banners_color":"","last_updated":"2023-02-27 22:49:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/ijoseph\/mastodon_social_icons\/","header_author_uri":"http:\/\/github.com\/ijoseph","rating":0,"author_block_rating":0,"active_installs":10,"downloads":797,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":{"0.1.0":{"tag":"0.1.0","author":"triumvirate","date":"2023-02-27 22:49:50"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2871950,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2871966,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"<code>mastodon.social<\/code> link in footer is replaced with Mastodon icon! (Mastodon.com is not, which <a href=\"https:\/\/www.mastodon.com\/\">is correct behavior<\/a>)."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[139106,174,2904],"plugin_category":[56],"plugin_contributors":[218493],"plugin_business_model":[],"class_list":["post-171062","plugin","type-plugin","status-closed","hentry","plugin_tags-mastodon","plugin_tags-social","plugin_tags-svg","plugin_category-social-and-sharing","plugin_contributors-triumvirate","plugin_committers-triumvirate"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/social-icons-for-mastodon\/assets\/icon.svg?rev=2871950","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/social-icons-for-mastodon.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/social-icons-for-mastodon\/assets\/screenshot-1.jpg?rev=2871966","caption":"<code>mastodon.social<\/code> link in footer is replaced with Mastodon icon! (Mastodon.com is not, which <a href=\"https:\/\/www.mastodon.com\/\">is correct behavior<\/a>)."}],"raw_content":"<!--section=description-->\n<p>It's aesthetically pleasing to link Wordpress sites to one's Mastodon account by adding a link in the site footer menu to one's Mastodon profile that's replaced with the \"M\" mastodon trunk\/word balloon-logo.<\/p>\n\n<p>Without this plugin, however, this functionality is not <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/57293#ticket\">expected<\/a> to work for any Mastodon domains until 6.2, and at that point, only the top-10-by-volume Mastodon domains.<\/p>\n\n<p>This plugin allows replacing the top-100 (by user) Mastodon domains (as of plugin publication) with the Mastodon logo SVG <a href=\"https:\/\/wordpress.org\/documentation\/article\/twenty-twenty-one\/#add-social-icons\">via this mechanism<\/a>:<\/p>\n\n<blockquote>\n  <p>the text label you provide will be hidden, and an icon will be shown in its place.<\/p>\n<\/blockquote>\n\n<h3>Current Limitations<\/h3>\n\n<ol>\n<li>Currently only works with <a href=\"https:\/\/wordpress.org\/themes\/twentytwentyone\/\">twenty-twenty-one<\/a> theme and later<\/li>\n<li>Non-top-100 domains were queried at plugin publishing time (2023-02-18) from <code>instances.social<\/code>: <code>'https:\/\/instances.social\/api\/1.0\/instances\/list?count=0&amp;include_closed=true&amp;include_down=false&amp;sort_by=users&amp;sort_order=desc<\/code><\/li>\n<\/ol>\n\n<p><a href=\"https:\/\/github.com\/ijoseph\/mastodon_social_icons\">I (or anyone else) can work to address these limitations if there is interest.<\/a><\/p>\n\n<h3>Example<\/h3>\n\n<p>See <a href=\"https:\/\/github.com\/ijoseph\/mastodon_social_icons#2-example\">here<\/a> for the example with screenshots inline.<\/p>\n\n<h4>1. Set up Theme: Twenty Twenty-One<\/h4>\n\n<p><\/p>\n\n<h4>2 Create a Secondary Menu<\/h4>\n\n<p><\/p>\n\n<h4>3 Add custom links<\/h4>\n\n<p><\/p>\n\n<h4>4 Before<\/h4>\n\n<p>\nThe <code>mastodon.com<\/code> logo is (erroneously, as it is not a true mastodon domain) is replaced by the <code>svg<\/code>, but a <code>mastodon.social<\/code> link is <em>not<\/em>.<\/p>\n\n<h4>5 After<\/h4>\n\n<h3>Support<\/h3>\n\n<p>Open an <a href=\"https:\/\/github.com\/ijoseph\/mastodon_social_icons\/issues\">issue on github<\/a>.<\/p>","raw_excerpt":"This plugin replaces footer menu URLs of the top-100 (by user) Mastodon domains (as of plugin publication) with the Mastodon logo SVG via the social i &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/171062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=171062"}],"author":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/triumvirate"}],"wp:attachment":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=171062"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=171062"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=171062"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=171062"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=171062"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=171062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}