Giri

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 2,661 total)
  • Author
    Posts
  • in reply to: Split: Business Owner / Associate #394602

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Add "Add Event" Button to Listing Details Page #394507

    Giri
    Expired Member
    Post count: 3155

    Hi Apologies,

    Yes that seems like it requires custom coding.

    Sorry about that.

    in reply to: Remove date on Reviews #394481

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

    in reply to: Split: Business Owner / Associate #394478

    Giri
    Expired Member
    Post count: 3155

    Hi Joy,

    You may have to use init action for that.

    
    
    add_action('init', 'init_remove_gd_cliam_fields');
    function init_remove_gd_cliam_fields() {
    	if ( 'gd_hike' == get_post_type() ) {
    		remove_action('geodir_before_main_form_fields' , 'geodir_add_claim_fields_before_main_form', 1);
    	}	
    }
    in reply to: Split: Address format in map location bubble #394474

    Giri
    Expired Member
    Post count: 3155
    
    
    .sd .sd-detail-info .sd-address {
        float: none !important;
    }
    in reply to: Add "Add Event" Button to Listing Details Page #394473

    Giri
    Expired Member
    Post count: 3155

    Is your widget supports php code? Because the html code I given in my last reply contains php code as well.

    in reply to: Supreme Directory Tags #394472

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

    in reply to: Remove date on Reviews #394471

    Giri
    Expired Member
    Post count: 3155

    Thanks Joy, Your code would remove only the featured images in place post type.

    Not others.

    If you guys wanna remove the banners in all post types then use this css.

    
    
    body.single .featured-area {
       display: none! important;
    }

    Thanks

    in reply to: GD Home Top Section to full width #394376

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: GD Home Top Section to full width #394359

    Giri
    Expired Member
    Post count: 3155

    Hi Not sure whether this is what you are looking for.

    I added some custom styles in whoop options > quick css

    Feel free to remove or improve the css according to your needs.

    Thanks

    in reply to: Split: Address format in map location bubble #394351

    Giri
    Expired Member
    Post count: 3155

    Hi please provide the page url. So i can provide css.

    Thanks

    in reply to: GD Home Top Section to full width #394350

    Giri
    Expired Member
    Post count: 3155

    Hi,

    Can you provide your site url and admin details? So i can provide custom css.

    Thanks

    in reply to: Supreme Directory Tags #394348

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Supreme Directory Category Icons #394342

    Giri
    Expired Member
    Post count: 3155

    You are welcome.

    in reply to: Supreme Directory Category Icons #394239

    Giri
    Expired Member
    Post count: 3155

    Hi Michael,

    Try this code.

    
    
    add_filter('sd_details_output_cat_links', 'custom_sd_details_output_cat_links');
    function custom_sd_details_output_cat_links($cat_links) {
    	global $preview, $post;
    	if (!$preview) {
    		$post_type = $post->post_type;
    		$post_tax = $post_type . "category";
    		$post_cats = $post->{$post_tax};
    	} else {
    		$post_type = $post->listing_type;
    		$post_tax = $post_type . "category";
    		$post_cats = isset($post->post_category) ? $post->post_category[$post_tax] : $post->{$post_tax};
    	}
    
    	if (is_array($post_cats)) {
    		$post_cats = implode(',', $post_cats);
    	}
    
    	$cats_arr = array_filter(explode(",", $post_cats));
    	$cat_icons = geodir_get_term_icon();
    
    	$cat_links = '<div class="sd-detail-cat-links"><ul>';
    	foreach ($cats_arr as $cat) {
    		$term_arr = get_term($cat, $post_tax);
    		$term_icon = isset($cat_icons[$cat]) ? $cat_icons[$cat] : '';
    		$term_url = get_term_link(intval($cat), $post_tax);
    		$cat_links .=  '<li><a href="' . esc_url($term_url) . '" title="' . esc_attr($term_arr->name) . '"><img src="' . esc_url($term_icon) . '">';
    		$cat_links .= '<span class="cat-link">' . esc_attr($term_arr->name) . '</span>';
    		$cat_links .= '</a></li>';
    	}
    	$cat_links .= '</ul></div> <!-- sd-detail-cat-links end --> </div> <!-- sd-detail-info end -->';
    	
    	return $cat_links;
    }
Viewing 15 posts - 121 through 135 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount