At the moment when a customer would like to leave a review he needs to login. However, when clicking on the login button on “the review” page this will take you to wordpress to login. I rather would like the link to the login page would be the same as the login page (in the right top corner of the screen).
At the moment when you click on “inloggen” it will send you to: http://www.fashionneeds.nl/bram?redirect_to=http%3A%2F%2Fwww.fashionneeds.nl%2Fproduct%2Fopen-hanger-met-rode-steen%2F
While I rather want to be send to the login page: https://www.fashionneeds.nl/mijn-account/
Can you help me?Site URL: hidden
In this case you need edit WordPress file wp-includes/comment-template.php in line 2076 and edit the code
sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ), you should write your url instead of
%s, so it’ll be
sprintf( __( 'You must be <a href="https://www.fashionneeds.nl/mijn-account/">logged in</a> to post a comment.' )
Please try it.
Hi thanks Eva, I tried it but it seems to work only partly. This product:
Has the text in Dutch but the link still goes to the wordpress page
However, this product:
Has the text in English and the link goes to my account which is good.
I thought I set all text to Dutch but apperently the code I used yesterday also works partly. I would like to have the text in the review (beoordelingen) section in Dutch like the first example but the link which directs to my account such as in the second example. Can you help me?Site URL: hidden
That did the trickm thank you. Besides that question I also wondered how to change the upper lines of text in the “my account page”. It now states: Order (ordern number) was placed on (date) and is currently (Status). However I would like to have this translated to Dutch but I can find where do do this. Many thanks!Site URL: hidden
Sorry, but I don’t see the text you mentioned:
Could you please show a screenshot?
That text can be translated in .po file in wp-content/plugins/woocommerce/i18n/languages. Please read this article http://docs.woothemes.com/document/woocommerce-localization/ (paragraph “Translating with PoEdit”).
Isn’t there another way? Because I am not ablte to save the file due to error codes.
In my localization plugin in it states:
The author uses the load_textdomain function instead of the load_plugin_textdomain. This can cause problems with WordPress, some filters and actions will not be working properly.
Can this have anything to do with the error codes?
You need translate via .po file and not via plugin. Please read the paragraph 6.Translating with PoEdit http://docs.woothemes.com/document/woocommerce-localization/ .
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty