

A Source or Via attribution rendered on the front end.
Give readers a clear path back to the original source. Credits Shortcode & Block adds compact, theme-friendly Source or Via attribution links to WordPress posts and pages.
[credits] shortcode for any post, page, or widget area./credits.The block is rendered dynamically, so saved content stays clean and current.
Basic source attribution:
[credits link="https://example.com"]Source Name[/credits]
Via attribution:
[credits link="https://example.com" type="via"]Publication Name[/credits]
Using a name attribute:
[credits name="Source Name" link="https://example.com"]
Custom colors:
[credits link="https://example.com" type="source" badge_color="#0073aa" link_color="#f0f0f0" link_text_color="#0073aa"]Source Name[/credits]
Supported attributes:
name – attribution text; inner shortcode content takes precedence.link – destination URL.type – source or via.badge_color – badge background as a 3- or 6-digit hex color.link_color – link area background as a 3- or 6-digit hex color.link_text_color – link text as a 3- or 6-digit hex color.spacing – compact, standard, or spacious; defaults to the site-wide setting.To keep several credits close together:
[credits link="https://example.com" spacing="compact"]Source Name[/credits]
Go to Settings > Credits to choose the default credit type, spacing, and optional accent colors. Individual blocks and shortcodes can override those defaults.