<? echo get('variable'); ?>
<? echo get_image('variable'); ?>
<? echo option('variable'); ?>
<? get($fieldName, $groupIndex=1, $fieldIndex=1, $readyForEIP); ?> <? get_image($fieldName, $groupIndex=1, $fieldIndex=1); ?> <? get_audio($fieldName, $groupIndex=1, $fieldIndex=1); ?>
$fieldName - string containing field name
$groupIndex - integer representing the index of the group in case the group is duplicated.
$fieldIndex - integer representing the index of the field in case the field is duplicated.
$readyForEIP - if true and the field type is textbox or multiline textbox, the resulting value will be wrapped n a div that is ready for EIP.
<? echo pt(); ?>
Get number of field duplicates given field name and group duplicate index. The function returns 1 if there are no duplicates (just the original field), 2 if there is one duplicate and so on.
<? getFieldDuplicates ($fieldName, $groupIndex); ?>
Get number of group duplicates given field name. The function returns 1 if there are no duplicates (just he original group), 2 if there is one
duplicate and so on. $fieldName is the name of any field in the group
<? getGroupDuplicates ($fieldName); ?>
Ordering posts based on a custom field - Assuming you have a field named “my_custom_order”, query_posts should be
<? query_posts($query_string.’customorderby=x_my_custom_order&order=ASC’); ?>
Filtering posts with a specified value - Assuming you have a field named “my_field”, add a the prefix ‘x’ to it and add it normally to query_posts. E.g.
<? query_posts($query_string.’x_my_field=true’); ?>