Kiran
Forum Replies Created
-
AuthorPosts
-
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 > PermalinksDetail 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
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,
KiranThis reply has been marked as private.This reply has been marked as private.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,
KiranHello,
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
Great!
Thanks for sharing. 🙂
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,
KiranHi George,
Please provide us your site url and admin credentials in private reply. I have to investigate what causing problem here.
Kiran
February 28, 2018 at 4:26 am in reply to: Woocommerce integration, buddypress not showing up, send enquiry goes to wp-admi #419645This reply has been marked as private.February 27, 2018 at 6:40 am in reply to: Woocommerce integration, buddypress not showing up, send enquiry goes to wp-admi #419387Hello,
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,
KiranThis reply has been marked as private.This reply has been marked as private.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
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 -
AuthorPosts