Hello,
Is there a way to remove this copy, without using CSS?
Thanks for any help.
Hello,
Is there a way to remove this copy, without using CSS?
Thanks for any help.
Hi Justin,
Menu are part of the legacy footer by default. If you want to remove without using CSS, we have to edit the template. If you don’t have a child theme yet, please install it.
Go to this location via FTP: \wp-content\themes\x\framework\legacy\cranium\footers\views\global
Copy _nav-footer.php from that location
Paste here on your child theme: \wp-content\themes\x-child\framework\legacy\cranium\footers\views\global
You might need to create the folder path on your child theme if it doesn’t exist yet.
Either remove the content of that file or just comment it for the footer to disable. Comment it like this:
<?php
// =============================================================================
// VIEWS/GLOBAL/_NAV-FOOTER.PHP
// -----------------------------------------------------------------------------
// Outputs the footer nav.
// =============================================================================
?>
<?php
// if ( has_nav_menu( 'footer' ) ) :
// wp_nav_menu( array(
// 'theme_location' => 'footer',
// 'container' => false,
// 'menu_class' => 'x-nav',
// 'depth' => 1
// ) );
// else :
// echo '<ul class="x-nav"><li><a href="' . home_url( '/' ) . 'wp-admin/nav-menus.php">' . __( 'Assign a Menu', '__x__' ) . '</a></li></ul>';
// endif;
?>
Hope this helps.
Thank you.
You are most welcome!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.