Kiran

Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 6,022 total)
  • Author
    Posts
  • in reply to: Incorrect UTC Time #506502

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    We uses Google Timezone API service to retrieve timezone based on address selected.
    When business hours is off then it means listing is not using business hours, so it is not updating business hours & timezone. But if business hours is ON then after saving listing then user have option to edit timezone. That’s why we have provided input to enter timezone manually from user(if user want).
    In short this is normal behaviour.

    Let us know.

    Kiran

    in reply to: Review Count / Rating count #506501

    Kiran
    Moderator
    Post count: 7069

    Hi Matthew,

    Provide us a site link and admin credentials to look into there.

    Kiran

    in reply to: Hide prece package on different user role? #506500

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Address prefetch suggestion > Not constrained to Country #506499

    Kiran
    Moderator
    Post count: 7069

    Hi Mike,

    We found that this happening with OpenStreetMap but works fine with Google maps. I have fixed it and it will be in next release.

    Provide us a site link & FTP credentials if you want to apply patch from our side.

    Thanks,
    Kiran

    in reply to: Date validation > False negative #506480

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Yoast meta titles not showing for individual listings. #506418

    Kiran
    Moderator
    Post count: 7069
    in reply to: Date Display Issue #506417

    Kiran
    Moderator
    Post count: 7069

    Hi Moez,

    I have made some changes, can you check and let us know how it goes.

    Kiran

    in reply to: Hide prece package on different user role? #506395

    Kiran
    Moderator
    Post count: 7069

    Hi,

    Try this PHP snippet.

    
    
    /**
     * Hide package for user role.
     */
    function gd_snippet_20190904_pricing_get_packages( $packages, $args ) {
    	if ( ! empty( $packages ) && is_user_logged_in() && geodir_is_page( 'add-listing' ) && ( $roles = wp_get_current_user()->roles ) ) {
    		$_packages = array();
    		foreach ( $packages as $key => $package ) {
    			$package_id = 7; // Package id.
    			$role_to_hide = 'subscriber'; // User role
    			if ( (int) $package->id == (int) $package_id && in_array( $role_to_hide, $roles ) ) {
    				continue;
    			}
    
    			$_packages[] = $package;
    		}
    		$packages = $_packages;
    	}
    	return $packages;
    }
    add_filter( 'geodir_pricing_get_packages', 'gd_snippet_20190904_pricing_get_packages', 20, 2 );

    Thanks,
    Kiran

    in reply to: Group recurring events into single item #506387

    Kiran
    Moderator
    Post count: 7069

    Hi Dave,

    Please check now, i have made little correction in snippet. Now it is working fine.

    Whereas if it was weekly that would be ok to show as individual events. Would that be possible?

    Sorry, it is not possible to group certain events in one query loop.

    Kiran

    in reply to: Translate Version 2 #506366

    Kiran
    Moderator
    Post count: 7069

    Hi,

    Still some strings in /wp-content/languages/plugins/geodir-claim-de_DE.po are not translated.

    Also /wp-content/languages/plugins/geodirectory-de_DE.po does not have some strings. Please re-scan /wp-content/languages/plugins/geodirectory-de_DE.po file and translate new strings included after re-scan.

    Kiran

    in reply to: Yoast meta titles not showing for individual listings. #506365

    Kiran
    Moderator
    Post count: 7069

    Hi Ronny,

    Please check and let us know.

    Kiran

    in reply to: Location Autofill defaults to "In:" rather than "Near:" #506364

    Kiran
    Moderator
    Post count: 7069

    Hi rvwn,

    We have opened task to implement this feature in future.

    Thanks for your suggestion.

    Kiran

    in reply to: Group recurring events into single item #506355

    Kiran
    Moderator
    Post count: 7069

    Hi Dave,

    Disabling showing recurring events does not make sense with recurring feature. That’s why we not provided option to hide the recurring events on archive pages. You can disable recurring event feature but can’t hide recurring events with recurring option ON.

    If you want to show only single listing for recurring event, then use PHP snippet provided at here https://wpgeodirectory.com/support/topic/layout-of-event-listings/#post-503008

    Thanks,
    Kiran

    in reply to: Link Posts: Places – Not working #506353

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Places gd_details GD Single New Style Template Hero Image? #506352

    Kiran
    Moderator
    Post count: 7069

    Hi riobravomedia,

    1. If I use only one image or the Default Category Image I get a large full-size Hero Image but if I have two or more images I get smaller side by side images. I prefer the smaller images. Is there a way that I can get the small image if I am only using the one Default Category Image?

    Please try following JavaScript snippet.

    
    
    jQuery(function($){
    	var $el = $('.single.geodir-page #ds-container .fullwidth-sidebar-container .top-sidebar .geodir-post-slider .geodir-image-container');
    	var slides = parseInt($('.geodir-images > li', $el).length);
    	if (slides === 1) {
    		$('.geodir-images', $el).css({"text-align":'center'});
    		$('.geodir-images > li', $el).width('25%');
    	}
    });

    Kiran

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