HomePage › Forums › Themes Support › Freshio – Organic & Food Store WordPress Theme › Mobile colophon › Reply To: Mobile colophon
November 20, 2020 at 10:25 am
#1723
Hi there,
Please go to file functions.php in child-theme and paste code:
1. 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>';
}
2. 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>';
}
3. Search
function freshio_handheld_footer_bar_search() {
echo '<a href=""><span class="title">' . esc_attr__( 'Search', 'freshio' ) . '</span></a>';
freshio_product_search();
}
4. 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
}
}
Then edit label in code