Skip to content

A WordPress plugin that enables a shortcode to display a Bluesky users posts.

Notifications You must be signed in to change notification settings

kendafi/wp-bluesky-posts

Repository files navigation

Bluesky posts WordPress plugin

This enables a WordPress shortcode which displays posts from Bluesky according to your settings.

[bluesky-posts]

It displays a specific users original posts only. Replies and re-posts are skipped.

By default it displays 12 posts. You can specify this with attribute amount. For example to display only one post, use this shortcode.

[bluesky-posts amount=1]

The plugin has some basic CSS, but it should use your sites font and color for the text. You can turn off the plugin CSS if you want to style it completely yourself.

The plugin stores fetched content into transients. This means we ping Bluesky only once every 10 minutes to avoid exceeding any connection limits.

Install

Download this repository as a ZIP file from github.com/kendafi/wp-bluesky-posts by clicking on the green Code button and selecting Download ZIP.

Go to your WP admin > Plugins page and click on the Add New Plugin button.

Click on Upload Plugin button, and then on the Browse button to select the ZIP file.

Activate the plugin.

Go in WP admin to Settings > Bluesky post. Enter the account which posts you want to display. Save settings.

Go to any page and add the shortcode [bluesky-posts] to its content.

Screenshots

Screenshot of the settings page.

Example of the output.

About

A WordPress plugin that enables a shortcode to display a Bluesky users posts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published