Skip to content

Commit

Permalink
[ 不具合修正 ] 投稿のアーカイブでサムネイル画像・抜粋ありのレイアウトが効かない不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kurudrive committed Oct 5, 2015
1 parent c5129aa commit 186df07
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions index.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@


<?php biz_vektor_archive_loop(); ?> <?php biz_vektor_archive_loop(); ?>


<?php elseif (file_exists(get_stylesheet_directory( ).'/module_loop_'.$postType.'.php') && $postType != 'post' ): ?>

<?php while ( have_posts() ) : the_post(); ?>

<?php get_template_part('module_loop_'.$postType); ?>

<?php endwhile; ?>

<?php elseif ($postType == 'info') : ?> <?php elseif ($postType == 'info') : ?>


<?php if ( $options['listInfoArchive'] == 'listType_set' ) : ?> <?php if ( $options['listInfoArchive'] == 'listType_set' ) : ?>
Expand All @@ -71,20 +79,10 @@
<?php endwhile; ?> <?php endwhile; ?>
</ul> </ul>
<?php endif; //$options['listInfoArchive'] ?> <?php endif; //$options['listInfoArchive'] ?>


<?php elseif (file_exists(get_stylesheet_directory( ).'/module_loop_'.$postType.'.php')): ?>

<?php while ( have_posts() ) : the_post(); ?>

<?php get_template_part('module_loop_'.$postType); ?>

<?php endwhile; ?>


<?php else : ?> <?php else : ?>


<?php $options = biz_vektor_get_theme_options(); <?php if ( $options['listBlogArchive'] == 'listType_set' ) { ?>
if ( $options['listBlogArchive'] == 'listType_set' ) { ?>
<?php while ( have_posts() ) : the_post(); ?> <?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part('module_loop_post2'); ?> <?php get_template_part('module_loop_post2'); ?>
<?php endwhile ?> <?php endwhile ?>
Expand All @@ -96,7 +94,7 @@
</ul> </ul>
<?php } ?> <?php } ?>


<?php endif; // $postType == 'info' ?> <?php endif; ?>
<?php pagination(); ?> <?php pagination(); ?>
<?php else: ?> <?php else: ?>
<div class="sectionFrame"><p><?php _e('No posts.','biz-vektor');?></p></div> <div class="sectionFrame"><p><?php _e('No posts.','biz-vektor');?></p></div>
Expand Down

0 comments on commit 186df07

Please sign in to comment.