HomePage › Forums › Themes Support › Freshio – Organic & Food Store WordPress Theme › Mobile colophon
- This topic has 7 replies, 2 voices, and was last updated 3 years, 5 months ago by Billy Nguyen.
-
AuthorPosts
-
November 19, 2020 at 6:07 pm #1696aleferrSupport Expired
Hi. Is it possibile to change label shop, my account ecc. in the mobile version?
November 20, 2020 at 10:25 am #1723Hi 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
November 20, 2020 at 4:01 pm #1738aleferrSupport ExpiredDone, thank you. Another question, is it possible to find an element which php calls? For example, i want to change “search product” of the header search bar in an italian why. How can i find where is it defined?
November 20, 2020 at 4:48 pm #1743Hi again,
To translate, please install Loco translate plugin
View guide at: https://localise.biz/wordpress/plugin/beginnersNovember 20, 2020 at 9:13 pm #1761aleferrSupport ExpiredI don’t find what i need. For example “search products” is not showed and also “you’re viewing” in the single article page
November 21, 2020 at 10:23 am #1777Hi,
Please send Admin web account for me, I will check and help youNovember 23, 2020 at 3:35 am #1799aleferrSupport ExpiredHow can i send it to you?
November 23, 2020 at 9:30 am #1815Please send via this topic and set as private reply.
https://prnt.sc/vo3hcf -
AuthorPosts
You must be logged in to reply to this topic.