HomePage › Forums › Themes Support › Freshio – Organic & Food Store WordPress Theme › My account menu
Tagged: My account menu
- This topic has 12 replies, 2 voices, and was last updated 3 years, 7 months ago by Billy Nguyen.
-
AuthorPosts
-
February 8, 2021 at 8:15 pm #5056EzekielsxmSupport Expired
Hello, I downloaded the plugin: Points and Rewards for WooCommerce
In my dashboard, a field on fidelity points has been added. But it does not appear when hovering over the My Account button.
How to add it in this menu?
Thank you !
February 9, 2021 at 9:01 am #5077Please check your acount, I can’t login your admin site: https://prnt.sc/ys6ym0
February 9, 2021 at 9:01 am #5078Please check your acount, I can’t login your admin site: https://prnt.sc/ys6ym0
February 9, 2021 at 3:05 pm #5094EzekielsxmSupport ExpiredThis reply has been marked as private.February 9, 2021 at 4:54 pm #5102Hi,
I fixed it for you, please recheck
February 9, 2021 at 4:59 pm #5105EzekielsxmSupport ExpiredHello, I didn’t see it. The page to add is : https://www.evasioncbd.com/mon-compte/points/
February 9, 2021 at 5:15 pm #5109Please copy and paste this code into file functions.php ( child-theme):
function freshio_account_dropdown() { ?> <?php if (has_nav_menu('my-account')) : ?> <nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e('Dashboard', 'freshio'); ?>"> <?php wp_nav_menu(array( 'theme_location' => 'my-account', 'menu_class' => 'account-links-menu', 'depth' => 1, )); ?> </nav><!-- .social-navigation --> <?php else: ?> <ul class="account-dashboard"> <?php if (freshio_is_woocommerce_activated()): ?> <li> <a href="<?php echo esc_url(wc_get_page_permalink('myaccount')); ?>" title="<?php esc_html_e('Dashboard', 'freshio'); ?>"><?php esc_html_e('Dashboard', 'freshio'); ?></a> </li> <li> <a href="<?php echo esc_url(wc_get_account_endpoint_url('orders')); ?>" title="<?php esc_html_e('Orders', 'freshio'); ?>"><?php esc_html_e('Orders', 'freshio'); ?></a> </li> <li> <a href="https://www.evasioncbd.com/mon-compte/points/" title="<?php esc_html_e('Points de fidélité', 'freshio'); ?>"><?php esc_html_e('Points de fidélité', 'freshio'); ?></a> </li> <li> <a href="<?php echo esc_url(wc_get_account_endpoint_url('downloads')); ?>" title="<?php esc_html_e('Downloads', 'freshio'); ?>"><?php esc_html_e('Downloads', 'freshio'); ?></a> </li> <li> <a href="<?php echo esc_url(wc_get_account_endpoint_url('edit-address')); ?>" title="<?php esc_html_e('Edit Address', 'freshio'); ?>"><?php esc_html_e('Edit Address', 'freshio'); ?></a> </li> <li> <a href="<?php echo esc_url(wc_get_account_endpoint_url('edit-account')); ?>" title="<?php esc_html_e('Account Details', 'freshio'); ?>"><?php esc_html_e('Account Details', 'freshio'); ?></a> </li> <?php else: ?> <li> <a href="<?php echo esc_url(get_dashboard_url(get_current_user_id())); ?>" title="<?php esc_html_e('Dashboard', 'freshio'); ?>"><?php esc_html_e('Dashboard', 'freshio'); ?></a> </li> <?php endif; ?> <li> <a title="<?php esc_html_e('Log out', 'freshio'); ?>" class="tips" href="<?php echo esc_url(wp_logout_url(home_url())); ?>"><?php esc_html_e('Logout', 'freshio'); ?></a> </li> </ul> <?php endif; }
Delete all cache when check your site
February 20, 2021 at 7:40 pm #5702EzekielsxmSupport ExpiredIt doesn’t work. I delete all cache but I don’t see any link.
February 22, 2021 at 4:32 pm #5784Hi,
Please check your site again, I fixed it for you
February 22, 2021 at 9:17 pm #5812EzekielsxmSupport ExpiredIt works thank you. But I don’t see anymore my code in override folders emails + pdf under functions.php.
February 23, 2021 at 2:44 am #5818EzekielsxmSupport Expired404.php, mails and pdf files have disappeared
February 23, 2021 at 3:18 am #5819EzekielsxmSupport ExpiredIt’s ok, I could restore them.
February 23, 2021 at 11:08 am #5831The problem is with the child-theme you install, it doesn’t accept functions overwritten, so it can’t fix the dropdown menu. I had to reinstall the child theme, but I forgot to back up the part you edited, very sorry
-
AuthorPosts
You must be logged in to reply to this topic.