Your account expired support, please renew to get your support.
Support Forum › Forums › Woncep – Fashion Style WooCommerce Theme › Footer bar menu
- This topic has 1 reply, 2 voices, and was last updated 3 years ago by Billy Nguyen.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
August 30, 2021 at 10:10 pm #2502dermanefxSupport Expired
Hello
I would like to know how to edit or hide the floatting footer bar !
Thank you.
August 31, 2021 at 9:07 am #2505Hi you,
We use function template for this menu. To edit them, you need to override this template functions.
#1. To change text on menu mobile, please copy code and paste into file functions.php on child-theme
– Shop:
function woncep_handheld_footer_bar_shop_link() { echo '<a href="' . esc_url(get_permalink(get_option('woocommerce_shop_page_id'))) . '"><span class="title">' . esc_attr__('Shop', 'woncep') . '</span></a>'; }
– My account:
function woncep_handheld_footer_bar_account_link() { echo '<a href="' . esc_url(get_permalink(get_option('woocommerce_myaccount_page_id'))) . '"><span class="title">' . esc_attr__('My Account', 'woncep') . '</span></a>'; }
– Search:
function woncep_handheld_footer_bar_search() { ?> <a href=""><span class="title"><?php echo esc_html__('Search', 'woncep'); ?></span></a> <div class="site-search"> <?php the_widget('WC_Widget_Product_Search', 'title='); ?> </div> <?php }
– Wishlist:
function woncep_handheld_footer_bar_wishlist() { if (function_exists('yith_wcwl_count_all_products')) { ?> <a class="footer-wishlist" href="<?php echo esc_url(get_permalink(get_option('yith_wcwl_wishlist_page_id'))); ?>"> <span class="title"><?php echo esc_html__('Wishlist', 'woncep'); ?></span> <span class="count"><?php echo esc_html(yith_wcwl_count_all_products()); ?></span> </a> <?php } elseif (function_exists('woosw_init')) { $key = WPCleverWoosw::get_key(); ?> <a class="footer-wishlist woosw-check" href="<?php echo esc_url(WPCleverWoosw::get_url($key, true)); ?>"> <span class="title"><?php echo esc_html__('Wishlist', 'woncep'); ?></span> <span class="count"><?php echo esc_html(WPCleverWoosw::get_count($key)); ?></span> </a> <?php } }
#2. To disable mobile menu:
function woncep_handheld_footer_bar() { return; }
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.