示例#1
0
?>
-icon"><?php 
_e('Icon URL', 'premise');
?>
</label>
                	</th>
                	<td>
                		<input class="regular-text premise-content-scrollers-icon" type="text" name="premise[content-scrollers][<?php 
echo $key;
?>
][icon]" id="premise-content-scrollers-<?php 
echo $key;
?>
-icon" value="<?php 
echo esc_attr($icon);
?>
" />
                		<?php 
printf(__('You can upload one via the <a class="thickbox" href="%s">WordPress uploader</a>.', 'premise'), esc_attr(add_query_arg(array('post_id' => 0, 'send_to_premise_field_id' => "premise-content-scrollers-{$key}-icon", 'TB_iframe' => 1, 'width' => 640, 'height' => 459), add_query_arg('TB_iframe', null, get_upload_iframe_src('image')))));
?>
                	</td>
                </tr>
            </tbody>
        </table>

        <?php 
premise_the_editor($text, 'premise[content-scrollers][' . $key . '][text]', '', true, $key + 2);
?>
    </div>
</div>
示例#2
0
<?php

$meta = $this->getPremiseMeta($post->ID);
premise_the_editor($meta['below-video-copy'], 'premise[below-video-copy]', '', true, 6);
示例#3
0
文件: opt-in.php 项目: hscale/webento
<p><?php 
_e('Copy that is displayed next to the opt in form.', 'premise');
?>
</p>
<?php 
premise_the_editor($meta['optin-copy'], 'premise[optin-copy]', '', true, 4);
?>

<div class="premise-option-box">
	<h4><?php 
_e('Placement', 'premise');
?>
</h4>
	<p><?php 
_e('Where do you want your opt in form in relation to your copy?', 'premise');
?>
</p>
	<ul id="premise-video-placement-choices">
		<li>
			<label for="premise-optin-placement-left">
				<img src="<?php 
echo $resourcesUrl;
?>
images/optin-left.png" alt="Opt In Left Placement" /><br />
				<input type="radio" <?php 
checked(in_array($meta['optin-placement'], array('left', '')), true);
?>
 name="premise[optin-placement]" id="premise-optin-placement-left" value="left" />
				<?php 
_e('Left of Copy', 'premise');
?>
示例#4
0
<h4><?php 
_e('Above Pricing Table', 'premise');
?>
</h4>
<?php 
premise_the_editor($meta['above-pricing-table-copy'], 'premise[above-pricing-table-copy]', '', true, 6);
?>

<h4><?php 
_e('Below Pricing Table', 'premise');
?>
</h4>
<?php 
premise_the_editor($meta['below-pricing-table-copy'], 'premise[below-pricing-table-copy]', '', true, 7);
示例#5
0
<p>
	<?php 
_e('Enter the page elements and copy you want displayed before a reader shares the page.  This is your teaser page.', 'premise');
?>
	<?php 
premise_the_editor($meta['teaser-page'], 'premise[teaser-page]', '', true, 6);
?>
</p>
示例#6
0
 function long_copy($post)
 {
     global $premise_base, $Premise;
     $meta = $premise_base->get_premise_meta($post->ID);
     premise_the_editor($post->post_content, 'content', '', true, 6);
 }
示例#7
0
文件: video.php 项目: hscale/webento
<p><?php 
_e('Copy that is displayed next to the video (or leave blank for a centered video with no copy.', 'premise');
?>
</p>
<?php 
premise_the_editor($meta['video-copy'], 'premise[video-copy]', '', true, 3);
?>

<div class="premise-option-box">
	<h4><?php 
_e('Placement', 'premise');
?>
</h4>
	<p><?php 
_e('Where do you want your video in relation to your copy?', 'premise');
?>
</p>
	<ul id="premise-video-placement-choices">
		<li>
			<label for="premise-video-placement-left">
				<img src="<?php 
echo $resourcesUrl;
?>
images/video-left.png" alt="Video Left Placement" /><br />
				<input type="radio" <?php 
checked(in_array($meta['video-placement'], array('left', '')), true);
?>
 name="premise[video-placement]" id="premise-video-placement-left" value="left" />
				<?php 
_e('Left of Copy', 'premise');
?>
<p>
	<?php 
_e('Enter the page elements and copy you want displayed after a read shares the page.  This is where you give them what you promised them for sharing the page.', 'premise');
?>
	<?php 
premise_the_editor($meta['after-a-share-page'], 'premise[after-a-share-page]', '', true, 6);
?>
</p>