コード例 #1
0
ファイル: portfolio.php プロジェクト: k2jysy/mergeshop
    wpo_embed();
    ?>
					</div>
				<?php 
} else {
    if (has_post_format('audio')) {
        ?>
					<div class="audio-thumb">
						<?php 
        wpo_embed();
        ?>
					</div>
				<?php 
    } else {
        if (has_post_format('gallery')) {
            $_imgs = wpo_gallery();
            ?>
					<div id="post-slide-<?php 
            the_ID();
            ?>
" class="carousel slide" data-ride="carousel">
						<div class="carousel-inner">
							<?php 
            foreach ($_imgs as $key => $_img) {
                echo '<div class="item ' . ($key == 0 ? 'active' : '') . '">';
                echo '<img src="' . $_img . '" alt="">';
                echo '</div>';
            }
            ?>
						</div>
						<a class="left carousel-control" href="#post-slide-<?php 
コード例 #2
0
ファイル: blog.php プロジェクト: shubham79/Jhintaak
        wpo_embed();
        ?>
						</div>
					<?php 
    } else {
        if (has_post_format('audio')) {
            ?>
						<div class="audio-thumb audio-responsive">
							<?php 
            wpo_embed();
            ?>
						</div>
					<?php 
        } else {
            if (has_post_format('gallery')) {
                $_imgs = wpo_gallery('image-blog');
                ?>
						<div id="post-slide-<?php 
                the_ID();
                ?>
" class="carousel slide" data-ride="carousel">
							<div class="carousel-inner">
								<?php 
                foreach ($_imgs as $key => $_img) {
                    echo '<div class="item ' . ($key == 0 ? 'active' : '') . '">';
                    echo '<img src="' . $_img . '" alt="">';
                    echo '</div>';
                }
                ?>
							</div>
							<a class="left carousel-control" href="#post-slide-<?php