本文整理匯總了PHP中GDSRHelper::render_custom_fields方法的典型用法代碼示例。如果您正苦於以下問題:PHP GDSRHelper::render_custom_fields方法的具體用法?PHP GDSRHelper::render_custom_fields怎麽用?PHP GDSRHelper::render_custom_fields使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類GDSRHelper
的用法示例。
在下文中一共展示了GDSRHelper::render_custom_fields方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _e
<div id="gdsr-img-custom[<?php
echo $wpnm;
?>
]" style="display: <?php
echo $wpno['image_from'] == 'custom' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="100" valign="top"></td>
<td width="100" nowrap="nowrap"><?php
_e("Custom Field", "gd-star-rating");
?>
:</td>
<td align="right"><?php
GDSRHelper::render_custom_fields($wpfn . "[image_custom]", $wpno['image_custom'], 200);
?>
</td>
</tr>
</table>
</div>
<div id="gdsr-img-content[<?php
echo $wpnm;
?>
]" style="display: <?php
echo $wpno['image_from'] == 'content' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="100" valign="top"></td>
示例2: _e
?>
</td>
</tr>
</table>
</div>
<div id="gdsr-pi-custom[tinymce]" style="display: none">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td class="gdsrleft"><?php
_e("Custom Field", "gd-star-rating");
?>
:</td>
<td class="gdsrright">
<?php
GDSRHelper::render_custom_fields("srImageCustom", "", 200);
?>
</td>
</tr>
</table>
</div>
<div id="gdsr-pi-content[tinymce]" style="display: none">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td>
<?php
_e("First image from post content will be used for %IMAGE% tag.", "gd-star-rating");
?>
</td>
示例3: _e
<div id="<?php
echo $this->get_field_id('image_from');
?>
-custom" style="display: <?php
echo $instance['image_from'] == 'custom' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="100" valign="top"></td>
<td width="100" nowrap="nowrap"><?php
_e("Custom Field", "gd-star-rating");
?>
:</td>
<td align="right"><?php
GDSRHelper::render_custom_fields($this->get_field_name('image_custom'), $instance['image_custom'], 200);
?>
</td>
</tr>
</table>
</div>
<div id="<?php
echo $this->get_field_id('image_from');
?>
-content" style="display: <?php
echo $instance['image_from'] == 'content' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="100" valign="top"></td>