コード例 #1
0
ファイル: template-tags.php プロジェクト: TyRichards/paradox
function base_add_audio_to_gallery($html, $postid)
{
    return '<li>' . base_print_audio_html($postid) . '</li>' . $html;
}
コード例 #2
0
ファイル: content-audio.php プロジェクト: TyRichards/paradox
?>
<!--BEGIN .post -->
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
<?php 
zilla_post_start();
?>

	<?php 
if (is_singular()) {
    echo base_print_audio_html($post->ID);
} else {
    base_post_thumbnail($post->ID);
}
?>

	<!--BEGIN .entry-header-->
	<header class="entry-header">
		<?php 
if (is_singular()) {
    base_post_title();
    base_post_meta_header();
} else {
    base_post_meta_header();
    base_post_title();
}