採用サイト制作に最適なWordPressテーマ「ISSUE」の機能概要

ワードプレステーマ別

TCDテーマORION:スマホの最下部のフッターメニューを表示させる方法

Q.スマホの最下部のフッターメニューを表示させたい

スマホのSNSアイコンの下にある最下部のフッターメニューは、スマホでは表示されない仕様ですので、それを表示させる方法をご説明します。

A.該当ファイルを編集してください

編集するファイル: footer.php

以下のコードの!is_mobile() &&を削除します。

<!-- footer bottom menu -->
   <?php if (!is_mobile() && has_nav_menu('footer-menu-bottom')) { ?>
   <div id="footer_menu_bottom" class="clearfix">
    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'theme_location' => 'footer-menu-bottom' , 'container' => '' , 'depth' => '1') ); ?>
   </div>
   <?php }; ?>

↓↓↓

<!-- footer bottom menu -->
   <?php if (has_nav_menu('footer-menu-bottom')) { ?>
   <div id="footer_menu_bottom" class="clearfix">
    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'theme_location' => 'footer-menu-bottom' , 'container' => '' , 'depth' => '1') ); ?>
   </div>
   <?php }; ?>

この記事は役に立ちましたか?

もし参考になりましたら、下のボタンで教えてください。
今後の記事作成の参考とさせて頂きます!

同じテーマのカスタマイズ記事