Naveen Giri
Forum Replies Created
-
AuthorPosts
-
Happy Easter @birgit, have a great day.
You can use this code but it will get change if someone changes the address by dragging the map marker.
add_action( 'wp_head', function () { ?> <script> /* write your JavaScript code here */ jQuery(document).ready(function(){ jQuery('#address_zip').val('401107'); //make sure to replace it with correct zip code. jQuery('#address_zip').attr('disabled', true); }); </script> <?php } );
Thanks
Thanks for confirming Martin,
have a great day…Stay safeThis reply has been marked as private.Hi Alexander,
can you please create a new task for it. It seems the current task is already resolved.
Kind Regards
NaveenHi memorex13,
I have added a fix for this issue in GeoDirectory BuddyPress Integration addon.
it will be available in upcoming version.Thanks for reporting this issue.
Regards
NaveenHi justmark,
Please have a look. seems the event manager addon was inactive.
Thanks
Hi Dirk,
Thanks for your appreciation.
You don’t have to worry about the charge because it will be released in the upcoming version of the GD Ajax duplicate alert addon.
but just for your information. It seems your theme search creating a hidden field by name=post_type. which we are already using in the addon.
So that creates the conflict with the theme.I have now used a parent call in an addon for that field. that fixed the issue.
so changed are at
geodir_ajax_duplicate_alert/assets/js/custom_ajax_duplicate_alert_public.js line 23
var get_current_posttype = $(‘#geodirectory-add-post input[name=post_type]’).val(),and at line 5
var get_posttype = $(‘#geodirectory-add-post input[name=post_type]’).val(),Thanks
Hi Dirk,
I have added code adjustment in the addon for this issue.
also added patch on your site, please have a look.Thanks
April 8, 2020 at 11:00 am in reply to: Feature request – Add hook to replace comma in event date #539098Hi Alain,
I have sent a pull request for it in plugin branch.
Regards
NaveenHi tabitha,
I apologies for being late here, I lost this ticket.
Fix has been added for this in the plugin branch.It will up in the upcoming version.
Thanks
Hi Simon,
I have added div container too.
Please share your FTP if you want me to apply the patch on your site before addon release.Thanks
Hi Dirk,
I am checking it. get back to you soon with an update.
Thanks for your patience.
Hi, periwinkle
you can use the below filter to add an additional link based on the CPT type.
I have included that link for gd_place CPT, you can use other cpt there.add_filter('geodir_email_content','geodir_email_user_publish_post_body_callbackk', 10, 3 ); function geodir_email_user_publish_post_body_callbackk( $content, $email_name, $email_vars ){ $gd_post = ! empty( $email_vars['post'] ) ? $email_vars['post'] : null; if ( empty( $gd_post ) && ! empty( $email_vars['post_id'] ) ) { $gd_post = geodir_get_post_info( $email_vars['post_id'] ); } if( 'gd_place' === $gd_post->post_type ){ // make sure to change the post type gd_place to your own cpt. $content = $content.'Extra link'; } return $body; }
It’s a customization request so for any further customization you can take the help of our GD experts.
http://geodirectoryexperts.com/Regards
Naveengeodir_email_user_publish_post_body
-
AuthorPosts