Kiran
Forum Replies Created
-
AuthorPosts
-
Hello,
Issue ahs been fixed and patch applied to your site. Changes updated in file /wp-content/themes/GeoDirectory_whoop/functions/events.php , if you have another site then you can move this file to there.
Kiran
September 24, 2018 at 11:16 am in reply to: Can't link to two different CPTs at the same time #447485This reply has been marked as private.This reply has been marked as private.Hello Andre,
We have fixed issue and updated patch on your site.
Please check and let us know.
Kiran
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Hi Yael,
I would like to display the tags of a details page in a different place other than under the slideshow images.
Please use following code snippet and then use shortcode: [gd_snippet_sc_detail_tags].
/* * Usage: [gd_snippet_sc_detail_tags] */ function gd_snippet_sc_detail_tags( $attr, $content = '' ) { global $post, $preview; $html = ''; if ( ! empty( $post ) && ! empty( $post->post_tags ) && ( geodir_is_page( 'detail' ) || geodir_is_page( 'preview' ) ) ) { $post_tags = trim( $post->post_tags, "," ); $post_tags = explode( ",", $post_tags ); if ( ! empty( $post_tags ) ) { $is_backend_preview = (is_single() && !empty($_REQUEST['post_type']) && !empty($_REQUEST['preview']) && !empty($_REQUEST['p'])) && is_super_admin() ? true : false; $post_type = $preview && ! $is_backend_preview ? $post->listing_type : $post->post_type; $post_type_info = get_post_type_object( $post_type ); $post_type_name = __( $post_type_info->labels->singular_name, 'geodirectory' ); $tag_links = array(); foreach ( $post_tags as $post_tag ) { $post_tag = trim( $post_tag ); $term_exists = term_exists( $post_tag, $post_type . '_tags' ); if ( ! empty( $term_exists ) && ! empty( $term_exists['term_id'] ) ) { $term = get_term_by( 'id', $term_exists['term_id'], $post_type . '_tags' ); } else { $term = get_term_by( 'name', $post_tag, $post_type . '_tags' ); } if ( ! empty( $term ) && ! is_wp_error( $term ) ) { $tag_links[] = apply_filters( 'geodir_details_taxonomies_tag_link', '<a href="' . esc_attr( get_term_link( $term->term_id, $term->taxonomy ) ) . '">' . $term->name . '</a>', $term ); } } if ( ! empty( $tag_links ) ) { $tag_links = implode( ', ', $tag_links ); $html = wp_sprintf( __( '%s Tags: %s', 'geodirectory' ), $post_type_name, $tag_links ); } } } return $html; } add_shortcode( 'gd_snippet_sc_detail_tags', 'gd_snippet_sc_detail_tags' );Thanks,
KiranThanks for letting us know 🙂
This reply has been marked as private.Hi Sam,
Finally found this issue happens with update seo data via CSV import. We have fixed it.
Please provide us FTP credentials so we can apply patch on your site or it will be in next release.
Kiran
This reply has been marked as private.Hello SNK Annuaire,
For dashboard widgets links redirect issue follow this : https://wpgeodirectory.com/support/topic/ultimate-member-conflicth-with-gd-dashboard/#post-403829
For solution follow this: https://wpgeodirectory.com/support/topic/ultimate-member-conflicth-with-gd-dashboard/#post-409215
Kiran
Hello,
Issue has been fixed.
In your current theme “Zeyn”, there is a feature to “Remove Query strings” from javascripts files. It is removing “&libraries=places” query string from Google Map JavaScript API javascript file url and it results in JavaScript error “TypeError: google.maps.places is undefined”. This error breaks all JavaScript functionality on the page.
To fix this issue i have modified one of function in your theme functions.php file. I have replaced
if (substr_count($parts[0],'googleapis.com')>0) {with
if (substr_count($parts[0],'googleapis.com')>0 || substr_count($parts[0],'maps.google.com')>0) {Now all is working fine. You can ask theme developer to fix this in Zeyn theme upcoming release.
FYI: you are using also version of Location Manager, update it to recent version.
Let us know.
Thanks,
KiranHello,
Sorry for misunderstanding.
This is is little confusion in
Anyway the map is there but I cannot change it so it doesnt zoom in or out when I scroll. Same for mobile, as soon as I touch it, it starts moving, I want to use 2 fingers for that so people can scroll with one. I cannot find the option to do that.
Please, can you clarify how it should work?
Kiran
-
AuthorPosts