Forum Replies Created
-
Ok nevermind . 1.1.9 seems to resolve our problem
This reply has been marked as private.Ok i understand now why i could not see my updates.
Thanks a lot!
Finnaly here the code$login_url = wp_login_url(); if (defined('WOOCOMMERCE_VERSION')) { $login_url = get_permalink(get_option('woocommerce_myaccount_page_id')); } $minicart .= '<div><a href="'. esc_url($login_url) .'"><i class="fa fa-user"></i> <span>'; $minicart .= (!is_user_logged_in()) ? __('Login','sitesao') : __('My Account','sitesao'); $minicart .= '</span></a></div>';
in reply to: Account link in minicart-sideNothig append with your code or mine :
$login_url = wp_login_url(); if (defined('WOOCOMMERCE_VERSION')) { $login_url = get_permalink(get_option('woocommerce_myaccount_page_id')); } $minicart .= '<i class="fa fa-user"></i>'; $minicart .= (!is_user_logged_in()) ? esc_html_e('Login','loja') : esc_html_e('Account','loja'); $minicart .= '';
in reply to: Account link in minicart-sideWe would like something like that.
We don’t mind the css we are ok with that.
Only the php code upgrade-safe way.
Thanks a lot.Attachments:
You must be logged in to view attached files.in reply to: Account link in minicart-sideOK fine for these files.
Beware ‘plugins/sitesao-core/languages/’ not ‘plugins/sitesao-core/langauges/’.
The probleme is to find wich string is in wich file.
For exemple in the sidebar “shopping cart” if i change this string in my sitesao-fr_FR Nothing append.
Hes it been hardcoded?in reply to: TranslationThanks for your help.I’m Checking-it.
in reply to: TranslationHello,thanks for your work on this theme! We’ve got the same problem.
Can you be more précise on the namming convention, please.
The way we’ve done it seems to have no effect.
Is the file should be named sitesao-fr_FR.mo for a french site? or sitesao_fr.mo or something else?Best regards.
in reply to: Translation