Giri

Forum Replies Created

Viewing 15 posts - 1,351 through 1,365 (of 2,661 total)
  • Author
    Posts
  • in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #288219

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #287861

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: More Info Hook #287797

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

    in reply to: More Info Hook #287773

    Giri
    Expired Member
    Post count: 3155

    Try this code instead.

    
    
    function geodir_before_post_info_content() {
        echo "<h2>Certifications</h2>";
    }
    add_action('geodir_before_post_info_tab_content', 'geodir_before_post_info_content');
    in reply to: More Info Hook #287766

    Giri
    Expired Member
    Post count: 3155

    Where exactly you would like to place the headline?

    in reply to: Number of Review Issues #287724

    Giri
    Expired Member
    Post count: 3155

    The problem is when font awesome enabled, rating validation not working properly. We are working on it.

    Thanks

    in reply to: More Info Hook #287594

    Giri
    Expired Member
    Post count: 3155
    
    
    $arr_detail_page_tabs = geodir_detail_page_tabs_list();
    if (isset($arr_detail_page_tabs['post_info']['is_display']) && $arr_detail_page_tabs['post_info']['is_display']) {
    	$geodir_post_detail_fields = geodir_show_listing_info( 'moreinfo' );
    	if ($geodir_post_detail_fields) {
    		// Say something here
    	}
    }
    in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #287523

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    I do see “Verified” text when I hover over green check. I have used the text as title tag http://www.kidscaredoc.com/providers/dental/

    Can you tell me whats not working?

    Thanks


    Giri
    Expired Member
    Post count: 3155

    I’m glad that helped you.

    Thanks

    in reply to: Category Archive description shows twice. #286529

    Giri
    Expired Member
    Post count: 3155

    Please post your wp admin details. I’ll apply the fix.

    Thanks

    in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #286452

    Giri
    Expired Member
    Post count: 3155

    Hi Please try this code.

    Add this in Custom CSS

    
    
    .sd-listings-badge.sd-verified-badge i {
        font-size: 25px;
    }
    .sd-listings-badge.fa-stack.sd-verified-badge {
        height: 25px;
        position: relative;
        width: 25px;
        float: right;
    }

    And then the following.

    
    
    function geodirectory_claim_icon_on_listing( $post ) {
        global $gd_claim_post_types;
    
        if ( !( !empty( $post ) && !empty( $post->post_type ) && defined( 'CLAIM_BUSINESS_OWNER' ) ) ) {
            return;
        }
    
        $gd_claim_post_types = !empty( $gd_claim_post_types ) ? $gd_claim_post_types : get_option( 'geodir_post_types_claim_listing' );
    
        if ( in_array( $post->post_type, (array)$gd_claim_post_types ) ) {
            $is_owned = geodir_get_post_meta( $post->ID, 'claimed', true );
            if ( get_option('geodir_claim_show_owner_varified') == 'yes' && $is_owned == '1' ) {
                ?>
                <span class="fa fa-stack sd-listings-badge sd-verified-badge" title="Verified">
                    <i class="fa fa-circle fa-inverse"></i>
                    <i class="fa fa-check-circle"></i>
                </span>
                <?php
            }
    
        }
    }
    add_action( 'geodir_after_badge_on_image', 'geodirectory_claim_icon_on_listing', 10, 1 );

    The above code only add the icon.

    If you need verified text like “CERT: Verified”

    Then you need to use the following code too.

    
    
    function geodirectory_custom_claim_link_on_listing( $post_id, $post ) {
        global $gd_claim_post_types;
        if ( !( !empty( $post ) && !empty( $post->post_type ) && defined( 'CLAIM_BUSINESS_OWNER' ) ) ) {
            return;
        }
    
        $gd_claim_post_types = !empty( $gd_claim_post_types ) ? $gd_claim_post_types : get_option( 'geodir_post_types_claim_listing' );
    
        if ( in_array( $post->post_type, (array)$gd_claim_post_types ) ) {
            $is_owned = geodir_get_post_meta( $post_id, 'claimed', true );
    
            if ( get_option('geodir_claim_show_owner_varified') == 'yes' && $is_owned == '1' ) {
                echo '<span class="geodir-listing-verified"><i class="fa fa-certificate"></i> ' . __( 'CERT: Verified', 'geodirectory' ) . '</a></span>';
            } else {
                echo '<span class="geodir-listing-verified"><i class="fa fa-certificate"></i> ' . __( 'CERT: Unverified', 'geodirectory' ) . '</a></span>';
            }
    
        }
    }
    add_action( 'geodir_listing_after_pinpoint', 'geodirectory_custom_claim_link_on_listing', 10, 2 );
    

    Let me know how that goes.

    Thanks


    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Add breadcrumb to Supreme theme listing page #285661

    Giri
    Expired Member
    Post count: 3155

    Hi Craig,

    Sorry. I thought you were talking about listings page.

    Try this code for supreme detail page.

    
    
    
    add_action('sd-detail-details-before', 'geodir_breadcrumb', 1);
    in reply to: Add breadcrumb to Supreme theme listing page #285650

    Giri
    Expired Member
    Post count: 3155

    Try this.

    
    
    
    add_action('geodir_listings_content', 'geodir_breadcrumb', 1);
    in reply to: Split: Difference b/t GeoDirectory_whoop vs Whoop_child #283790

    Giri
    Expired Member
    Post count: 3155

    You need to activate whoop child theme. Then you can see the option at the bottom of left side admin menu links.

    You cannot use customizer for whoop and whoop child theme.

    Thanks

Viewing 15 posts - 1,351 through 1,365 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount