$mediaType = get_post_meta($post->ID, 'tz_portfolio_type', true);
        switch ($mediaType) {
            case "Image":
                tz_image($post->ID, 'portfolio-main');
                break;
            case "Slideshow":
                tz_gallery($post->ID, 'portfolio-main');
                break;
            case "Grid Gallery":
                tz_grid_gallery($post->ID, 'portfolio-main');
                break;
            case "Video":
                tz_video($post->ID);
                break;
            case "Audio":
                tz_audio($post->ID);
                break;
            default:
                break;
        }
        ?>
				<!--BEGIN .pager .single-pager -->
				<ul class="pager single-pager">
				<?php 
        if (get_previous_post()) {
            ?>
					<li class="previous"><?php 
            previous_post_link('%link', theme_locals("prev_post"));
            ?>
</li>
				<?php 
예제 #2
0
<!--BEGIN .hentry -->
<div <?php 
post_class();
?>
 id="post-<?php 
the_ID();
?>
">

    <?php 
tz_audio(get_the_ID());
?>

	<div id="jquery_jplayer_<?php 
the_ID();
?>
" class="jp-jplayer"></div>

    <div class="jp-audio-container">
        <div class="jp-audio">
            <div class="jp-type-single">
                <div id="jp_interface_<?php 
the_ID();
?>
" class="jp-interface">
                    <ul class="jp-controls">
                    	<li><div class="seperator-first"></div></li>
                        <li><div class="seperator-second"></div></li>
                        <li><a href="#" class="jp-play" tabindex="1">play</a></li>
                        <li><a href="#" class="jp-pause" tabindex="1">pause</a></li>
                        <li><a href="#" class="jp-mute" tabindex="1">mute</a></li>