Your account expired support, please renew to get your support.
HomePage › Forums › Themes Support › Shopic – Multipurpose WooCommerce WordPress Theme › Changing where icons link to in mobile menu at bottom of screen
Topic Resolution: Resolved
- 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 21, 2021 at 11:41 pm #8527KittenPicklesSupport Expired
Hi there,
I’ve installed this theme today and I can not see where the option is to change the links for the bottom menu that appears in mobile view?
Shop – My Account – Search – Wishlist
Shop and my account go to demo sites (demo2.pavothemes.com etc) – I need to change this so they point to pages on my site.
Can you please tell me how to edit these links?
April 22, 2021 at 1:21 pm #8567Hi there,
About this issue, please copy code and paste into file functions.php on child-theme
– Shop:
function shopic_handheld_footer_bar_shop_link() { echo '<a href="' . esc_url(get_permalink(get_option('woocommerce_shop_page_id'))) . '"><span class="title">' . esc_attr__('Shop', 'shopic') . '</span></a>'; }
– My account:
function shopic_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', 'shopic') . '</span></a>'; }
– Search:
function shopic_handheld_footer_bar_search() { echo '<a href=""><span class="title">' . esc_attr__('Search', 'shopic') . '</span></a>'; shopic_product_search(); }
– Wishlist:
function shopic_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', 'shopic'); ?></span> <span class="count"><?php echo esc_html(yith_wcwl_count_all_products()); ?></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.