Kiran

Forum Replies Created

Viewing 15 posts - 3,676 through 3,690 (of 6,022 total)
  • Author
    Posts
  • in reply to: Missing cat and when #447498

    Kiran
    Moderator
    Post count: 7069

    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

    in reply to: Can't link to two different CPTs at the same time #447485

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Missing cat and when #447484

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Issue with URI for one of my CPT #447482

    Kiran
    Moderator
    Post count: 7069

    Hello Andre,

    We have fixed issue and updated patch on your site.

    Please check and let us know.

    Kiran

    in reply to: Lost CSS #447462

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Issue with URI for one of my CPT #447458

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: I cant install #447456

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Shortcode for CPT tags #447454

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: Email format changed #447438

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know 🙂

    in reply to: Location Descriptions not displaying #447185

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Location Descriptions not displaying #447085

    Kiran
    Moderator
    Post count: 7069

    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

    in reply to: Search forms stopped working #447066

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: No listing with Dashboard Widget #447065

    Kiran
    Moderator
    Post count: 7069
    in reply to: Backend Edits Disabled when plugin Activated #447064

    Kiran
    Moderator
    Post count: 7069

    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,
    Kiran

    in reply to: Open Street Maps #447063

    Kiran
    Moderator
    Post count: 7069

    Hello,

    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

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