Giri
Forum Replies Created
-
AuthorPosts
-
October 20, 2016 at 12:32 pm in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #288219This reply has been marked as private.October 19, 2016 at 4:31 pm in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #287861
You are welcome 🙂
You are welcome.
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');
Where exactly you would like to place the headline?
The problem is when font awesome enabled, rating validation not working properly. We are working on it.
Thanks
$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 } }
October 19, 2016 at 8:52 am in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #287523Hi 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
October 18, 2016 at 11:30 am in reply to: Map and search widgets not displaying when buddypress activated #286530I’m glad that helped you.
Thanks
Please post your wp admin details. I’ll apply the fix.
Thanks
October 18, 2016 at 9:21 am in reply to: Add "Verified Badge" to Geodir Category List (Grid) View #286452Hi 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
October 17, 2016 at 12:00 pm in reply to: Map and search widgets not displaying when buddypress activated #285728This reply has been marked as private.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);
Try this.
add_action('geodir_listings_content', 'geodir_breadcrumb', 1);
October 14, 2016 at 11:11 am in reply to: Split: Difference b/t GeoDirectory_whoop vs Whoop_child #283790You 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
-
AuthorPosts