Shortcodes for images, audio, video, svg that support static files as well as resources etc

Please try out the updated audio, figure, file, img, svg and video shortcodes in my Zen theme.

  • They auto detect if the files are in static dir, global assets or page resources.
  • Add or removes leading “/” from “src” as needed.
  • Error handling for missing or broken “src” attributes.
  • Support sites in sub dir.
  • Figure and img support srcset and resizing.
  • Svg support inlining.
3 Likes