Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

PlaceHodor

Descrição

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

Ecrãs

  • 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

Instalação

  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”

Perguntas frequentes

Not yet

Wait for it.

Avaliações

9 Março, 2022 1 reply
... 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 🙂
Ler todas as 3 avaliações

Contribuidores e programadores

“PlaceHodor” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

“PlaceHodor” foi traduzido para 1 locale. Obrigado aos tradutores pelas suas contribuições.

Traduza o “PlaceHodor” para o seu idioma.

Interessado no desenvolvimento?

Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.

Registo de alterações

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.