WP Manifestindependent plugin directory
manifest / content / tjb-birthstone-feature

TJB Birthstone Feature

The TJB Birthstone Feature plugin provides a simple shortcode to display information from a custom post type birthstone, matching the current month.

★ 0stars
v1.1.0latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/reclaimergold/tjb-birthstone-feature/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Description

The TJB Birthstone Feature plugin provides a simple shortcode to display information from a custom post type birthstone, matching the current month. You can output:

  • Title of the birthstone post
  • Permalink (URL) to the birthstone post
  • Excerpt (summary) of the birthstone post
  • Featured Image (rendered as an <img> tag)

Perfect for embedding in page builders like Elementor or directly in posts.

Installation

  1. Download or clone the repository into your WordPress plugins folder:
    wp-content/plugins/tjb-birthstone-feature/
  2. Activate the plugin in the WordPress Admin under Plugins → Installed Plugins.
  3. Ensure you have a custom post type registered as birthstone, with posts titled exactly January, February, etc., and set featured images as needed.

Usage

Add the [birthstone] shortcode anywhere in your content. It supports the following attributes:

Attribute Values Default Description
field title, url, excerpt, image title What to output from the post
size Any registered image size string full Only applies when field="image"

Examples

  • Title (default)

    [birthstone]
  • Permalink URL

    [birthstone field="url"]
  • Excerpt

    [birthstone field="excerpt"]
  • Featured Image

    [birthstone field="image" size="medium"]

Customization

  • Shortcode tag: To change the tag name, update the add_shortcode() call in tjb-birthstone-feature.php.
  • Caching: For high-traffic sites, consider wrapping the query in a transient to reduce database calls.
  • Localization: All strings are wrapped in WordPress localization functions; place translation files in /languages/.

Releases

1 release.

Tag
Published
v1.1.0 latest
Apr 29, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.