Beispiel #1
0
  }
}*/

<?php 
    if (is_mobile() && !is_responsive_enable()) {
        ?>
#header, #header-in, #navi-in, #body-in, #footer-in, #sidebar {
  width:100%;
}

<?php 
    }
    //is_mobile
}
//is_sidebar_width_336
if (is_list_style_large_thumb_cards()) {
    //大きなサムネイル表示の場合
    ?>
#main .entry{
  width:320px;
  height:420px;
  overflow:hidden;
  float:left;
  clear:none;
  margin:10px 9px 0 10px;
}

.entry-thumb {
  float: none;
  margin-right: 0;
  text-align:center;
<?php

//投稿一覧リストのループ内で呼び出されるエントリーカード
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class('entry cf' . (is_list_style_large_thumb_cards() ? ' entry-large-thumbnail' : '') . (is_entry_card_style() ? ' entry-card' : ''));
?>
>
  <figure class="entry-thumb">
    <?php 
if (is_entry_card_style()) {
    //デフォルトのサムネイルカード表示の場合
    ?>
      <?php 
    if (has_post_thumbnail()) {
        // サムネイルを持っているとき
        ?>
        <a href="<?php 
        the_permalink();
        ?>
" class="entry-image entry-image-link" title="<?php 
        the_title();
        ?>
"><?php 
        the_post_thumbnail('thumb150', array('class' => 'entry-thumnail', 'alt' => get_the_title()));
        ?>
</a>
      <?php