Footer off or turn off

Multipurpose WordPress Theme Forum Support
GK User
Tue Apr 14, 2015 11:13 pm
I don't need the footer navigation, is anyway to turn off? I tried to do it via "customize" but automatically place all the pages that I have. what I need to delete ?

Hope you can help me.

Cruz
User avatar
Junior Boarder

GK User
Wed Apr 15, 2015 7:52 am
Hi,

Please edit Quark/footer.php and footer-frontpage.php file and change this fragment:
Code: Select all
<div id="gk-footer-nav">
             <?php wp_nav_menu( array( 'theme_location' => 'footer', 'menu_class' => 'footer-menu' ) ); ?>
          </div>


into:
Code: Select all
<div id="gk-footer-nav">
             <?php wp_nav_menu( array( 'theme_location' => 'footer', 'menu_class' => 'footer-menu', 'fallback_cb' => false ) ); ?>
          </div>

and now you can disable this menu i theme customizer, we'll add this fix to the next theme update.
User avatar
Moderator

GK User
Wed Apr 15, 2015 8:30 pm
Hi,

It didn't work, because after replace the code, still I have the footer menu showing. BUT I delete all the menu links via "menu" and some css: #gk-footer-nav { padding-top: 0px; padding-bottom: 0px; border-top-width: 0px; }

Cheers

I think it works now
User avatar
Junior Boarder

GK User
Thu Apr 16, 2015 8:39 am
The code from my previous post works, but you have to also disable footer menu in Theme Customizer (Select "--Select--" instead of any menu).
User avatar
Moderator

GK User
Thu Apr 16, 2015 5:32 pm
aaahhh... good to know that! thanks a lot for you help :)

really happy with your fast response

Gracias
User avatar
Junior Boarder


cron