Denne utvidelsen har ikke blitt testet mot noen av de siste 3 hovedutgivelsene av WordPress. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

PlaceHodor

Beskrivelse

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

Skjermskudd

  • 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

Installasjon

  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»

FAQ

Not yet

Wait for it.

Vurderinger

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 🙂
Les alle 3 vurderinger

Bidragsytere og utviklere

“PlaceHodor” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.

Bidragsytere

“PlaceHodor” har blitt oversatt til 1 språk. Takk til oversetterne for deres bidrag.

Oversett “PlaceHodor” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

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.