本文整理汇总了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>