Kiran
Forum Replies Created
-
AuthorPosts
-
Hi alchemi,
There was missing entries for cities in location database table. I have created entries for those cities and now it shows correct city/listings.
Please check and let us know.
Regards,
KiranHi MJC,
Please check now.
There was mismatch with default locations(city/region) assigned to existing listings.
I have fixed it and now map for all listings are working fine.Please check and let us know.
Regards,
KiranHi Andy,
You can use post_category post meta to show categories only.
Or
Use following PHP snippet to show only categories in single taxonomy widget/shortcode./** * Don't show tags in gd_single_taxonomies widget/shortcode. */ function gd_snippet_190916_details_taxonomies_output( $taxonomies, $post_type, $listing_label, $listing_name ) { if ( isset( $taxonomies[ $post_type . '_tags' ] ) ) { unset( $taxonomies[ $post_type . '_tags' ] ); // Hide tags. } return $taxonomies; } add_filter( 'geodir_details_taxonomies_output', 'gd_snippet_190916_details_taxonomies_output', 20, 4 );Regards,
KiranHi John,
We have added new hooks so by using it post claim link/badge can be hidden or modified with own shortcode.
It will be in next release of Whoop theme.You can use following PHP snippet to hide/modify post claim link/badge.
/** * Filter shortcode for Whoop claim post link. */ function gd_snippet_single_claim_post_link_shortcode( $shortcode ) { //$shortcode = ''; // Hide claim post link. $shortcode = '[gd_ninja_forms form_id="2" text="Unclaimed" output="link"]'; // Use ninja form for claim post. return $shortcode; } add_filter( 'whoop_single_claim_post_link_shortcode', 'gd_snippet_single_claim_post_link_shortcode', 10, 1 ); /** * Filter shortcode for Whoop claimed post badge. */ function gd_snippet_single_claim_post_badge_shortcode( $shortcode ) { //$shortcode = ''; // Hide claimed post badge. $shortcode = '[gd_post_badge key="claimed" condition="is_not_empty" icon_class="fas fa-check-circle" badge="" bg_color="#f5f5f5" txt_color="#0073bb" size="large"]'; // Use own shortcode to show claimed post badge. return $shortcode; } add_filter( 'whoop_single_claim_post_badge_shortcode', 'gd_snippet_single_claim_post_badge_shortcode', 10, 1 );Regards,
KiranHi David,
Event date search issue is fixed. I have deleted and added again “Search By Date” field in Events > Settings > Search.
Let us know.
Regards,
KiranHi Barbara,
It could be timezone related issue. I have checked several listings with different hours and it shows results as expected.
Please provide specific url that you found issue and also provide us at with time you checked and found it closed.
Regards,
KiranHi Adrian,
Issue has been fixed, please check and let us know.
Regards,
KiranHi Jeff,
Finally after doing some debugging it found that email function causing slaw submissions.
I have checked sending email from your site and it took around 6 seconds. This is the reason add listing submission taking more time, because during add listing it sends around 4 emails for the listing submitted to admin, listing published to user, invoice generated, invoice published etc.
I checked simple email sending from your site with following code(used my real email address for $to) and it took around 6 seconds.
$to = '[email protected]'; $subject = 'The subject'; $body = 'The email body content'; $headers = array( 'Content-Type: text/html; charset=UTF-8' ); wp_mail( $to, $subject, $body, $headers );Please contact your server admin regarding this slaw email sending.
Regards,
KiranHi,
It is not possible to set background color for text without some javascript code customization.
Kiran
Hi Christy,
In GDv2 we have some updates related to map icon size displayed on the map.
My comment was on regarding OpenStreetMap, but screenshot shows you are using Google maps. Google map auto adjusts marker icons. For example https://google-developers.appspot.com/maps/documentation/javascript/examples/full/icon-simple) it custom icon with size 20×32 in pixels & here https://google-developers.appspot.com/maps/documentation/javascript/examples/full/marker-simple using 27×43 in pixels.
It is good to keep icons size small(max 50px in width/height) because larger size affect the load time when map has large numbers of markers to load on map.
Please provide us site link so we can look how it displays to us.
Regards,
KiranHi Dave,
Try following PHP snippet to store location in cookie.
function gd_snippet_190913_set_current_location( $location ) { if ( ! empty( $location->type ) && geodir_is_page( 'location' ) ) { // DO YOUR STUFF HERE } return $location; } add_filter( 'geodir_set_current_location', 'gd_snippet_190913_set_current_location', 10, 1 );Regards,
KiranHi,
Issue has been fixed and updated on your site.
Please check and let us know.
Regards,
KiranHi palmer2323,
There was a memory limit issue. I have increased memory limit via php.ini file and now map is working fine.
Please check and let us know.
Thanks,
KiranThis reply has been marked as private.This reply has been marked as private. -
AuthorPosts