Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Picture Element Thumbnails


This plugin introduces a couple of nifty functions to replace the_post_thumbnail() & get_the_post_thumbnail() in exchange for the responsive picture element. Use:

    [, $id, $atts]

For example:

<?php echo get_the_post_picture(
); ?>

While this says 4.0 for minimum version, I would wager it’ll be fine on most older installations.


  1. Install via the WordPress Plugin directory or upload this to your plugins folder.

  2. Activate from the Plugins screen on your Dashboard.



Adds the functions the_post_picture() and get_the_post_picture(). See the description for an example.


This is really a bigger question than the scope of this plugin, but see here.

Oh, you weren’t talking about the picture element as a whole. There exists at least one plugin that will out-of-the-box replace all <img> tags with «picture» elements and set breakpoints based on the image sizes. But if you need art direction, you need the HTML5 <picture> element. This plugin gives you control over A. Which elements are replaced and B. What your breakpoints are.

Does the order of my sizes array matter?

Yup. Pass them smallest image to largest.

Browser Support?

The plugin includes PictureFill.js. This should polyfill most browsers. If you have an issue, please report it!

Can I use my custom image sizes?


Can I contribute?

PRs are welcome! See GitHub.


No hay valoraciones para este plugin.

Colaboradores y desarrolladores

«Picture Element Thumbnails» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Picture Element Thumbnails» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Initial launch!


  • Added get_the_attachment_picture() as an alternative to wp_get_attachment_image()


  • Resolve some notices regarding static functions


  • Resolve another static notice