Naveen Giri

Forum Replies Created

Viewing 15 posts - 181 through 195 (of 1,165 total)
  • Author
    Posts
  • in reply to: SEO issues with listings #535694

    Naveen Giri
    Moderator
    Post count: 1559

    Please try it,

    
    add_filter('the_content', 'my_nofollow');
    add_filter('the_excerpt', 'my_nofollow');
     
    function my_nofollow($content) {
        global $gd_post;
        if ( !geodir_is_gd_post_type( 'broker' ) ) {
    		return false;
    	}
        return preg_replace_callback('/<a[^>]+/', 'my_nofollow_callback', $content);
    }
     
    function my_nofollow_callback($matches) {
        $link = $matches[0];
        $site_link = get_bloginfo('url');
     
        if (strpos($link, 'rel') === false) {
            $link = preg_replace("%(href=\S(?!$site_link))%i", 'rel="nofollow" $1', $link);
        } elseif (preg_match("%href=\S(?!$site_link)%i", $link)) {
            $link = preg_replace('/rel=\S(?!nofollow)\S*/i', 'rel="nofollow"', $link);
        }
        return $link;
    }

    Thanks

    in reply to: Category descriptions disappeared #535680

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Eva,

    I have added a patch to your site. Please have a look now.

    Thanks

    in reply to: No records found #535600

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Mohammed,

    Please have a look. The issue is fixed.
    seems it was loading event as default post type on map.
    Since map cpt is empty so map was not showing any pin.

    Regards
    Naveen

    in reply to: Hide a specific category in Drop down for auto submit. #535527

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Surender,

    Please try following snippet.

    
    add_filter( 'rest_gd_placecategory_query', 'rest_gd_placecategory_collection_params_callback', 10, 2);
    function rest_gd_placecategory_collection_params_callback( $query_params, $request ){
    	if( isset( $query_params['search'] ) ){
    		$query_params['exclude'][] = 44;
    	}
    	return $query_params;
    }
    

    Thanks

    in reply to: Map Showing Wrong Location #535494

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Matt,

    I am not sure if you have recently done any DB migration. because I had already fixed the same issue before.

    Please have a look now and if you still face the issue let me know. I will check another way.

    Thanks


    Naveen Giri
    Moderator
    Post count: 1559

    Hi Peter,

    Thanks for reporting it. It has been fixed and it will be up in the upcoming GD version.

    Regards
    Naveen

    in reply to: Map Showing Wrong Location #535430

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
    in reply to: Map Showing Wrong Location #535424

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Matt, it’s not a valid URL.
    I didn’t get, could you please elaborate the issue more.

    Thanks

    in reply to: Map Showing Wrong Location #535402

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Matt,

    Please have a look now. there was some DB issue of an undefined column.
    fixed now.

    Regards
    Naveen


    Naveen Giri
    Moderator
    Post count: 1559

    Hi Duane,

    on which page you get this Notice? I checked different pages but I am not able to reproduce it.

    although I have applied a minor code check based on the Notice.
    Let me know if you get it again.

    Thanks

    in reply to: Missing category #535345

    Naveen Giri
    Moderator
    Post count: 1559

    Hi memorex13,

    I see the category has been considered as empty category and hide_empty param of shortcode hiding it in the list.

    it seems like a conflict with some plugin code.
    to check it further, I will need FTP details.

    Could you please send FTP details in a private reply.

    Regards
    Naveen

    in reply to: You must login in to post link broken #535139

    Naveen Giri
    Moderator
    Post count: 1559

    Hi lizzafizz,

    Please create a new ticket for it. we will be happy to check it.

    Thanks

    in reply to: Sitemap Bug – Showing c instead of time #535092

    Naveen Giri
    Moderator
    Post count: 1559

    Hi ukvape,

    I have reproduced the sitemap issue for CPT locations on my test site.

    I have added a fix in the location manager addon. It will up in the upcoming version. if you want me to add fix before that. Please share site credentials in a private reply.

    Regards
    Naveen

    in reply to: Map doesn't working in mobile version #535085

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Alfonso,

    as I said, it was caused due to desktop layout HTML is also loaded in the mobile view, although it is hidden.
    it creates the js issue for the map.

    I have added following snippet on your site
    https://alefood.com/wp-admin/admin.php?page=edit-snippet&id=6&result=updated

    
    add_action( 'wp_head', function () { 
        if ( wp_is_mobile() ) { ?>
            <script>
                jQuery(document).ready(function(){
    				console.log('mobile here');
                    jQuery('.desktop_tab_container').remove();
                });
            </script>
        <?php } else{ ?>
            <script>
                jQuery(document).ready(function(){
                    jQuery('.mobile_tab_container').remove();
                });
            </script>
        <?php }
    });

    Please have a look on the mobile device now.

    Regards
    Naveen

    in reply to: Icons from Frontpage changed after update #535083

    Naveen Giri
    Moderator
    Post count: 1559

    Hi gruppopegaso,

    I haven’t noticed such issue on our test site and local.
    It should probably be some conflict with existing custom CSS.

    Glad you found the solution on your own.
    Let us know if you need any further help with it. we will be happy to help you on a new support ticket.

    Regards
    Naveen

Viewing 15 posts - 181 through 195 (of 1,165 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount