Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

PlaceHodor

Описание

Substitute / replace missing images by a default image.

The plugin will (try to) display / generate the good size (width and height) of the image missing.
You can choose to replace the image by one picture uploaded in the Placehodor settings page.
Or you can choose to replace the images missing by images from the placeholder webservices «Placeholder.com», «Placeimg.com» or «Picsum.photos».

With 1.2.0, the plugin will try to replace images broken from external source and also manage image loaded after the document was ready (by ajax for example).
The images missing in Gutenberg will also be replaced.
Big thanks to Pat OL for the help in debugging :]

Since 1.1.0, you can choose to set a default thumbnail to all the posts that are not set.

You can contact me :

  • My blog: https://xuxu.fr/contact
  • My website : https://www.xuan-nguyen.fr
  • My Twitter account: https://twitter.com/xuxu

Скриншоты

  • You have 3 modes of substitution available : Solo / Placeholder.com / Picsum.photos
  • Upload the image that will substitute the images missing
  • This image will substitute the images missing
  • Use the webservice "Placeholder.com" (options: text, text color, background color)
  • Use the webservice "Picsum.photos" (options: normal, grayscale, blur)
  • Before PlaceHodor set
  • After PlaceHodor set
  • Activate a default thumbnail for the posts
  • A default post thumbnail is set

Установка

  1. Extract and upload the directory placehodor to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Check if Permalink setting is not set on «Plain»

Часто задаваемые вопросы

Not yet

Wait for it.

Отзывы

09.03.2022 1 ответ
... on broken images or images removed from Media Library. Little enhancement suggestion: Option for something like a little JS-snippet, that removes the former figcaption if set. (just a simple nextsibling and remove combination) Nice 🙂
Посмотреть все 3 отзыва

Участники и разработчики

«PlaceHodor» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«PlaceHodor» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «PlaceHodor» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.2.0

  • Replace images broken from external sources
  • Replace images broken in Gutenberg

1.1.0

  • Can display a random post thumbnail if this option is activated
  • Debug display random thumbnail
  • Code Rework

1.0.0

  • Hello world!
  • first Release.