pstidsen
Forum Replies Created
-
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] Problem translating “Quantity”Hi Hannah,
Yes I have tried clearing the cache.
It is the only string.
// Peter
Forum: Plugins
In reply to: [Meta Box] Add fields with loopAah great! That did the trick ??
Thank you so much for your help! ??
Forum: Plugins
In reply to: [Meta Box] Add fields with loopHi there,
Thanks for your quick reply.I have pasted the full function here: https://pastebin.com/QySc6tBG
– It includes two different methods (one with one single meta box and one with separate boxes – but none of them works).The variable $colors is dynamically created based on the $post_id. But it could look like this: https://pastebin.com/fzZdm4iJ
And as I said: The code shows the fields correctly but the data is not saved to the post.
Forum: Plugins
In reply to: [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin] No settings pageFix: I rolled back the site with a backup. Then I removed the Instagram account from the settings page and then after that I updated. Now the settings panel was still accessible.
There is a dev documentation page that helps you develop it: https://givewp.com/documentation/developers/how-to-build-a-gateway-add-on-for-givewp/
That guide together with the the payment API documentaion should let you do it: https://dev.paytabs.com/docs/paypage/
Forum: Plugins
In reply to: [The Events Calendar] How to show the events front endThanks! The widget is just named “List” in Danish so I didn’t think that widget had something to do with the event plugin.
Hi there,
Thanks for your reply. Is the $donation_id the post ID or the sequential donation ID? Is it possible to find one having the other?
Best Regards,
Peter B. StidsenHi there,
Thanks for your reply. I have now forwarded the user til the payment page.
The payment provider offers an success URL for sending the user back. I have set that to https://domain.com/donation-confirmation/
However, this does not set the donation status to complete. How do I execute some code in order to mark the donation as completed and maybe also add the transaction details to the donation?
Solution:
If you check for the image ID with parameter $context = ‘edit’, you will only get a returned ID if the image is set directly to the variation. The code looks like this:
$image_id = $variation->get_image_id('edit'); if ($image_id){ //Only if there is an image to the variation itself echo $image_id; }
Forum: Plugins
In reply to: [LiteSpeed Cache] WebP missing for some background images and a logoForum: Developing with WordPress
In reply to: Simple “member site” from custom REST APIHi bcworkz,
Thanks for your reply.
As I understand you, there is no need for actually creating the users in my case.
But, how can I update the data in the API when the user is logged in. What is needed to do so?
Greetings,
PeterForum: Plugins
In reply to: [Autoptimize] Lazy load not workingHi Frank
Thanks for that.
I think the javascript loaded images are the biggest problem for the site because it is around 20 requests. Is there anyway to work around this so that images are lazy loaded?
Regarding the “some images are lazy-loaded even if GPSI think they are not”: Is it possible to fix that so I get a better score in GPSI?
The container had the CSS property display:table-row which made the error.
After making the container a normal block element the problem disappeared.
Sorry, I didn’t got back to your first reply.
Thanks for the answer.
Thanks for your reply.
Would it be safe just to put display:none; on that element? What is the element used for?