Kiran Prajapati
Forum Replies Created
-
Forum: Plugins
In reply to: [GetPaid Stripe Payments] Checkbox valueHi @gregf,
Sorry about that. We have fixed the issue and will release an update as soon as possible.
In the meantime, if you wish to start using the fix immediately you can apply these changes:- https://github.com/AyeCode/invoicing/commit/ffed67aba10677e359fc970b01c0e00ef02b7a3bRegards,
Kiran PrajapatiHello @holle75,
The link you mentioned is not working, could you check please?
If you have put a ticket with us i can assist further: https://wpgeodirectory.com/support/
Regards,
Forum: Plugins
In reply to: [API KEY for Google Maps] Version 1.2.2 header update issueHello,
Version number issue fixed, please try to update the plugin.
Regards,
Kiran PrajapatiThank You ??
Hi Dimal,
I checked on our test site but could not reproduce similar errors there even with same PHP & WordPress versions.
Please open a ticket with us so I can assist further: https://wpgeodirectory.com/support/.
Please title it “FAO Kiran” and the team will assign it to me.Regards,
Hello @vaccinemedia,
We have fixed issue to disable mouse scroll on map. It will be available in next update. Meantime try this patch https://github.com/AyeCode/geodirectory/pull/2041/commits/66da4f079f97dee31ceb1f5f8b41f41cf6b7357f
Thanks,
KiranHi James,
We have changed unserialize() to maybe_unserialize() to prevent PHP warning. It will be updated in next release. Meantime try to re-save address field from CPT > Settings > Custom Fields.
Thanks,
KiranHi Antony,
Marker click attached via JavaScript so hook/filter will no longer work here without making core changes.
If you want to redirect to post single page on click marker then try following code snippet. But it will redirect to page only after the delay after marker popup response.
function gd_snippet_marker_redirect() { ?><style>.gd-bubble{display:none!important}</style><script type="text/javascript">/* <![CDATA[ */jQuery('body').on('geodir_map_infowindow_open',function(e,data){jQuery('.gd-osm-bubble,.gm-style-iw-a').hide();window.location=jQuery('.geodir-post-title a').attr('href');});/* ]]> */</script><?php } add_action( 'wp_footer', 'gd_snippet_marker_redirect', 100 );
Regards,
KiranHello @hcaandersen,
To get GD custom field value you need to have GD post ID. You can use one of following example to get GD custom field value.
EXAMPLE 1: To get values for multiple fields.
$post_id = 120; // Post ID. $geodir_post = geodir_get_post_info( $post_id ); if ( ! empty( $geodir_post ) ) { /** * USAGE: $value = $geodir_post->HTMLVAR_NAME; */ $city = $geodir_post->city; $phone = $geodir_post->phone; $email = $geodir_post->email; }
EXAMPLE 2: To get value for specific field only.
$post_id = 120; // Post ID. /** * USAGE: $value = geodir_get_post_meta( $post_id, 'HTMLVAR_NAME', true ); */ $city = geodir_get_post_meta( $post_id, 'city', true ); $phone = geodir_get_post_meta( $post_id, 'phone', true ); $email = geodir_get_post_meta( $post_id, 'email', true );
Let us know.
Best Regards,
KiranHi @woorooo,
Do you have any error backtrace in error log at server side? If you see an error again then open a ticket on our support site https://wpgeodirectory.com/support/.
Please title a ticket “FAO Kiran” and the team will assign it to me.
Thanks,
KiranHi @oguruma,
I need to check there more how your code is working to open popup. Please create a support ticket on our website so we can assist you further: https://wpgeodirectory.com/support/.
Please title it “FAO Kiran” and the team will assign it to me.Thanks,
KiranHello @oguruma,
We have recently added compatibility for Elementor popup to support lazy-loaded images. See https://github.com/AyeCode/geodirectory/pull/1968/commits/3386700a99f35f3475a05cd1749280e7ff6979fd#diff-cc0b78a1d4114f3111473847589a155d73713bfaf001747b58d569800a212d08
Could you provide us more details which JS library you are using to popup the listings?
Best Regards,
Kiran PrajapatiHello @mjohnhorning,
Do you to redirect to a page after submitting a “published” place or “pending” place or place with any status?
Try following PHP code snippet to redirect to a page after submitting a published place.
/** * Redirect to specific url after add listing form submitted. */ function gd_snippet_add_listing_redirect( $message, $post_data ) { if ( isset( $post_data['post_status'] ) && $post_data['post_status'] == 'publish' ) { $redirect_to = get_permalink( $post_data['ID'] ); // SET REDIRECT URL HERE $message .= '<script type="text/javascript">window.location = \'' . esc_url( $redirect_to ) . '\'</script>'; } return $message; } add_filter( 'geodir_ajax_save_post_message', 'gd_snippet_add_listing_redirect', 100, 2 );
Best Regards,
Kiran PrajapatiForum: Plugins
In reply to: [Events Calendar for GeoDirectory] Event delete not workingHello,
Event status filter uses day to find whether event is past or today or upcoming. Event moves to past after the end of the day.
For example: If the event ends on 1st Dec at 5 PM then it moves to past on 2st Dec on and till then it will show in today/upcoming events list.
Let us know.
Regards,
KiranForum: Plugins
In reply to: [Events Calendar for GeoDirectory] Timezone in Google Rich Snippets is WrongHello,
Event schema uses timezone from WordPress Dashboard > Settings > General > Timezone.
Please let us know what timezone the event shows in Google snippet and what timezone you have set in WordPress settings.
Regards,
Kiran