Credits Shortcode & Block

Description

Credits Shortcode & Block allows content creators to easily add formatted Source or Via attribution links to WordPress posts and pages.

Supports the modern Gutenberg Block Editor (with live preview, customizable accent color pickers, and sidebar controls), traditional Shortcodes, and legacy Classic Editor toolbar buttons.

Screenshots

Blocks

This plugin provides 1 block.

  • Credits Link Insert Source or Via credit link into your post with customizable accent colors.

Installation

  1. Upload credits-shortcode folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Credits Shortcode & Block” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.1

  • Sanitize attributes on input (esc_url_raw, sanitize_text_field, sanitize_key, sanitize_hex_color).
  • Escape only when building output: esc_url() for href, esc_html() for text, esc_attr( safecss_filter_attr() ) for inline CSS.
  • Restrict accent colors to hex values and run the final markup through wp_kses().

1.3

  • Added native Gutenberg Block support (credits/shortcode).
  • Added custom Accent Color Pickers in the Block Editor sidebar and shortcodes.
  • Added micro-interaction hover lift animations and smooth CSS transitions.
  • Fixed Stored XSS vulnerability (CVE-2026-6256).

1.2

  • Initial public release with Classic Editor support.