Exemple #1
0
function premise_the_video_copy($postId = null)
{
    echo apply_filters('the_content', premise_get_video_copy($postId), $postId);
}
Exemple #2
0
function premise_do_before_video_content()
{
    ?>
	<div class="entry-video entry-video-align-<?php 
    premise_the_video_align();
    ?>
">
		<div class="container-border">
			<div class="entry-video-video">
				<?php 
    if (premise_has_video_image()) {
        ?>
				<a id="inline" href="#entry-video-video-embed"><img src="<?php 
        premise_the_video_image();
        ?>
" alt="<?php 
        premise_the_video_image_title();
        ?>
" /></a>
				<?php 
    } else {
        premise_the_video_embed_code();
    }
    ?>
			</div>
			<?php 
    if (premise_has_video_image()) {
        ?>
<div style="display:none"><div id="entry-video-video-embed"><?php 
        premise_the_video_embed_code();
        ?>
</div></div><?php 
    }
    ?>
			<?php 
    if (premise_get_video_align() != 'center') {
        ?>
			<div class="entry-video-content"><?php 
        echo apply_filters('the_content', premise_get_video_copy());
        ?>
</div>
			<?php 
    }
    ?>
			<span class="clear"></span>
		</div>
		<span class="clear"></span>
	</div>
<?php 
}
Exemple #3
0
?>
					</div>
					<?php 
if (premise_has_video_image()) {
    ?>
<div style="display:none"><div id="entry-video-video-embed"><?php 
    premise_the_video_embed_code();
    ?>
</div></div><?php 
}
?>
					<?php 
if (premise_get_video_align() != 'center') {
    ?>
					<div class="entry-video-content"><?php 
    echo apply_filters('the_content', premise_get_video_copy());
    ?>
</div>
					<?php 
}
?>
					<span class="clear"></span>
				</div>
				<span class="clear"></span>
			</div>
			<div class="entry-content"><?php 
echo apply_filters('the_content', premise_get_video_below_copy());
?>
</div>
		</div>
	</div><!-- end #content -->