Linux 软件免费装

Display Custom Fields

开发者 TeaCii
更新时间 2014年8月1日 07:19
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.9.1
版权: GPLv2
版权网址: 版权信息

标签

meta custom fields meta fields postmeta post meta display field value display meta

下载

1.0.1 1.1.1 1.0.0

详情介绍:

This plugin allows you to display the value of a custom field on a page or post. Permitted values are raw text, html, javascript, javascript file url, css, css file. Since version 1.1.x it also allows you to show a custom field of any page or post, provided you have the id. One of the intended use of this plugin is to provide just in time code without editing the theme. Often code, especially css, gets lost with theme change. This techniques will ensure the values are loaded only on the given page and they will survive changes of themes and other plugins. You can also use this to include javascript snippets or files. They will only be loaded on the given post or page. This in turn allows for loading of scripts only where needed. You may use the plugin in two ways: [dcf field="name_of_custom_field"] or optionally you can "raw" - this is the default and you do not need to specify this type. It outputs the value as it is. You can use html code in the values quite safely. "js" - use this to specify that the value is actually javascript. Do not wrap it with the script tag. Remember that $ is not a valid jQuery replacement in Wordpress. You should use "jQuery" instead. "jsf" - You may need to include a javascript file. The value of the custom field should be a fully qualified javascript file url. "css" - use this to specify css code in the value of the custom field. "cssf" - You may need to include a css file. The value of the custom field should be a fully qualified css file url. Here I would like to note that:

安装:

The installation has no special requirements. Proceed as normal. Upload the display-custom-fields folder to the /wp-content/plugins/ directory Alternatively use the upload plugin installable zip Activate the plugin through the \'Plugins\' menu in WordPress There are no settings in the normal version. The pro version installs a additional security configuration in the menu.

升级注意事项:

There are no known compatibility issues in upgrading from 1.0.1 to 1.1.1

更新日志:

1.1.1 Allows you to show a custom field of any page or post, provided you have the id. 1.0.1 The description has been updated 1.0.0 Initial release