Linux 软件免费装
Banner图

Add Custom Fields to Media

开发者 christopherross

tinkerpriest
pattihis
更新时间 2024年12月1日 00:45
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 6.7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

wordpress media upload custom fields meta fields

下载

1.1.1 1.2.0 1.2.2 2.0.1 2.0.2 2.0.0

详情介绍:

Allows users to add custom fields to the media uploader and access those fields in posts or template files. Great for adding copyrights, image meta etc. To display the custom fields in your theme, use the following shortcode in post/pages: Where id is the ID of the media item and field is the name of the custom field. For PHP templates, use the following code: To use this plugin effectively, download and intall it on your WordPress blog. Next, access "Media Custom Fields" page in your admin Settings and create a new custom field for your media uploads. Once you've added a custom field, you can access it via the Media Library or during the Add Media process of uploading a new item. This plugin was originally developed by Christopher Ross. The plugin has been adopted and refactored by George Pattichis who will continue development and maintenance. Changelog

安装:

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for "Add Custom Fields To Media" and click "Install now"
  2. Alternatively, download the plugin and upload the contents of add-custom-fields-to-media.zip to your plugins directory, which usually is /wp-content/plugins/
  3. Activate the plugin
  4. Go to "Media Custom Fields" page in your admin Settings

屏幕截图:

  • The custom fields in media library

常见问题:

How do I display the contents of the custom fields?

  • [acfm id="123" field="my_custom_field"] - Shortcode
  • echo get_post_meta( 123, 'my_custom_field', true ); - PHP code

Where can I get more information, or technical support for this plugin?

You can post in the support forum or contact me.

更新日志:

2.0.2 2.0.1 2.0.0 (January, 2024) 1.2.5 (March 31, 2013) 1.2.1 (September 13. 2012) 1.2.0 (September 13. 2012) Added functions: 1.0.1 1.0.0