[Support request] Footer on mobile code edit

Home Forums Support Footer on mobile code edit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1389992
    Jeffrey

    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.

    #1390073
    Leo
    Staff
    Customer Support

    Hi there,

    Have you tried removing this line?
    remove_action( 'generate_footer', 'generate_construct_footer', 10 );

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.