Kiran
Forum Replies Created
-
AuthorPosts
-
Hi Anitra,
Sorry, at the moment there is no hook available to achieve that because we use our own method to assign image to the listing.
Regards,
KiranDecember 6, 2019 at 11:23 am in reply to: Hook or Filter or any way to get a list of featured listings #520252Hi,
You can use following shortcode to show featured listings.
[gd_listings title='' post_type='gd_place' post_limit='10' add_location_filter=0 sort_by='latest' layout=3 view_all_link=0 show_featured_only=1]
OR you can use following code to retrieve featured listing object.
$query_args = array( 'posts_per_page' => 10, 'is_geodir_loop' => true, 'gd_location' => true, 'post_type' => 'gd_place', /* POST TYPE */ 'order_by' => 'latest', 'distance_to_post' => false, 'pageno' => 1, 'show_featured_only' => true /* SHOW FEATURED ONLY */ ); $listings = geodir_get_widget_listings( $query_args );
Regards,
KiranHi Jorge,
FTP credentials are not working for me.
It shows:
Response: 530 Login authentication failed Error: Critical error: Could not connect to server
Regards,
KiranThis reply has been marked as private.Hi wei,
I have checked and look like something conflicts there. Please provide FTP credentials to look into more.
FTP Credentials
FTP Host:
FTP Port:
FTP User:
FTP Password:Thanks,
KiranDecember 6, 2019 at 9:11 am in reply to: Event Widgets Not Showing Events After Mid December #520237Hi Tony,
Please check now and let us know.
Kiran
December 6, 2019 at 6:59 am in reply to: Error – The server understood the request, but is refusing to fulfill it. #520226This reply has been marked as private.Hi Larraine,
I run tool Clear DB Version from GeoDirectory > Status > Tools and now save event issue fixed.
Regards,
KiranHi Tony,
Issue has been fixed. YOOtheme builder looses the css class assigned to listing widget.
I have added css class “geodir-listings” from Builder > WP Widget > Advanced > Class > geodir-listings(see attachment).
Regards,
KiranThanks for letting us know.
Kiran
Hi Dave,
I have added PHP snippet in Snippets to fix select2 conflict between GeoDirectory & Membership pro plugin.
/** * Fix select2 conflict between GeoDirectory & Membership pro plugin. */ function gd_snippet_191204_membership_pro_select2() { if ( ! is_admin() ) { if ( wp_script_is( 'select2', 'enqueued' ) && wp_script_is( 'ihc-select2', 'enqueued' ) ) { wp_dequeue_script( 'ihc-select2' ); } if ( wp_style_is( 'select2', 'enqueued' ) && wp_style_is( 'ihc_select2_style', 'enqueued' ) ) { wp_dequeue_style( 'ihc_select2_style' ); } } } add_action( 'wp_enqueue_scripts', 'gd_snippet_191204_membership_pro_select2', 100 );
Please try now after clearing your browser cache.
Regards,
KiranHi Matthew,
Provide us a site link, admin credentials & FTP credentials to look into there.
Thanks,
KiranThis reply has been marked as private.Hi Jorge,
The issue has been fixed.
Please apply patch from your side or provide us FTP credentials because previous credentials are no longer working.
Regards,
KiranHi Matthew,
Try following PHP snippet to show default map markers on empty search results.
/** * Show default map markers on empty search results. */ function gd_snippet_191204_map_params( $params, $map_args ) { if ( geodir_is_page( 'search' ) ) { if ( isset( $params['posts'] ) && ! is_array( $params['posts'] ) && (int) $params['posts'] == -1 ) { $params['posts'] = 'geodir-loop-container'; } } return $params; } add_filter( 'geodir_map_params', 'gd_snippet_191204_map_params', 20, 2 );
Regards,
Kiran -
AuthorPosts