Skip to content

feat(socials): add Bluesky, Mastodon, Blog and RSS options - #7

Merged
JeremieSamson merged 3 commits into
mainfrom
feat/socials-bluesky-mastodon-blog-rss
Aug 26, 2026
Merged

JeremieSamson merged 3 commits into
mainfrom
feat/socials-bluesky-mastodon-blog-rss

Conversation

@JeremieSamson

Copy link
Copy Markdown
Owner

Follow-up to a user suggestion received on LinkedIn: add a blog option to the social media section.

The section was a fixed list of 11 entries. This adds four, taking the opportunity to close the gaps while touching the file: Bluesky and Mastodon as social profiles, Blog and RSS as content links.

Admin

The Social networks section goes from 11 to 15 fields. The new entries are appended after WhatsApp.

Social networks admin section

Public page

Social icons on the public page

Left to right: Instagram, YouTube, Bluesky, Mastodon, Blog, RSS. The RSS and Blog glyphs reuse the plugin's existing Feather-like style. Mastodon is a hand-simplified rounded shield with the m. Bluesky is the official butterfly rescaled to the 24x24 box, since a hand-drawn approximation read as a bow tie at small sizes. All of them stay within the wp_kses whitelist used by the template (path and circle only).

Ordering

New keys are appended to BIOLINKS_SOCIAL_KEYS, never inserted. The front end renders in the JSON insertion order, which follows that constant, so existing installs keep their current icon order after the update.

Housekeeping

Drops BIOLINKS_SOCIAL_DOMAINS, a domain-to-key map left unused since link icon auto detection was removed. Verified as unreferenced across PHP and JS before removal.

The admin capture in screenshots/ still showed 10 fields: it had been stale since 1.1.7 added WhatsApp. Regenerated, along with screenshot-2.png, its WordPress.org twin. The feature lists in readme.txt and README.md were missing WhatsApp too, now fixed.

Checks

  • wp plugin check biolinks: 0 ERROR, 102 WARNING, the same structural DirectDatabaseQuery / InterpolatedNotPrepared set on the same 4 files. includes/icons.php does not appear.
  • Verified end to end on a WordPress 7.1 bench: 15 fields render in the admin, and the 6 filled networks render on the public page with the right titles.
  • No new translatable string: the labels are proper nouns in a constant, so no .pot regeneration and no GlotPress work needed.

Release

Version bumped to 1.1.11 with changelog and upgrade notice. The SVN assets directory needs the refreshed screenshot-2.png at release time.

@JeremieSamson JeremieSamson self-assigned this Aug 19, 2026
@JeremieSamson JeremieSamson added enhancement New feature or request documentation Improvements or additions to documentation labels Aug 19, 2026
The social networks section was a fixed list of 11 entries. Adds four
more: Bluesky and Mastodon as social profiles, Blog and RSS as content
links, which is the most requested gap from users.

New keys are appended to BIOLINKS_SOCIAL_KEYS so existing instances keep
their current icon order untouched.

Also drops BIOLINKS_SOCIAL_DOMAINS, an unused domain-to-key map left over
from the removed link icon auto detection.
The admin capture still showed 10 fields: it had been stale since 1.1.7
added WhatsApp, and the four new entries widen the gap further. Regenerated
at the same format as the other captures (1063px wide, 18px margin).

screenshot-2.png is the WordPress.org copy of the same image and is kept
in sync. The SVN assets directory needs the same file at release time.

Adds a capture of the icons as rendered on the public page.
@JeremieSamson
JeremieSamson force-pushed the feat/socials-bluesky-mastodon-blog-rss branch from cde9662 to baad2ce Compare August 19, 2026 09:40
@JeremieSamson
JeremieSamson merged commit f6ad611 into main Aug 26, 2026
8 checks passed
@JeremieSamson
JeremieSamson deleted the feat/socials-bluesky-mastodon-blog-rss branch August 26, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant