Kiran

Forum Replies Created

Viewing 15 posts - 946 through 960 (of 6,022 total)
  • Author
    Posts
  • in reply to: Import Issues #520253

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: Hook or Filter or any way to get a list of featured listings #520252

    Kiran
    Moderator
    Post count: 7069

    Hi,

    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,
    Kiran

    in reply to: New Detail Pages / Problem with Sidebar #520251

    Kiran
    Moderator
    Post count: 7069

    Hi Jorge,

    FTP credentials are not working for me.

    It shows:

    
    
    Response:	530 Login authentication failed
    Error:	Critical error: Could not connect to server

    Regards,
    Kiran

    in reply to: Rating numbers not being received via API. #520250

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: highest score #520249

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: Event Widgets Not Showing Events After Mid December #520237

    Kiran
    Moderator
    Post count: 7069

    Hi Tony,

    Please check now and let us know.

    Kiran


    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Events not saving date or location #519887

    Kiran
    Moderator
    Post count: 7069

    Hi Larraine,

    I run tool Clear DB Version from GeoDirectory > Status > Tools and now save event issue fixed.

    Regards,
    Kiran

    in reply to: Pagination in Places Widget Not Doing Anything #519885

    Kiran
    Moderator
    Post count: 7069

    Hi 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,
    Kiran

    in reply to: Google Maps Conflict #519871

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know.

    Kiran

    in reply to: Google Maps Conflict #519869

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: Improving Search results page #519854

    Kiran
    Moderator
    Post count: 7069

    Hi Matthew,

    Provide us a site link, admin credentials & FTP credentials to look into there.

    Thanks,
    Kiran

    in reply to: Google Maps Conflict #519853

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: New Detail Pages / Problem with Sidebar #519849

    Kiran
    Moderator
    Post count: 7069

    Hi Jorge,

    The issue has been fixed.

    Patch: https://github.com/AyeCode/geodirectory/commit/7b5d3f0d26bb6292c4ca9cb27448a84ab5b32d0b#diff-1415a92dcbd5f6c4420dad75d69ace4cR488

    Please apply patch from your side or provide us FTP credentials because previous credentials are no longer working.

    Regards,
    Kiran

    in reply to: Improving Search results page #519843

    Kiran
    Moderator
    Post count: 7069

    Hi 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

Viewing 15 posts - 946 through 960 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount