Your account expired support, please renew to get your support.
HomePage › Forums › Themes Support › Freshio – Organic & Food Store WordPress Theme › Change mobile sticky 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
-
April 29, 2021 at 8:01 am #8956wellness2uSupport Expired
Hi there,
How can I change the mobile sticky menu icons and links? Please guide me how to do that with code or interfaces, thanks.
April 29, 2021 at 1:32 pm #8968Hi there,
To change text or link on menu mobile, please copy code and paste into file functions.php on child-theme
– Shop:
function freshio_handheld_footer_bar_shop_link() { echo '<a href="' . esc_url(get_permalink(get_option('woocommerce_shop_page_id'))) . '"><span class="title">' . esc_attr__('Shop', 'freshio') . '</span></a>'; }
– My account:
function freshio_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', 'freshio') . '</span></a>'; }
– Search:
function freshio_handheld_footer_bar_search() { echo '<a href=""><span class="title">' . esc_attr__('Search', 'freshio') . '</span></a>'; freshio_product_search(); }
– Wishlist:
function freshio_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', 'freshio' ); ?></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" href="<?php echo esc_url(WPCleverWoosw::get_url( $key, true )); ?>"> <span class="title"><?php echo esc_html__('Wishlist', 'freshio'); ?></span> <span class="count"><?php echo esc_html(WPCleverWoosw::get_count($key)); ?></span> </a> <?php } }
then edit text or link
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.