Title: Credits Shortcode &amp; Block
Author: jashjacob
Published: <strong>02.10.2014</strong>
Last modified: 28.08.2026

---

ჩადგმების ძებნა

![](https://ps.w.org/source-shortcode/assets/banner-772x250.png?rev=3671249)

![](https://ps.w.org/source-shortcode/assets/icon-256x256.png?rev=3671249)

# Credits Shortcode & Block

 ავტორი: [jashjacob](https://profiles.wordpress.org/jashjacob/)

[ჩამოტვირთვა](https://downloads.wordpress.org/plugin/source-shortcode.1.4.0.zip)

 * [დეტალები](https://ka.wordpress.org/plugins/source-shortcode/#description)
 * [მიმოხილვა](https://ka.wordpress.org/plugins/source-shortcode/#reviews)
 *  [დაყენება](https://ka.wordpress.org/plugins/source-shortcode/#installation)
 * [დეველოპმენტი](https://ka.wordpress.org/plugins/source-shortcode/#developers)

 [მხარდაჭერა](https://wordpress.org/support/plugin/source-shortcode/)

## აღწერა

Credits Shortcode & Block allows content creators to easily add formatted “Source”
or “Via” attribution credit lines 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.

#### Shortcode Usage

Basic Source attribution:

    ```
    [credits link="https://example.com"]Source Name[/credits]
    ```

Via attribution:

    ```
    [credits link="https://example.com" type="via"]Via Name[/credits]
    ```

With a name attribute (instead of wrapped text):

    ```
    [credits name="TechZei" link="https://example.com"]
    ```

Full set of attributes:

 * `name` — the attribution name to display. Defaults to the shortcode’s inner content.
 * `link` — the URL the credit links to (escaped with `esc_url()`).
 * `source` — an optional secondary label shown alongside the name.
 * `type` — `source` or `via` badge prefix.
 * `badge_color`, `link_color`, `link_text_color` — hex color overrides for the 
   accent styling.

Example with custom colors:

    ```
    [credits link="https://example.com" type="source" badge_color="#0073aa" link_color="#f0f0f0" link_text_color="#0073aa"]Source Name[/credits]
    ```

#### Block Usage

 1. In the WordPress Block Editor, click **+** or type `/credits` to insert the **Credits
    Link** block (`credits/shortcode`).
 2. Set the Credit Type (Source/Via), attribution name, and Link URL in the block sidebar.
 3. Optionally expand Accent Color Settings to customize the badge background, link
    background, and link text colors.

The block renders live in the editor and adapts to modern block themes so the credit
line sits flush with paragraph content.

## ეკრანული სურათები

[⌊The credit line rendered on the frontend.⌉⌊The credit line rendered on the frontend
.⌉[

The credit line rendered on the frontend.

[⌊Gutenberg block settings in the editor sidebar.⌉⌊Gutenberg block settings in the
editor sidebar.⌉[

Gutenberg block settings in the editor sidebar.

## ბლოკები

ეს პლაგინი უზრუნველყოფს 1 ბლოკს.

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

## დაყენება

 1. In your WordPress admin, go to **Plugins > Add New**.
 2. Search for “Credits Shortcode & Block”.
 3. Click **Install Now**, then **Activate**.

Manual installation:

 1. Download the plugin from WordPress.org (or this repository) as a `.zip` file.
 2. Go to **Plugins > Add New > Upload Plugin** and choose the `.zip`, or upload the
    extracted `credits-shortcode` folder to your `/wp-content/plugins/` directory via
    FTP/SFTP.
 3. Activate the plugin through the **Plugins** menu in WordPress.

## ხდკ

### Can I change how the credit line looks?

Yes. Use the Accent Color Settings in the block sidebar, the color attributes on
the shortcode, or override the CSS classes (`.cre_cate`, `.cre_cate_link`) in **
Appearance > Customize > Additional CSS**. The plugin enqueues minimal default styles
that are easy to override.

### Can I add multiple credits per post?

Yes. Insert multiple blocks or shortcodes anywhere in a post or page — each one 
renders its own independent credit line, so you can list several sources.

### What happens if I deactivate the plugin?

Shortcode output stops being rendered, so existing `[credits]` tags will appear 
as plain text inside your post content. Your posts are not modified; simply re-activate
the plugin to restore the rendered credit lines.

### How do I change the colors?

Per-instance colors can be set with the `badge_color`, `link_color`, and `link_text_color`
attributes (hex values) or via the block sidebar color pickers. Site-wide defaults
can be overridden with custom CSS targeting the same classes.

### Does it add rel=”nofollow” to the links?

No, links use standard anchor markup with escaped URLs. If you need `nofollow` for
SEO reasons, you can filter the output with your own markup filter or use a third-
party link-management plugin; the credit line is plain HTML so any standard link-
filtering plugin will apply to it.

## მიმოხილვები

There are no reviews for this plugin.

## მონაწილეები & დეველოპერები

“Credits Shortcode & Block” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი
შეიტანეს მის განვითარებაში.

მონაწილეები

 *   [ jashjacob ](https://profiles.wordpress.org/jashjacob/)

[გადათარგმნეთ Credits Shortcode & Block თქვენს ენაზე.](https://translate.wordpress.org/projects/wp-plugins/source-shortcode)

### დაინტერესებული ხართ დეველოპმენტით?

[დაათვალიერეთ კოდი](https://plugins.trac.wordpress.org/browser/source-shortcode/),
შეამოწმეთ [SVN რეპო](https://plugins.svn.wordpress.org/source-shortcode/), ან გამოიწერეთ
[შექმნის ჟურნალი](https://plugins.trac.wordpress.org/log/source-shortcode/) : [RSS](https://plugins.trac.wordpress.org/log/source-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## ცვლილებები

#### 1.4.0

 * Added internationalization (i18n) support — all strings now use the `credits-
   shortcode` text domain; translators welcome.
 * The Gutenberg block is now registered from `block.json` metadata with `apiVersion
   3`.
 * Version is now maintained from a single source of truth in the main plugin file.
 * Added a PHPUnit test suite (32 tests) running in continuous integration.
 * Neutral, theme-friendly default styling: the badge no longer forces brand colors
   or italics; accent colors are opt-in and links inherit your theme’s link color.
   Existing blocks keep their saved colors.
 * New Settings -> Credits page: store site-wide default credit type and accent 
   colors (saved via the Settings API with hex validation); shortcodes and blocks
   without explicit values use them. Settings are removed on uninstall.

#### 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.

## მეტა

 *  Version **1.4.0**
 *  Last updated **1 კვირის წინ**
 *  Active installations **10+**
 *  WordPress version ** 5.0, ან უფრო მაღალი **
 *  Tested up to **7.1**
 *  PHP version ** 7.4, ან უფრო მაღალი **
 *  Language
 * [English (US)](https://wordpress.org/plugins/source-shortcode/)
 * Tags
 * [block](https://ka.wordpress.org/plugins/tags/block/)[credits](https://ka.wordpress.org/plugins/tags/credits/)
   [shortcode](https://ka.wordpress.org/plugins/tags/shortcode/)[source](https://ka.wordpress.org/plugins/tags/source/)
   [via](https://ka.wordpress.org/plugins/tags/via/)
 *  [დამატებითი ხედი](https://ka.wordpress.org/plugins/source-shortcode/advanced/)

## რეიტინგები

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/source-shortcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/source-shortcode/reviews/)

## მონაწილეები

 *   [ jashjacob ](https://profiles.wordpress.org/jashjacob/)

## მხარდაჭერა

გაქვთ კომენტარი? გჭირდებათ დახმარება?

 [მხარდაჭერის ფორუმის ნახვა](https://wordpress.org/support/plugin/source-shortcode/)

## შემოწირულობა

გსურთ ამ ჩადგმის განვითარების მხარდაჭერა?

 [ შეწირეთ თანხა ამ ჩადგმას ](https://jashjacob.com)