Title: JSM Adobe XMP / IPTC for WordPress
Author: JS Morisset
Published: <strong>2013 年 4 月 10 日</strong>
Last modified: 2026 年 3 月 25 日

---

搜索插件

![](https://ps.w.org/adobe-xmp-for-wp/assets/banner-772x250.jpg?rev=3312264)

![](https://ps.w.org/adobe-xmp-for-wp/assets/icon-256x256.jpg?rev=2396815)

# JSM Adobe XMP / IPTC for WordPress

 作者：[JS Morisset](https://profiles.wordpress.org/jsmoriss/)

[下载](https://downloads.wordpress.org/plugin/adobe-xmp-for-wp.1.6.0.zip)

 * [详情](https://cn.wordpress.org/plugins/adobe-xmp-for-wp/#description)
 * [评价](https://cn.wordpress.org/plugins/adobe-xmp-for-wp/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/adobe-xmp-for-wp/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/adobe-xmp-for-wp/#developers)

 [支持](https://wordpress.org/support/plugin/adobe-xmp-for-wp/)

## 描述

Retrieve the following Adobe XMP / IPTC information from images in the WordPress
Media Library and NextGEN Galleries:

 * Creator Email
 * Owner Name
 * Creation Date
 * Modification Date
 * 标记
 * 信用
 * 资源
 * 头条
 * 市
 * 州
 * 国家/地区
 * 国家代码
 * 工作地点
 * Title
 * Description
 * Creator
 * Rights
 * 关键词
 * Hierarchical Keywords

The extracted XMP / IPTC data is cached on disk to improve performance and is refreshed
if / when the original image is modified.

You can use the plugin in one of two ways; calling a method in your theme template(
s) or using the `[xmp]` shortcode in your content.

There are no plugin settings – simply install and activate the plugin.

## 安装

#### Automated Install

 1. Go to the wp-admin/ section of your website.
 2. Select the _Plugins_ menu item.
 3. Select the _Add New_ sub-menu item.
 4. In the _Search_ box, enter the plugin name.
 5. Click the _Search Plugins_ button.
 6. Click the _Install Now_ link for the plugin.
 7. Click the _Activate Plugin_ link.

#### Semi-Automated Install

 1.  Download the plugin ZIP file.
 2.  Go to the wp-admin/ section of your website.
 3.  Select the _Plugins_ menu item.
 4.  Select the _Add New_ sub-menu item.
 5.  Click on _Upload_ link (just under the Install Plugins page title).
 6.  Click the _Browse…_ button.
 7.  Navigate your local folders / directories and choose the ZIP file you downloaded
     previously.
 8.  Click on the _Install Now_ button.
 9.  Click the _Activate Plugin_ link.

## 常见问题

### How do I retrieve XMP data as an array?

    ```
    my $adobeXMP =& adobeXMPforWP::get_instance();

    my $xmp = $adobeXMP->get_xmp( $image_id );

    echo '<p>Photograph by ' . $xmp[ 'Creator' ] . '</p>';
    ```

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

    ```
    [xmp id="101,ngg-201"]
    ```

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 CSS 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” CSS class name. Here’s an example
of the definition list HTML:

    ```
    <dl class="xmp_shortcode">
    <dt class="xmp_credit">Credit</dt>
    <dd class="xmp_credit">JS Morisset</dd>
    <dt class="xmp_source">Source</dt>
    <dd class="xmp_source">Underwater Focus</dd>
    <dt class="xmp_hierarchical_keywords">Hierarchical Keywords</dt>
    <dd class="xmp_hierarchical_keywords">What > Photography > Field of View > Wide-Angle > Fish-Eye</dd>
    </dl>
    ```

The shortcode can also take a few additional arguments:

 * `include` (defaults to “all”)

Define which XMP elements to include, for example:

    ```
    [xmp id="101" include="creator,creator email"]
    ```

 * `exclude` (defaults to none)

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

    ```
    [xmp id="101" exclude="creator email"]
    ```

 * `show_title` (defaults to “yes”)

Include / exclude the <dt> definition titles.

    ```
    [xmp id="101" show_title="no"]
    ```

 * `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:

    ```
    [xmp id="101" not_keyword="who,what,where"]
    ```

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

    ```
    [xmp id="101" not_keyword="who,what,where,who-people-unknown"]
    ```

## 评价

![](https://secure.gravatar.com/avatar/1de2cee86ecaf7cf1b797071f80b781265e7ccdcbb1675edff99b723375b9b09?
s=60&d=retro&r=g)

### 󠀁[Very Useful](https://wordpress.org/support/topic/very-useful-1035/)󠁿

 [cuteantonyraj](https://profiles.wordpress.org/cuteantonyraj/) 2016 年 12 月 15
日

Very Useful For Developers

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/)

## 贡献者及开发者

「JSM Adobe XMP / IPTC for WordPress」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ JS Morisset ](https://profiles.wordpress.org/jsmoriss/)

「JSM Adobe XMP / IPTC for WordPress」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/adobe-xmp-for-wp/contributors)
为本插件所做的贡献。

[帮助将「JSM Adobe XMP / IPTC for WordPress」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/adobe-xmp-for-wp)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/adobe-xmp-for-wp/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/adobe-xmp-for-wp/)，或通过[RSS](https://plugins.trac.wordpress.org/log/adobe-xmp-for-wp/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/adobe-xmp-for-wp/)。

## 更新日志

### Version Numbering

Version components: `{major}.{minor}.{bugfix}[-{stage}.{level}]`

 * {major} = Major structural code changes and/or incompatible API changes (ie. 
   breaking changes).
 * {minor} = New functionality was added or improved in a backwards-compatible manner.
 * {bugfix} = Backwards-compatible bug fixes or small improvements.
 * {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release
   candidate).

### Repositories

 * [GitHub](https://jsmoriss.github.io/adobe-xmp-for-wp/)
 * [WordPress.org](https://plugins.trac.wordpress.org/browser/adobe-xmp-for-wp/)

### Changelog / Release Notes

**Version 1.6.0 (2020/11/21)**

 * **New Features**
    - None.
 * **Improvements**
    - Added support for the copyright <dc:rights></dc:rights> tag.
 * **Bugfixes**
    - None.
 * **Developer Notes**
    - None.
 * **Requires At Least**
    - PHP v7.4.33.
    - WordPress v6.0.

## 额外信息

 *  版本 **1.6.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4.33 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/adobe-xmp-for-wp/) 、 [French (Belgium)](https://fr-be.wordpress.org/plugins/adobe-xmp-for-wp/)、
   [French (Canada)](https://fr-ca.wordpress.org/plugins/adobe-xmp-for-wp/) 和 [French (France)](https://fr.wordpress.org/plugins/adobe-xmp-for-wp/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/adobe-xmp-for-wp)
 * 标签
 * [iptc](https://cn.wordpress.org/plugins/tags/iptc/)[photoshop](https://cn.wordpress.org/plugins/tags/photoshop/)
   [rdf](https://cn.wordpress.org/plugins/tags/rdf/)[xml](https://cn.wordpress.org/plugins/tags/xml/)
   [xmp](https://cn.wordpress.org/plugins/tags/xmp/)
 *  [高级视图](https://cn.wordpress.org/plugins/adobe-xmp-for-wp/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/adobe-xmp-for-wp/reviews/)

## 贡献者

 *   [ JS Morisset ](https://profiles.wordpress.org/jsmoriss/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/adobe-xmp-for-wp/)