HomePage › Forums › Themes Support › Freshio – Organic & Food Store WordPress Theme › Disable of My account and Shop IN Mobile view
- This topic has 8 replies, 2 voices, and was last updated 1 year, 11 months ago by Billy Nguyen.
-
AuthorPosts
-
March 25, 2022 at 1:17 pm #21601WebsterGGSupport Expired
Hi Support,
Am just using the site only to show my products along with Wishlist, so no sales. So I want to disable Accounts BUTTON. Help to navigate how to disable that.
Thanks!
March 26, 2022 at 10:32 am #21643Hi you,
Please follow guide at https://pavothemes.com/forums/topic/how-to-edit-footer-bar-menu-on-mobile-version/
March 26, 2022 at 11:45 am #21660WebsterGGSupport ExpiredHi Support,
Do you mean to disable Account from footer mobile menu, adding thsi code in appearance->customize is enough?
– My account:
function freshio_handheld_footer_bar_account_link() {
echo ‘<span class=”title”>’ . esc_attr__(‘My Account’, ‘freshio’) . ‘</span>‘;
}This seems to be to edit the text, but to hide or disable it.
Thanks!
March 28, 2022 at 1:30 pm #21711To disable the Account button, please add this code to file fuctions.php( child-theme):
add_filter('freshio_handheld_footer_bar_links', 'freshio_handheld_footer_bar_links_custom'); function freshio_handheld_footer_bar_links_custom(links){ unset( $links['my-account'] ); return $links; }
March 28, 2022 at 9:47 pm #21734WebsterGGSupport ExpiredThis reply has been marked as private.March 28, 2022 at 10:05 pm #21737WebsterGGSupport ExpiredHi,
I added this code in custom css in appearance, but still visible. (mobile view -> myaccount in handheld footer.
Pls help to disable this.
Thanks!March 31, 2022 at 12:44 am #21778Please add this code to file functions.php( child-theme), or if you need to help, please send Admin web account for me, I will check and try to help you.
April 7, 2022 at 11:28 am #22097WebsterGGSupport ExpiredHi Support,
Thanks for continuous support!
Tried adding the below code to disable the account menu from mobile footer in handheld footer option.
wp includes->child theme->functions.phpBut it was showing “”syntax error unexpected t variable“”…Even I saved but site becomes down, So I removed the code from functions.php
add_filter(‘freshio_handheld_footer_bar_links’, ‘freshio_handheld_footer_bar_links_custom’);
function freshio_handheld_footer_bar_links_custom(links){
unset( $links[‘my-account’] );
return $links;
}Kindly help.
Thanks!April 7, 2022 at 2:40 pm #22111Please send Admin web account for me, I will check and try to help you.
-
AuthorPosts
You must be logged in to reply to this topic.