Title: Credits Shortcode &amp; Block
Author: jashjacob
Published: <strong>2014년 10월 2일</strong>
Last modified: 2026년 8월 28일

---

플러그인 검색

![](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://ko.wordpress.org/plugins/source-shortcode/#description)
 * [평가](https://ko.wordpress.org/plugins/source-shortcode/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/source-shortcode/#installation)
 * [개발](https://ko.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.

## FAQ

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

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

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

## 기초

 *  버전 **1.4.0**
 *  최근 업데이트: **1주 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 5.0 또는 그 이상 **
 *  다음까지 시험됨: **7.1**
 *  PHP 버전 ** 7.4 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/source-shortcode/)
 * 태그:
 * [block](https://ko.wordpress.org/plugins/tags/block/)[credits](https://ko.wordpress.org/plugins/tags/credits/)
   [shortcode](https://ko.wordpress.org/plugins/tags/shortcode/)[source](https://ko.wordpress.org/plugins/tags/source/)
   [via](https://ko.wordpress.org/plugins/tags/via/)
 *  [고급 보기](https://ko.wordpress.org/plugins/source-shortcode/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

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

[모든  리뷰 보기](https://wordpress.org/support/plugin/source-shortcode/reviews/)

## 기여자

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

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/source-shortcode/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://jashjacob.com)