Naveen Giri

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 1,165 total)
  • Author
    Posts
  • in reply to: Help needed with Badges / Shortcodes / Links #540663

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Daniel,

    Just to update you. It has been fixed and it will be up in the upcoming version of Geodirectory.
    Thanks for your patience.

    Regards
    Naveen


    Naveen Giri
    Moderator
    Post count: 1559

    Hi Adrien,

    I saw you have already wrapped a few images in the anchor tag. you can remove them from anchor tags.

    Please use the following PHP code snippet to make every image in place content.

    
    
    
    add_action( 'wp_head', function () { ?>
    <script>
    // script to wrap every img in litty popup anchor.
    jQuery('.entry-content .geodir-field-post_content img').each(function(){
        var href = jQuery(this).attr('src');
        jQuery(this).wrap( "<a href='"+ href +"'></div>" );
    });
    </script>
    <?php } );
    

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Adrien,

    Please include data-lity attribute in link of that image.
    It will open up the lightbox.

    Regards
    Naveen

    in reply to: Stars not showing on reviews badge #540498

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Nick,

    can you please share the site details in a private reply. where it’s not working.
    I will reconfirm the cause and add a permanent fix for it.

    Thanks

    in reply to: Order of packages in Ninja claim form #540377

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Vivek,

    can you please share the staging site details?

    Thanks

    in reply to: Stars not showing on reviews badge #540376

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Nick,

    the target website has a lower version of Font awesome that creating this issue.
    Please see if you have any theme updates there.

    or try this code on target website.

    
    .gd-rating .gd-rating-wrap {
        display: block;
    }
    .gd-rating-wrap .fa-fw {
        font-family: FontAwesome !important;
        font-size: 14px;
        color: #fff;
    }
    .gd-rating-wrap .gd-rating-foreground .fa-fw {
       color: #ad9a20;
    }
    

    Thanks

    in reply to: Stars not showing on reviews badge #540304

    Naveen Giri
    Moderator
    Post count: 1559

    Hi nickstroeger,

    It’s a style conflict with that site. it is working fine on other sites I have tested with.
    I am checking what causing the style issue. I will get back to you.

    Thanks

    in reply to: Add code to all places #540103

    Naveen Giri
    Moderator
    Post count: 1559

    Yup, that’s right.
    Please copy the latest code, I have added one more check for detail page.

    in reply to: Add code to all places #540094

    Naveen Giri
    Moderator
    Post count: 1559

    Hello,

    You can use this filter.
    it will add that string before post content on gd single page.
    not need to worry about adding it for every place from the backend.

    
    
    
    add_filter( 'the_content', function( $content ) {
    	$post_type = geodir_get_current_posttype();
    	if ( ! geodir_is_gd_post_type( $post_type ) && !geodir_is_page('detail') ) return $content;
    	
    	return '<!--DoThis-->'.$content;
    });
    

    Thanks

    in reply to: Open Graph Images #540082

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Rich,

    code for this has been fixed and it will be in the upcoming version.
    meanwhile, if you want you can use this code snippet using plugin.
    https://wordpress.org/plugins/code-snippets/

    
    add_filter('wpseo_frontend_page_type_simple_page_id', 'wpseo_frontend_page_type_simple_page_id_custom_callback');
    function wpseo_frontend_page_type_simple_page_id_custom_callback( $gd_page_id ){
    	if ( geodir_is_page( 'post_type' ) || geodir_is_page( 'archive' ) ) {
    		$post_type = geodir_get_current_posttype();
    		$gd_page_id = geodir_get_page_id( 'archive', $post_type );	
    	}
    	return $gd_page_id; 
    }
    

    Regards
    Naveen

    in reply to: Upload size limit #540045

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Victor,

    can you please send site details in a private reply? so we can check it.

    Regards
    Naveen

    in reply to: Delete All Listings in Specific Category #540004

    Naveen Giri
    Moderator
    Post count: 1559

    Removed them using the empty trash button.
    Please have a look.

    in reply to: Number of AJAX requests #539855

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Evan,

    Thanks for reporting it.
    I have sent a pull request for it. It will be up in the upcoming version of the duplicate alert addon.

    Regards
    Naveen

    in reply to: How to disable Lightbox at fileupload fields? #539796

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Daniel,

    Please use the following snippet to remove the popup from the file upload field.

    
    add_action( 'wp_head', function () { ?>
    <script>
    	/* write your JavaScript code here */
    jQuery(document).ready(function(){
       jQuery('.geodir-custom-field-file a').removeAttr('data-lity');
    });
    </script>
    <?php } );
    

    Regards
    Naveen

    in reply to: Delete All Listings in Specific Category #539790

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
Viewing 15 posts - 61 through 75 (of 1,165 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount