Nigel Hancock
Forum Replies Created
-
AuthorPosts
-
October 25, 2019 at 1:59 pm in reply to: Front end form, address (location) doesn't change … #514781
I figured that was the case Kiran but needed to confirm. It makes no sense though because while manually inputting the first line of the address and then moving the pin the zip code changes which makes the address invalid. We have beta testers working on our site right now and 2 out of 5 of them reported this behaviour.
October 24, 2019 at 7:53 am in reply to: Front end form, address (location) doesn't change … #514525This reply has been marked as private.Brilliant, thank you Kiran!
Thanks Kiran, that seems to work. Is that a patch that’ll be included in future updates? I have several sites where this will need to be implemented.
October 23, 2019 at 9:58 am in reply to: Front end form, address (location) doesn't change … #514398Exactly the same issue on the backend.
This reply has been marked as private.Any update on this please?
This reply has been marked as private.ok, so using the shortcode builder, I have …
[gd_post_badge key=”last_updated” condition=”is_less_than” search=”+7″ badge=”Updated” bg_color=”#0073aa” txt_color=”#ffffff”]
Where “last_updated” is a custom date field.
I am able to display “last_updated” with [gd_post_meta key=”last_updated”] so it does exist in a proper date format and I can actually display a badge using the condition “is not empty” so why isn’t the “is less than” condition not working?
Works perfectly thank you Alex
Thank you Alex but, forgive my ignorance – which file should the snippet be included?
/** * Prevent sending invoice email notifications to user for free invoices. */ function gd_snippet_prevent_invoice_email_for_free_listing( $recipient, $email_type, $invoice_id, $invoice ) { if ( class_exists( 'GeoDir_Pricing_Post_Package' ) && ! empty( $invoice ) && $invoice->is_free() ) { $post_packages = GeoDir_Pricing_Post_Package::get_items( array( 'invoice_id' => $invoice_id ) ); if ( ! empty( $post_packages ) ) { $recipient = NULL; // No recipient. } } return $recipient; } add_filter( 'wpinv_email_recipient', 'gd_snippet_prevent_invoice_email_for_free_listing', 100, 4 );
Ah! I’m sorry too 🙂
ok so I’ll link to a video of what I now think is a bug …
Arggghh! Please, maybe I’m not making sense …
There is a Date field I’ve added to a CPT.
In that date field is a field marked “Date range” (see attached screenshot).
I need to know the syntax/format for adding something in this field, maybe a date range, that’s all.
Well yes and no Patrik, I have made changes on both the barebones site and the production site which had the same problem with the same results.
It now flashes up the blue bar saying “Preview or pay now?” but then immediately jumps to the checkout page without me clicking anything?
That worked too, thank you!
-
AuthorPosts