Skip to content

kvibber/share-classicly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Share Classicly

Stable tag: 0.5
Tags: sharing, fediverse, mastodon, classicpress
Contributors: Kelson
License: GPLv2 or later

Adds a link to the ShareOpenly service at the end of your posts for easy sharing to Mastodon, Bluesky, Threads and similar open social media sites.

Description

Adds a link to the ShareOpenly service at the end of your posts so that readers can easily share them to Mastodon, Bluesky, Threads and similar open social media sites. No remote scripts or data are loaded until the visitor clicks on the link.

The plugin is built for ClassicPress, but will probably work fine on WordPress too.

Notes

ShareOpenly is a service built and run by Ben Werdmuller. I just used the link format described at Add ShareOpenly links to your site.

There is a WordPress plugin that does something similar, but it detects when it's running on ClassicPress and deactivates itself. I thought about forking it, but decided to just write my own, since I'd already done it myself with Eleventy. I did not read any of that plugin's code except for the function that blocks running on forks -- which I'm obviously not using here! -- and did not reference any of it when writing this one.

Installation

Add share-classicly.zip from the latest release using your plugin dashboard, or unzip it yourself and upload the share-classicly folder to wp-content/plugins/, or (once it's approved) install it from the ClassicPress Plugin Directory.

Then just activate it. Nothing else special is needed.

Changelog

[0.5] - 2026-01-19

  • Fix the share link showing up when it shouldn't, like in the Fediverse view from the ActivityPub Plugin.

[0.4] - 2024-11-23

  • Change default link text and make it customizable.

[0.3] - 2024-11-14

  • More code cleanup.
  • Submit to plugin directory.

[0.2] - 2024-11-11

  • Code cleanup.
  • Use translatable text.
  • Add option for whether to show on posts, pages or both.

[0.1pre] - 2024-10-31

  • Initial prototype.

Source on Codeberg.
Mirror on GitHub.
Plugin page at ClassicPress.

(c) 2024-2026 Kelson Vibber

About

ClassicPress plugin to add ShareOpenly links to your posts.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors