// ========================================================================= // REMOVE ACCOUNT AND SEARCH ICON FROM storefront-handheld-footer-bar // ========================================================================= function jk_remove_handheld_footer_links( $links ) { unset( $links['my-account'] ); unset( $links['search'] ); return $links; } add_filter( 'storefront_handheld_footer_bar_links', 'jk_remove_handheld_footer_links' ); // ========================================================================= // REMOVE STOREFRONT HANDHELD BAR // ========================================================================= function remove_storefront_handheld_footer_bar() { remove_action( 'storefront_footer', 'storefront_handheld_footer_bar', 999 ); } add_action( 'init', 'remove_storefront_handheld_footer_bar' ); // ========================================================================= // MOVE STOREFRONT HANDHELD FOOTER BAR WITH CART ICON TO HEADER // ========================================================================= add_filter( 'storefront_header', 'storefront_handheld_footer_bar' );
Leave a Reply