
Credits Shortcode Plugin allows you to add Source or Via link in the post using a shortcode.
| Author: | jashjacob (profile at wordpress.org) |
| WordPress version required: | 6.3 |
| WordPress version tested: | 7.1.4 |
| Plugin version: | 1.6.1 |
| Added to WordPress repository: | 02-10-2014 |
| Last updated: | 10-10-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | http://techzei.com |
| Total downloads: | 2 251 |
| Active installs: | 10+ |

Click to start download
|
Credits Shortcode plugin allows to add Source Link or Via Link for a post or a page. Shortcodes can be added directly or can be added using the button in the WordPress Editor window.
[credits link=”http://example.com” type=”source”] Source Name [/credits]
[credits link=”http://example.com” type=”via”] Via Name [/credits]
Screenshots

A Source or Via attribution rendered on the front end.

Credits Link settings in the Gutenberg block sidebar.
FAQ
Can I change how the credit line looks?
Yes. Set colors for an individual block or shortcode, configure site-wide defaults under Settings > Credits, or use custom CSS. Without custom colors, the plugin uses neutral styling that inherits the active theme’s link color.
Can I add more than one credit to a post?
Yes. Add as many blocks or shortcodes as needed. Each credit is rendered independently.
What happens if I deactivate the plugin?
Your posts are not modified or deleted. Dynamic blocks stop rendering, and shortcode tags remain in post content until the plugin is reactivated.
Does the plugin send data to another service?
No. The plugin makes no external requests and includes no analytics or tracking.
Does it add rel=”nofollow” to links?
No. Credit links open in a new tab with noopener noreferrer. The plugin does not add nofollow automatically.
Does it work with the Classic Editor?
Yes. When the Classic Editor is active, an Add Credits toolbar button inserts the shortcode for you.
ChangeLog
1.6.1
- Fixed the Gutenberg block dropping a custom CSS class added in the editor’s Advanced panel from the published output.
1.6.0
- Requires WordPress 6.3 or newer.
- Registers the Gutenberg block with Block API version 3 consistently.
- Removed the legacy Block API version 1 registration fallback.
- Refactored front-end CSS with design tokens, scoped selectors, and fewer
!important overrides while keeping block-theme layout compatibility.
1.5.0
- Added site-wide spacing defaults under Settings > Credits.
- Added Compact, Standard, and Spacious spacing presets for each block or shortcode.
- Added spacing inheritance and validation tests.
1.4.1
- Fixed Gutenberg block registration on WordPress 5.0 through 5.4.
- Fixed new blocks so they inherit the site-wide default credit type.
- Added block-editor JavaScript translation loading.
- Refreshed the WordPress.org banner, icons, and screenshots.
- Improved directory copy and release metadata.
1.4.0
- Added internationalization support for PHP and block-editor strings.
- Registered the block from
block.json metadata on supported WordPress versions.
- Added site-wide defaults under Settings > Credits.
- Added a PHPUnit test suite and PHP 7.4 through 8.4 continuous integration.
- Switched to neutral, theme-friendly default styling while preserving saved colors.
1.3.1
- Sanitized shortcode attributes and applied context-aware escaping to rendered output.
- Restricted accent colors to valid hex values.
- Added a strict HTML allowlist for final shortcode markup.
1.3
- Added the native Credits Link Gutenberg block.
- Added per-credit accent color controls.
- Added hover feedback and block-theme layout compatibility.
- Hardened shortcode rendering and output escaping.
1.2
- Initial public release with shortcode and Classic Editor support.