Kiran

Forum Replies Created

Viewing 15 posts - 4,231 through 4,245 (of 6,022 total)
  • Author
    Posts
  • in reply to: add place #420359

    Kiran
    Moderator
    Post count: 7069

    Hello George,

    Sorry missed this one.

    I done following things and translation works fine.
    – In WPML > Translation Management > Set “helyek” slug for Hungarian language for “places”
    – Re-save Permalinks from Settings > Permalinks

    Detail page:
    http://budapestbio.com/places/budapest/caffeortea/test-en/
    http://budapestbio.com/hu/helyek/budapest/caffeortea-hu/test-en/

    Listings archive page:
    http://budapestbio.com/places/
    http://budapestbio.com/hu/helyek/

    Kiran

    in reply to: Supreme Directory theme problems #420291

    Kiran
    Moderator
    Post count: 7069

    Hello,

    The footer menu links css overwrites the footer base colors. Add following code snippet to child theme functions.php. After adding code snippet you can customize footer menu links from Customize > Footer > Text Colors.

    
    
    function _gd_custom_customize_footer_menu_css() {
    	if ( defined( 'DT_FW_TEXT_COLOR' ) ) { 
    	?>
    <style>
    footer .ds_footer_links .menu {
    	color: <?php echo esc_attr(get_theme_mod('dt_fw_text_color', DT_FW_TEXT_COLOR)); ?>;
    }
    
    footer .ds_footer_links .menu h1, 
    footer .ds_footer_links .menu .h1,
    footer .ds_footer_links .menu h2,
    footer .ds_footer_links .menu .h2,
    footer .ds_footer_links .menu h3, 
    footer .ds_footer_links .menu .h3,
    footer .ds_footer_links .menu h4, 
    footer .ds_footer_links .menu .h4,
    footer .ds_footer_links .menu h5, 
    footer .ds_footer_links .menu .h5,
    footer .ds_footer_links .menu h6,
    footer .ds_footer_links .menu .h6 {
    	color: <?php echo esc_attr(get_theme_mod('dt_fw_h1toh6_color', DT_FW_H1TOH6_COLOR)); ?>;
    }
    
    footer .ds_footer_links .menu a {
    	color: <?php echo esc_attr(get_theme_mod('dt_fw_link_color', DT_FW_LINK_COLOR)); ?>;
    }
    
    footer .ds_footer_links .menu a:hover,
    footer .ds_footer_links .menu a:visited:hover,
    footer .ds_footer_links .menu a:focus,
    footer .ds_footer_links .menu a:active {
    	color: <?php echo esc_attr(get_theme_mod('dt_fw_link_hover', DT_FW_LINK_HOVER)); ?>;
    }
    
    footer .ds_footer_links .menu a:visited {
    	color: <?php echo esc_attr(get_theme_mod('dt_fw_link_visited', DT_FW_LINK_VISITED)); ?>;
    }
    </style>
    	<?php 
    	}
    }
    add_action( 'wp_enqueue_scripts', '_gd_custom_customize_footer_menu_css' );

    Thanks,
    Kiran

    in reply to: payments packages missing front end #420287

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Random Input in Billing Information #419673

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Random Input in Billing Information #419668

    Kiran
    Moderator
    Post count: 7069

    Hello,

    On my site, once you go to Checkout it shows the Billing Details form. As standard, this seems to be full of random letters, numbers and symbols (picture attached). Is there a way to change this as it just looks odd and means whoever is completing the form has to delete the random inputs that are already there to enter their own.

    When you go to checkout page the billing details will be filled with billing details used in previous checkout.

    Let me explain with example:
    – I added listing and it takes me to checkout page
    – Entered “First Name” = Test & “Last Name” = User
    – Completed checkout page
    – Again added another listing and it takes me to checkout page
    – Now on checkout page the first name & last name will be auto filled from previous values “Test” & “User”

    The default billing details updated on every checkout completion.

    Thanks,
    Kiran

    in reply to: Map Sticky not working #419667

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Not sure why that snippet not executing on your site. I have managed it by updating footer text in child theme functions.php file.

    Please check and let us know.

    Kiran

    in reply to: Location manager import locations #419659

    Kiran
    Moderator
    Post count: 7069

    Great!

    Thanks for sharing. 🙂

    in reply to: Location manager import locations #419655

    Kiran
    Moderator
    Post count: 7069

    Hello,

    This requires to retrieve latitude & longitude from location table by using country, region, city(already you have).
    But sorry, i can’t help you more in this, because this is customization and it is beyond support. 🙂

    You have to hire developer to do this customization. You can find GD experts here: https://geodirectoryexperts.com

    Thanks,
    Kiran

    in reply to: add place #419649

    Kiran
    Moderator
    Post count: 7069

    Hi George,

    Please provide us your site url and admin credentials in private reply. I have to investigate what causing problem here.

    Kiran


    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069

    Hello,

    1) Add following code snippet in file \themes\supreme-directory\functions.php to display image slider on supreme theme detail page.

    
    
    // Enable listing images slider on detail page for Supreme Directory theme.
    function _gd_custom_supreme_detail_slider() {
        add_action( 'geodir_details_main_content', 'geodir_action_details_slider', 0 );
    }
    add_action( 'plugins_loaded', '_gd_custom_supreme_detail_slider' );

    2) Sorry, we don’t provide core customization. But you can find GD experts here: https://geodirectoryexperts.com

    Thanks,
    Kiran

    in reply to: Geo Theme to Geo Directory conversion #419213

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Claim Listing not Working #418883

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Details – put URL around Featured Hero Image #418876

    Kiran
    Moderator
    Post count: 7069

    It looks ok to me. You can customize either via hooks or editing in child theme functions.php. If your editing works fine then no problem in edit the child theme functions.php file.

    Kiran

    in reply to: Location manager import locations #418727

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Please you following code snippet to get latitude, longitude among country, region, city pages.

    
    
    global $gd_session;
    if ( ! empty( $gd_session ) && ( ( $gd_country = $gd_session->get( 'gd_country' ) ) || ( $gd_region = $gd_session->get( 'gd_region' ) ) || ( $gd_city = $gd_session->get( 'gd_city' ) ) ) && $gd_session->get( 'gd_multi_location' ) ) {
    	$lat_lng = _gd_custom_address_lat_lng( $gd_session->get( 'gd_country' ), $gd_session->get( 'gd_region' ), $gd_session->get( 'gd_city' ) );
    	$latitude 	= $lat_lng['latitude'];
    	$longitude 	= $lat_lng['longitude'];
    	$country 	= $lat_lng['country'];
    	$region 	= $lat_lng['region'];
    	$city 		= $lat_lng['city'];
    } else {
    	$latitude 	= '';
    	$longitude 	= '';
    	$country 	= '';
    	$region 	= '';
    	$city 		= '';
    }
    echo '<br>latitude : ' . $latitude;
    echo '<br>longitude : ' . $longitude;
    echo '<br>country : ' . $country;
    echo '<br>region : ' . $region;
    echo '<br>city : ' . $city;
    
    function _gd_custom_address_lat_lng( $country, $region = '', $city = '', $street = '' ) {
    	$latitude	= '';
    	$longitude	= '';
    	$address 	= array();
    	if ( ! empty( $street ) ) { $address[] = $street; }
    	if ( ! empty( $city ) ) { $city = geodir_ucwords( preg_replace( '/[_-]/', ' ', preg_replace( '/-(\d+)$/', '', $city ) ) ); $address[] = $city; }
    	if ( ! empty( $region ) ) { $region = geodir_ucwords( preg_replace( '/[_-]/', ' ', preg_replace( '/-(\d+)$/', '', $region ) ) ); $address[] = $region; }
    	if ( ! empty( $country ) ) { $country = geodir_ucwords( preg_replace( '/[_-]/', ' ', preg_replace( '/-(\d+)$/', '', $country ) ) ); $address[] = $country; }
    
    	if ( ! empty( $address ) ) {
    		$url 			= 'https://maps.googleapis.com/maps/api/geocode/json?sensor=false&key=' . geodir_get_map_api_key() . '&address=' . urlencode(implode(',', $address));
    		$url 			= 'https://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=' . urlencode(implode(',', $address));
    		$response 		= wp_remote_get( $url , array( 'timeout' => 120, 'httpversion' => '1.1' ) );
    		$response_code  = wp_remote_retrieve_response_code( $response );
    		$response_body  = json_decode( wp_remote_retrieve_body( $response ), true );
    
    		if ( ! is_wp_error( $response ) && 200 == $response_code && $response_body['status'] == 'OK' ) {
    			$latitude 	= $response_body['results'][0]['geometry']['location']['lat'];
    			$longitude 	= $response_body['results'][0]['geometry']['location']['lng'];
    		}
    	}
    
    	$return = array(
    		'latitude'  => $latitude,
    		'longitude' => $longitude,
    		'country'  	=> $country,
    		'region'  	=> $region,
    		'city'  	=> $city,
    	);
    
    	return $return;
    }

    Thanks,
    Kiran

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