WP Manifestindependent plugin directory
manifest / ecommerce / edd-changelog-badges

EDD Changelog Badges

Easy Digital Downloads changelog shortcode with badges

★ 14stars
1.2.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/verygoodplugins/edd-changelog-badges/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.

A WordPress plugin that adds a beautiful changelog display shortcode for Easy Digital Downloads products.

image

Features

  • Adds [edd_changelog] shortcode to display product changelogs
  • Automatically adds visual badges for New, Improved, Fixed, and Dev changes
  • Styled layout with clear visual hierarchy
  • Compatible with EDD Software Licensing changelog field

Installation

  1. Upload the edd-changelog folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Use the shortcode [edd_changelog id="123"] in your posts/pages where 123 is your EDD product ID

Usage

Basic usage: [edd_changelog id="123"]

The plugin will automatically style changelog entries based on these prefixes:

  • Added: Shows a green "New" badge
  • Improved: Shows a blue "Improved" badge
  • Fix: Shows an orange "Fixed" badge
  • Developer: Shows a gray "Dev" badge

Customization

The plugin uses the edd_changelog_badge_configs filter to allow for custom badge configurations.

Example:

add_filter( 'edd_changelog_badge_configs', function( $configs ) {

    $configs['added']['emoji']     = '🚀';
    $configs['improved']['emoji']  = '🔄';
    $configs['fix']['emoji']       = '🐛';
    $configs['developer']['emoji'] = '👨‍💻';


    $configs['custom'] = array(
        'prefix'     => 'Custom',
        'badge_text' => 'Custom',
        'emoji'      => '🔧',
        'class'      => 'custom',
        'ltrim'      => false,
        'color'      => '#333333',
    );

    return $configs;
} );

Each badge config accepts these parameters:

  • prefix: Text to match at the start of changelog items
  • badge_text: Text displayed on the badge
  • emoji: Emoji shown before badge text
  • class: CSS class for styling the badge
  • ltrim: Text to remove from the start of matched items (optional)

Changelog

1.2.0 - Mar 1, 2025

  • Added security badge
  • Added color as a parameter to the badge configs
  • Improved - Updated plugin slug to edd-changelog-badges to avoid conflicts with the EDD Changelog plugin
  • Improved - Badge output is properly escaped
  • Improved - Default badge colors are updated for AA color contrast reqirements

1.1.0 - Feb 13, 2025

  • Added edd_changelog_badge_configs filter to allow for custom badge configurations

1.0.0 - Feb 13, 2025

  • Initial release

Releases

2 releases.

Tag
Published
1.2.0 latest
Mar 1, 2025 1 year ago
Feb 13, 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.