Giri

Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 2,661 total)
  • Author
    Posts
  • in reply to: Custom Fields linked to Listings Page #300055

    Giri
    Expired Member
    Post count: 3155

    I beleive this is what you are looking for.

    Replace

    {business_link_custom_field}

    and

    {buddypress_author_custom_field}

    with original custom field html_var name. You can get that from your custom field form.

    You may have to prepend

    geodir_

    in your html var name.

    
    
    function modify_listing_field_biz_link($html, $variables_array) {
        global $post;
        if (geodir_is_page('listing')) {
            if ($post->geodir_website) {
                $html = '<a href="'.$post->geodir_website.'">Website</a>';
            }
        }
        return $html;
    }
    add_filter('geodir_show_{business_link_custom_field}', 'modify_listing_field_biz_link', 10, 2);
    
    function modify_listing_field_buddy_author($html, $variables_array) {
        global $post;
        if (geodir_is_page('listing')) {
            if (class_exists('BuddyPress')) {
                $user_link = bp_core_get_user_domain($post->post_author);
            } else {
                $user_link = get_author_posts_url($post->post_author);
            }
            $author_data = get_user_by('id', $post->post_author);
            if ($user_link) {
                $html = '<a href="'.$user_link.'">'.$author_data->display_name.'</a>';
            }
        }
        return $html;
    }
    add_filter('geodir_show_{buddypress_author_custom_field}', 'modify_listing_field_buddy_author', 10, 2);

    Let me know how that goes.

    in reply to: main nav #300045

    Giri
    Expired Member
    Post count: 3155

    Could you give us your site link? So i can give you custom css.

    in reply to: Breadcrumb inconsistency #300043

    Giri
    Expired Member
    Post count: 3155

    Your code should be like this.

    
    
    
    function modify_breadcrumb_first_item($html) {
    	return '<a href="' . home_url('/iowdirectory/') . '">' . __( 'Directory', 'geodirectory' ) . '</a>';
    }
    add_filter('geodir_breadcrumb_first_link', 'modify_breadcrumb_first_item');
    in reply to: Linking cpt #300034

    Giri
    Expired Member
    Post count: 3155

    Hi Christina,

    This has been fixed. But the code is waiting for stiofan’s review.

    I’ll apply the patch on your site once he review the fix.

    Thanks

    in reply to: Install Language #300030

    Giri
    Expired Member
    Post count: 3155

    Andi, Widget content are translated before inserting into the database. So

    wrote a review for

    translation would only work for new content.

    Let me know.

    Thanks

    in reply to: Split: Install Language #300029

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Install Language #298007

    Giri
    Expired Member
    Post count: 3155

    Hi Andi,

    Recent activity widget uses buddypress textdomain. Thats why its not working. I have fixed that in our dev version.

    Please wait till next version.

    If you can’t wait till next version for some reason, please follow these steps.

    Download this file.

    https://gist.github.com/mistergiri/d73272fef726b24aa8ff70cc4a954640

    Replace that file with this one

    File:

    wp-content/themes/geodirectory_whoop/whoop-widgets/buddypress/bp-recent-activity.php

    Hopefully that should fix your issue.

    Thanks

    in reply to: Template inconsistencies #297942

    Giri
    Expired Member
    Post count: 3155

    Hi Cyril,

    Please try using this styles in

    GeoDirectory > Design > Scripts > Custom CSS

    https://gist.github.com/mistergiri/3ea1c3f3be4fcbd22d236ed37c1f4d89

    Test it and let me know.

    PS: Please disable any caching plugin when you test.

    Thanks

    in reply to: Does not work #297504

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Does not work #297503

    Giri
    Expired Member
    Post count: 3155

    Hi Oliver, I have got a reply from sharethis team that they fixed this issue.

    It works fine in our demo site.

    Please test your site.

    Thanks

    in reply to: Paging not working in BP #296698

    Giri
    Expired Member
    Post count: 3155

    I have tested this issue in my local site. I don’t see any problem. So the problem must be from your theme or caused by one of your plugin.

    Please switch to some other theme and test it. If that doesn’t solve the issue, then disable all 3rd party plugins and then test it.

    If all those steps doesnt help you, then let us know. We will try our best to help you.

    Thanks

    in reply to: Does not work #296697

    Giri
    Expired Member
    Post count: 3155

    Hey Guys,

    I have discussed this with Stiofan.

    He said something is failing in sharethis and the problem is not in our plugin.

    I have mailed sharethis to help me resolve this issue.

    I’ll let you know once we fix this issue.

    Thanks

    in reply to: Claim Listing PopUp (javascript) Display Issues #295559

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    I have added the following styles in GD > Design > Scripts > Custom CSS code

    
    
    #simplemodal-container .row.clearfix {
        margin-left: 0px;
    }
    @media only screen and (max-width: 480px) {
        #gd-basic-modal-content4 {
            height: 80%;
            width: 95%;
            margin: 0 auto;
            overflow-y: scroll;
        }
    }

    I hope that solves your problem.

    Please test it and let me know if you still have issues.

    Thanks

    in reply to: register button #295506

    Giri
    Expired Member
    Post count: 3155

    I have added the following code in your GD > Design > Scripts > Custom CSS.

    That fixed your header problem.

    
    
    .registration.buddypress.sd-homepage .site-header {
        position: relative;
        background-color: #2f2f2f;
    }

    Thanks

    in reply to: Search bar #293461

    Giri
    Expired Member
    Post count: 3155

    Hi Michael, I have added the search form as you asked.

    Don’t uninstall “Code Snippets” plugin.

    This is the code I added

    
    
    add_action('dt_after_header', 'dt_custom_after_header');
    function dt_custom_after_header() {
    	echo do_shortcode("[gd_advanced_search]");
    }
Viewing 15 posts - 1,306 through 1,320 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount