Archived topic
Footer on mobile code edit
1 reply · Started by Jeffrey on August 6, 2020
Viewing posts 1–2 of 2
I have this code that you guys created for me :)
add_action( 'wp', function() {
if ( wp_is_mobile() && is_user_logged_in() ) {
remove_action( 'generate_footer', 'generate_construct_footer_widgets', 5 );
remove_action( 'generate_footer', 'generate_construct_footer', 10 );
}
} );
Right now it removes the entire footer. I was wondering if it can be edited to leave the footer bar (only) on the bottom instead.
Hi there,
Have you tried removing this line?
remove_action( 'generate_footer', 'generate_construct_footer', 10 );
This archived topic is closed to new replies.