Naveen Giri

Forum Replies Created

Viewing 15 posts - 136 through 150 (of 1,165 total)
  • Author
    Posts

  • Naveen Giri
    Moderator
    Post count: 1559

    Hi Jockeys,

    the issue has been fixed in GeoDirectory Google Analytics v-2.0.0.5. I have updated the plugin.
    Please have a look now.

    Thanks

    in reply to: Listing Info Tabs #537407

    Naveen Giri
    Moderator
    Post count: 1559

    Thanks for the confirmation.
    have a great day and stay safe from Covid-19.

    in reply to: Listing page no shortcode #537406

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Cheryle,

    Thanks for reporting it. the issue has been fixed.
    I have also added the patch on your site.

    Regards
    Naveen

    in reply to: Listing Info Tabs #537284

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Ranajeet,

    We have already fixed this issue and it will be up in the next version.
    Meanwhile, you can try this CSS snippet inside the theme customizer.

    
    .geodir-tabs dl.geodir-tab-head{display: block!important;}
    

    Regards
    Naveen

    in reply to: Listing page no shortcode #537283

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Cheryle,

    I am looking into this, thanks.

    Regards
    Naveen

    in reply to: Add more fields to cities (and some more questions) #537282

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Alain,

    You can develop and manage it with the help of custom tables.

    Currently, we are working on it to provide hooks for extending codes. We will update you once it’s completed.

    Thanks


    Naveen Giri
    Moderator
    Post count: 1559

    Hi memorex13,

    Fix for this has been added to GD plugin and will be up in the upcoming version.

    Thanks

    in reply to: Lightbox settings #537071

    Naveen Giri
    Moderator
    Post count: 1559

    Thanks for confirmation @karin.
    have a great day and stay safe from Covid-19.

    in reply to: Lightbox settings #537067

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Karin,

    I have created the shortcode from shortcode builder and it seems loading images in order now.

    
    [gd_post_images type="slider" ajax_load="1" slideshow="1" show_title="1" animation="slide" controlnav="1" link_to="lightbox"]
    

    Please have a look.

    Regards
    Naveen


    Naveen Giri
    Moderator
    Post count: 1559

    Thanks for confirming. have a great day.

    Stay safe from Covid-19.


    Naveen Giri
    Moderator
    Post count: 1559

    You can try instead this code. It will work for both.

    
    add_action( 'wp_footer', function () { ?>
    <script>
    	jQuery('.geodir-gallery,.geodir-images li').each(function(){
    		jQuery(this).find('a').removeAttr('data-lity'); 
                    jQuery(this).find('.fas,.fa-search-plus').remove();
    	});
    	/* escribe aquí tu código JavaScript */
    
    </script>
    <?php } );
    

    Thanks


    Naveen Giri
    Moderator
    Post count: 1559

    Hi PO,

    You can use the following code to disable the GD lightbox.

    
    
    
    add_action( 'wp_footer', function () { ?>
    <script>
    	jQuery('.geodir-gallery,.geodir-images li').each(function(){
    		jQuery(this).find('a').removeAttr('data-lity');
    	});
    	/* escribe aquí tu código JavaScript */
    
    </script>
    <?php } );
    

    Thanks

    in reply to: Snippet for US state abbreviations & Washington, DC #537033

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Foster,

    I have changed the snippet a bit to allow it only for states.

    
    add_filter('geodir_custom_field_output_address','_my_short_state_geodir_cf_address',11,3);
    
    function _my_short_state_geodir_cf_address($html,$location,$cf){
    	// we add the >NAME< so we only replace the regions and not the region name in a street address.
    	$state_long = array(
    		'addressRegion">Alabama<',
    		'addressRegion">Alaska<',
    		'addressRegion">Philadelphia<',
    	    'addressRegion">Arizona<',
    		'addressRegion">Arkansas<',
    		'addressRegion">California<',
    		'addressRegion">Colorado<',
    		'addressRegion">Connecticut<',
    		'addressRegion">Delaware<',
    		'addressRegion">District of Columbia<',
    		'addressRegion">Florida<',
    		'addressRegion">Georgia<',
    		'addressRegion">Hawaii<',
    		'addressRegion">Idaho<',
    		'addressRegion">Illinois<',
    		'addressRegion">Indiana<',
    	    'addressRegion">Iowa<',
    		'addressRegion">Kansas<',
    		'addressRegion">Kentucky<',
    		'addressRegion">Louisiana<',
    		'addressRegion">Maine<',
    		'addressRegion">Maryland<',
    		'addressRegion">Massachusetts<',
    		'addressRegion">Michigan<',
    		'addressRegion">Mississippi<',
    		'addressRegion">Missouri<',
    		'addressRegion">Montana<',
    		'addressRegion">Nebraska<',
    		'addressRegion">Nevada<',
    		'addressRegion">New Hampshire<',
    		'addressRegion">New Jersey<',
    		'addressRegion">New Mexico<',
    		'addressRegion">New York<',
    		'addressRegion">North Carolina<',
    		'addressRegion">North Dakota<',
    		'addressRegion">Ohio<',
    		'addressRegion">Oklahoma<',
    		'addressRegion">Oregon<',
    		'addressRegion">Pennsylvania<',
    		'addressRegion">Rhode Island<',
    		'addressRegion">South Carolina<',
    	  	'addressRegion">Tennessee<',
    	  	'addressRegion">Texas<',
    	  	'addressRegion">Utah<',
    	  	'addressRegion">Vermont<',
    	  	'addressRegion">Virginia<',
    	  	'addressRegion">Washington<',
    	  	'addressRegion">West Virginia<',
    	  	'addressRegion">Wisconsin<',
    	  	'addressRegion">Wyoming<',
    	);
    	// we add the >NAME< so we only replace the regions and not the region name in a street address.
    	$state_short = array(
    		'addressRegion">AL<',
    		'addressRegion">AK<',
    		'addressRegion">pd<',
    		'addressRegion">AZ<',
    		'addressRegion">AR<',
    		'addressRegion">CA<',
    		'addressRegion">CO<',
    		'addressRegion">CT<',
    		'addressRegion">DE<',
    		'addressRegion">DC<',
    		'addressRegion">FL<',
    		'addressRegion">GA<',
    		'addressRegion">HI<',
    		'addressRegion">ID<',
    		'addressRegion">IL<',
    		'addressRegion">IN<',
    		'addressRegion">IA<',
    		'addressRegion">KS<',
    		'addressRegion">KY<',
    		'addressRegion">LA<',
    		'addressRegion">MN<',
    		'addressRegion">MD<',
    		'addressRegion">MA<',
    	    'addressRegion">MI<',
    		'addressRegion">MS<',
    		'addressRegion">MO<',
    		'addressRegion">MT<',
    		'addressRegion">NE<',
    		'addressRegion">NV<',
    		'addressRegion">NH<',
    		'addressRegion">NJ<',
    		'addressRegion">NM<',
    		'addressRegion">NY<',
    		'addressRegion">NC<',
    		'addressRegion">ND<',
    		'addressRegion">OH<',
    		'addressRegion">OK<',
    		'addressRegion">OR<',
    		'addressRegion">PA<',
    		'addressRegion">RI<',
    		'addressRegion">SC<',
    		'addressRegion">TN<',
    		'addressRegion">TX<',
    		'addressRegion">UT<',
    		'addressRegion">VT<',
    		'addressRegion">VA<',
    		'addressRegion">WA<',
    		'addressRegion">WV<',
    		'addressRegion">WI<',
    		'addressRegion">WY<',
    	);
    
    	$html = str_replace($state_long,$state_short,$html);
    
    	return $html;
    }

    Please have a look now.

    Regards
    Naveen

    in reply to: Edit Location Pages #536895

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Joy,

    I did a few minor changes and the location page feature image is showing now.

    I see there is an option in elementor to set GD image but that is not available for location image. I will add that option so I hope this snippet will not be needed in a future version.

    Thanks


    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
Viewing 15 posts - 136 through 150 (of 1,165 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount