Title: Credit Line Generator
Author: hatesspam
Published: <strong>2012-06-02</strong>
Last modified: 2026-09-27

---

Szukaj wtyczek

![](https://ps.w.org/credit-line-generator/assets/icon-256x256.png?rev=1681954)

# Credit Line Generator

 Autor: [hatesspam](https://profiles.wordpress.org/hatesspam/)

[Pobierz](https://downloads.wordpress.org/plugin/credit-line-generator.0.3.4.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/credit-line-generator/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/credit-line-generator/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/credit-line-generator/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/credit-line-generator/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/credit-line-generator/)

## Opis

This plug-in is a typing aid for image credits on posts and pages for the Classic
editor.

It adds a button to your editor called 'by’ in the Visual Editor and 'credit’ in
the Text Editor tab. Pressing the button conjures up a form that will let you fill
out fields about the image, such as the name of the creator, and the URL of the 
license under which you are using the image.

Press submit, and the plug-in will paste a nicely formatted string at the current
cursor position of your editor.

I am currently a happy user of my own plugin, and foresee no major changes in the
future. Please let me know if there is any feature you could use.

If you are using WordPress 5.0 or higher with the Gutenberg editor, use the Classic
Editor through the plugin of the same name.

There is a known problem when using this plugin in the Gutenberg editor with the
Classic block: https://wordpress.org/support/topic/pop-up-doesnt-work-if-classic-
block-editor-is-itself-a-pop-up/ .

#### GDPR compliance

This plugin helps you helps you format personal data (such as the name and online
address of a photographer), but it does not store such data itself.

#### Wymagania

 * WordPress 3.9 or newer.

Note that earlier versions of this plug-in function perfectly fine with earlier 
versions of WordPress. Version 1.2.1 of the plug-in supports WordPress 3.3 through
3.8.x, but does not support the visual editor.

#### Przykłady

 * _Photo_ by John Smith.
 * _Photo of a fire truck_ by John Smith, _some rights reserved_.

#### Rationale

My goal in writing this plugin was mainly to help me avoid typos.

### Configuration

A setting will enable wrapping the credit line in HTML mark-up, so that you can 
style it more easily. This setting is off by default.

### Alternatives

There are plugins that add a credit field to media, which you can then display in
your post using a shortcode. Media Credit by Peter Putzer is an example:

> [Media Credit](https://wordpress.org/plugins/media-credit/)

Plugins also exist that let you read IPTC meta data from image files and display
it in your content using meta tags, for instance using JSM’s Adobe XMP / IPTC for
WordPress:

> [JSM Adobe XMP / IPTC for WordPress](https://wordpress.org/plugins/adobe-xmp-for-wp/)

## Zrzuty ekranu

[⌊The form.⌉⌊The form.⌉[

The form.

[⌊A Classic Editor block in Gutenberg.⌉⌊A Classic Editor block in Gutenberg.⌉[

A Classic Editor block in Gutenberg.

## Instalacja

 1. Upload the folder containing the plugin to the `/wp-content/plugins/` directory.
 2. Włącz wtyczkę wybierając w menu administratora WordPressa pozycję „Wtyczki”.

## Najczęściej zadawane pytania

### Why doesn’t it work?

There could be a couple of reasons:

 1. You have Javascript disabled or another Javascript program is interfering.
 2. If you are using the Gutenberg editor of WordPress 5 or higher, make sure you use
    the Classic Editor plugin.

This plug-in may work with the Classic block in the Gutenberg editor: see the description
for specifics.

If the reason it doesn’t work isn’t in this list, please file a support request 
on the plugin’s homepage. Please describe what you have tried (step for step) and
where it goes wrong.

## Recenzje

![](https://secure.gravatar.com/avatar/0d96e45727d0e2a7298c83427779c51fb183cbe109aae01a3aa2ad604d0c9786?
s=60&d=retro&r=g)

### 󠀁[Plugin is broken](https://wordpress.org/support/topic/plugin-is-broken-20/)󠁿

 [mamamia02](https://profiles.wordpress.org/mamamia02/) 2017-02-07

Plugin is broken

 [ Przeczytaj 1 recenzje ](https://wordpress.org/support/plugin/credit-line-generator/reviews/)

## Kontrybutorzy i deweloperzy

„Credit Line Generator” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

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

[Przetłumacz wtyczkę “Credit Line Generator” na swój język.](https://translate.wordpress.org/projects/wp-plugins/credit-line-generator)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/credit-line-generator/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/credit-line-generator/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/credit-line-generator/)
przez [RSS](https://plugins.trac.wordpress.org/log/credit-line-generator/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 0.3.4.

 * Fix: add a scrollbar in circumstances where the form is taller than the screen.

#### 0.3.3.

 * Failed fix: a bug that made the pop-up appear underneath the Classic block pop-
   up in some instances.

#### 0.3.2

 * Changed: documentation, clarified usage with the Gutenberg editor.

#### 0.3.1

 * Added: interface translations.
 * Added: support for narrow screens.
 * Changed: minor tweaks to text and looks.
 * Changed: in the Text editor, the credit line now gets inserted at the cursor.
 * Fixed: in the Visual editor, adding a credit line no longer resets the cursor
   position.
 * I also performed some minor code clean-up that should make it easier to add features.

#### 0.3.0

 * Added visual editor support.
 * Changed the minimal required version of WordPress to 3.9.
 * Fixed a bug that would display an error message if a user had yet to save the
   settings.

#### 0.2.1

 * Added: information about compatibility with the new editor introduced for WordPress
   5, Gutenberg.
 * Added: information about GDPR compliance.

#### 0.2.0

 * Changed: refactored the code to make future expansion easier.
 * Changed: the Javascript produced by creditline_init() has been moved to its own
   file.
 * Changed: the CSS produced by creditline_head() has been moved to its own file.
 * Deprecated: creditline_head(). If for some reason you rely on this function, 
   note that it no longer does anything, and that it will be removed in a future
   release.
 * Added: optional HTML mark-up for the credit line.
 * Added: a settings screen in which the HTML mark-up can be enabled.
 * Fixed: a bug that returned 'Photo by .’ when all fields were empty. Now nothing
   will be returned in that case.

#### 0.1.7

 * Tested: up to version 4.9.1.

#### 0.1.6

 * Added: an icon.
 * Changed: expanded the Readme with alternative plugins.

#### 0.1.5

 * Fixed: display the pop-up over WordPress’ media buttons bar (it’s like an arms
   race).
 * Changed: moved all of the changelog to the readme.txt.
 * Changed: moved todos out of the plugin.
 * Changed: minor textual changes in plugin and readme.txt.
 * Changed: some code clean-ups (I hope).

#### 0.1.4.1

 * Fixed typos in the readme.

#### 0.1.4

 * Fixed: media buttons rendered over the pop-up.
 * Changed: removed nonsense text to keep pop-up smaller.

#### 0.1.3

 * First public version. Cleaned things up a bit, added a readme.txt.

#### 0.1.2

 * WordPress renamed a couple of action hooks we were using, and uses a Tags object
   now for the Quicktags.

#### 0.1.1

Added a couple of WordPress styles to give it a more unified look.

#### 0.1

 * Initial version.

## Meta

 *  Wersja **0.3.4**
 *  Ostatnia aktualizacja **1 tydzień temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 3.9 lub nowszej **
 *  Testowano do **7.1.3**
 *  Język
 * [English (US)](https://wordpress.org/plugins/credit-line-generator/)
 * Tagi
 * [credit](https://pl.wordpress.org/plugins/tags/credit/)[credits](https://pl.wordpress.org/plugins/tags/credits/)
   [image credit](https://pl.wordpress.org/plugins/tags/image-credit/)[licence](https://pl.wordpress.org/plugins/tags/licence/)
   [license](https://pl.wordpress.org/plugins/tags/license/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/credit-line-generator/advanced/)

## Oceny

 1 na 5 gwiazdek.

 *  [  0 recenzji 5-gwiazdkowych     ](https://wordpress.org/support/plugin/credit-line-generator/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/credit-line-generator/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/credit-line-generator/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/credit-line-generator/reviews/?filter=2)
 *  [  1 recenzja 1-gwiazdkowa     ](https://wordpress.org/support/plugin/credit-line-generator/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/credit-line-generator/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/credit-line-generator/reviews/)

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/credit-line-generator/)