Allows to render the advanced custom field meta-data in the HTML header and to display it in the page.
Author: | Thierry.Vieville@inria.fr (profile at wordpress.org) |
WordPress version required: | 3.0.1 |
WordPress version tested: | 4.0 |
Plugin version: | v1.1 |
Added to WordPress repository: | 19-08-2014 |
Last updated: | 17-09-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://www-sop.inria.fr/science-participative... |
Total downloads: | 330 |
Click to start download |
When activated, the field group menu of the advanced custom field (ACF) extension has an additional rendering dialog-box.
These new options allow to (i) display the group fields value in the post or page content and to (i) dump the values as HTML meta-data.
Displaying field values in the content
The user choose to display at the top or bottom of the content, and defines the display as a piece of HTML code, with [acf field="name"]
shortcode in order to display the corresponding field value. That simple.
Displaying field values as meta-data
The user choose display (or not) the in the HTML <head>..</head>
section, using <meta name="$name" content="$value"/>
tags, the data of a given group.
The $name
is the field name
(not its title
).
The value is the one produced by the [acf field="name"]
shortcode (i.e., the ACF get_field()
function). For some non textual data types it is undefined. Multiples values are rendered as a comma ',
' separated list.