Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

PlaceHodor

Beskrivning

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

Skärmdumpar

  • 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

Installation

  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”

Vanliga frågor

Not yet

Wait for it.

Recensioner

9 mars 2022 1 svar
... 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 🙂
Läs alla 3 betyg

Bidragsgivare och utvecklare

”PlaceHodor” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”PlaceHodor” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”PlaceHodor” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.