Lingulo
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Customize Navigation Block Hamgurger IconYou could use the
render_block
filter to replace the<svg>
tag with a different SVG like so:function custom_render_block_core_navigation (string $block_content, array $block) { if ( $block['blockName'] === 'core/navigation' && !is_admin() && !wp_is_json_request() ) { return preg_replace('/\<svg width(.*?)\<\/svg\>/', 'add your SVG here', $block_content); } return $block_content; } add_filter('render_block', 'custom_render_block_core_navigation', null, 2);
- This reply was modified 2 years, 3 months ago by Lingulo. Reason: fixed replacement pattern to address only the navigation icon and not the close button
I think I need a break today, thank you for your fast response. Must have overseen that, it’s working great.
Thank you ??
Chris
Forum: Plugins
In reply to: [User Role Editor] Not able to delete article(post) from front endDid you find any solution? I am having the exact same problem. Users can not delete their own posts from the frontend even though the permissions are set correctly. I am using
get_delete_post_link()
to create the delete link but it always just redirects to the home page.Forum: Plugins
In reply to: [Timeline Express] Datepicker uses GermanGreat! It’s working like a charm now! Thank you very much for your fast respond and the quick fixing! ??
Forum: Plugins
In reply to: [Timeline Express] Datepicker uses GermanThank you for your answer! Yes, I chose German as the site setting. For you to better understand I made a screenshot which shows that when choosing a date from the datepicker it will place the German date into the input field (9. Mai 2017). As soon as you click Update however the date gets reset to todays date in English (11. March 2017) and when you go back to the “All Announcements” page you get the error that is also on the screenshot.
The screenshot: https://ibb.co/dW1XwF
Thank you, I will try that. I did find something that is not working like before since I updated your plugin but I am not sure why that is. I have added a new column to my order table in the WooCommerce backend which always shows me the billing address. address_1 contains the street name while address_2 contains the street number. Before the update both were displayed fine, but after the update the address_2 is not being displayed anymore, it seems to be empty. The same thing occurs for the plugin WooCommerce PDF Invoices & Packing Slips. Before the street number (address_2) was displayed, now it is not displayed anymore on the PDF. Note that this only occurs for PayPal Plus, all the others are fine. Any idea what could cause this?
It seems not to cause any problem in the frontend, site or checkout, it’s just weird that it’s showing the error although PP Advanced is turned off.
Could you please provide me with a hint where I could change the order number sent to PayPal to be the invoice number?
Oh the second error isn’t gone. When I click on the link in the screenshot above (where it says Login here) I get to the following screen: https://pl.vc/34mjr
Ok the second error message is gone now, but the first one remains (screenshot: https://pl.vc/4v2og )
Could you please tell me how to change the order number to invoice number?
Thank you
Just got news from my client. There is indeed an order number on the receipt now. However what he wants is the number to be the invoice number, not the order number. Could you tell me where I could adapt what is being sent to PayPal and replace the order number with the invoice number?
Thank you for your help. I did as you said, PayPal Advanced was indeed switched on after I uploaded the new version of your plugin. So I changed the currency to USD, then switched PayPal Advanced off and changed the currency back to EUR. However the error message telling me to login to PayPal Advanced is still there. I double checked but PayPal Advanced is surely switched off.
I just wrote to my client asking whether the order number is now on the PayPal receipt, I will get an answer soon.
EDIT: I just realized that there are in fact two error messages! The first one saying
Paypal Advanced error: Please enter your PayPal Advanced Account Merchant Login
And the second one saying
Gateway Disabled: PayPal Plus does not support your store currency (Supports: EUR, CAD).
(I double checked, the store currency is for sure Euro)
When I upload the files from your link and then reactivate the plugin I get the above error. It’s telling me to add some PayPal Merchant login (I think it was called something like that) and when I click on the link “Login” the error appears. So the error seems to be not specifically PayPal Plus related.
When I upload this copy I get the following error:
Gateway Disabled: PayPal does not support your store currency.
As store currency Euro (€) is chosen.
Thank you for your answer. The weird thing is that the order number is not showing up in PayPal when I check my transaction page. It is however for PayPal Express. Is it possible that the order number is not being sent to PayPal for PayPal Plus? Could you tell me in what plugin file the request is sent to PayPal when using Plus and in what file when using Express?
Thank you!
Can nobody help me please?