JSM’s Adobe XMP / IPTC for WordPress

Version Information

  • Plugin Name: JSM's Adobe XMP / IPTC for WordPress
  • Stable Version: 1.6.0
  • Author: JS Morisset
  • Description: Provides Adobe XMP / IPTC information from Media Library or NextGEN Gallery images using a shortcode or PHP class method.
  • License: GPLv3
  • Requires PHP: 7.0 or newer
  • Requires WordPress: 5.0 or newer
  • Tested Up To WordPress: 5.8
  • Last Updated: 1 week ago
  • Plugin Home Page »

How do I retrieve XMP data as an array?

How do I include a shortcode in a post or page?

This shortcode prints all the XMP information for Media Library image ID "101" and NextGEN Gallery image ID "201". The XMP information is printed as a definition list <dl> with a class name of "xmp_shortcode" that you can style for your needs. Each <dt> and <dd> element also has a style corresponding to it's title - for example, the "Creator" list element has an "xmp_creator" class name. Here's an example of the definition list HTML:

The shortcode can also take a few additional arguments:

  • include (defaults to "all")

Define which XMP elements to include, for example:

  • exclude (defaults to none)

Exclude some XMP elements, for example to print all XMP elements, except for the "creator email":

  • show_title (defaults to "yes")

Include / exclude the <dt> definition titles.

  • show_empty (defaults to "no")

Include / exclude empty <dd> definition values.

  • not_keyword (defaults to none)

Exclude a list of (case incensitive) keywords, for example:

To exclude a hierarchical keyword list, use hyphens between the keywords, for example: