通知エリア

Cocoon Child: pagination.php (tmp/pagination.php)

<?php //ヘッダーエリア
/**
 * Cocoon WordPress Theme
 * @author: yhira
 * @link: https://wp-cocoon.com/
 * @license: http://www.gnu.org/licenses/gpl-2.0.html GPL v2 or later
 */
if ( !defined( 'ABSPATH' ) ) exit; ?>

<div id="header-container" class="header-container">
  <div class="header-container-in<?php echo get_additional_header_container_classes(); ?>">

<?php if( ( is_home() || is_front_page() ) && !is_paged() ) : ?>
<!--ここにトップ1ページにだけ表示したいほにゃららを記載-->

	  <!--
<?php echo do_shortcode('[su_animate type="shake" duration="1.5" delay="0.1"]'); ?>-->
	
	    <!--
	  
	  <div class="su-animate shake animated" style="visibility: visible; animation-duration: 1.5s; animation-delay: 0.1s;" data-animation="shake" data-duration="1.5" data-delay="0.1"><h1 class="toph1">白あん</h1>
</div>
-->
 <header id="header" class="header2<?php echo get_additional_header_classes(); ?> cf" itemscope itemtype="http://schema.org/WPHeader">
		
<div id="header-in" class="header-in wrap cf" itemscope itemtype="http://schema.org/WebSite">
</div>


<?php else: ?>

  <!--この部分にトップページの2ページ目以降に表示したい内容を記述-->

 <header id="header" class="header<?php echo get_additional_header_classes(); ?> cf" itemscope itemtype="https://schema.org/WPHeader">

         <div id="header-in" class="header-in wrap cf" itemscope itemtype="http://schema.org/WebSite">
<div class="logo logo-header logo-text">
<a href="https://white-cat-project.an-channel.com" class="site-name site-name-text-link" itemprop="url">
<span class="site-name-text" itemprop="name about">白あん</span></a></div>

 <?php //キャッチフレーズがヘッダー下部のとき
        if (is_tagline_position_header_bottom()) {
           get_template_part('tmp/header-tagline');
        } ?>  
</div>

<?php endif; ?>

    </header>

    <?php get_template_part('tmp/navi'); ?>
  </div><!-- /.header-container-in -->
</div><!-- /.header-container -->




トップへ戻る
タイトルとURLをコピーしました