A dead-simple block theme for WordPress. Supports the “IndieBlocks” post types.
Live examples:
- https://jan.boddez.net (using a child theme)
- https://ochtendgrijs.be (using a child theme that's really just a tiny bit of custom CSS)
Add Fediverse icons to your WordPress site's social menu.
Home Page: https://jan.boddez.net/wordpress/add-fediverse-icons-to-jetpack
License: GNU General Public License v3.0
A dead-simple block theme for WordPress. Supports the “IndieBlocks” post types.
Live examples:
…Just as the title says, and since Bluesky will be federating its protocol soon, it’d be nice to have a “Share to Bluesky” Jetpack link added using their 🦋 icon.
Issues · janboddez/add-fediverse-icons-to-jetpack by janboddez ( GitHub)
Add Fediverse icons to your WordPress site’s social menu. – Issues · janboddez/add-fediverse-icons-to-jetpack
(Originally published at: https://starrwulfe.xyz/t/1yp6)
The function_exists('jetpack_social_menu_get_svg')
returns false even when the Jetpack class exists.
On (older) sites that just support Jetpack's social menu (e.g., those running "older" Automattic themes), there doesn't seem to be an issue.
I've used this plugin for a bit, and with other themes, it works well. However, when using twentytwenty, it doesn't seem to set the icons correctly.
Is it due to TwentyTwenty using it's own setup?
Hi,
is there a Fix?
We may have been lucky with the current 2020 workaround.
Right now, when an instance of the main plugin class is created, it's referenced nowhere, and thus hooks can't be removed. Static methods would solve that, as would the "Singleton" pattern.
It's probably smart to check the jetpack_social_menu_get_svg()
function actually exists, so as not to trigger any fatal errors.
See #7.
There may be another conflict, though, and that's that there would be two SVG symbols with id="icon-mastodon". Not sure which one browsers would pick, presumably the first one, but it'd still "invalidate" the HTML. Anyway, that I can fix with a prefix.
Current versions of plugin / Jetpack do indeed clash here, although it doesn't seem to show. Still, the markup is invalid so we should fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.