Giri

Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 2,661 total)
  • Author
    Posts
  • in reply to: Theme Compatibility #242937

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    I have applied the following code using the credentials you provided.

    
    
    
    #content-container #content.gdbp-main-content {
    	top: 0;
        width: 100%;
        -webkit-box-shadow:none;
        -moz-box-shadow:none;
        -ms-box-shadow:none;
        box-shadow:none;
    }
    
    #right-sidebar .widget .intern-padding ul
    li.geodir-gridview {
    	padding:0;
    }

    Please test it

    in reply to: Theme Compatibility #242927

    Giri
    Expired Member
    Post count: 3155

    Latoya, Please try this code in GD custom css.

    
    
    #content-container #content.gdbp-main-content {
    	top: 0;
    }
    in reply to: Theme Compatibility #242902

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: BBpress Forum root issue #242900

    Giri
    Expired Member
    Post count: 3155

    Hello Brian, I have fixed this problem.

    You can find the pull request here.

    https://github.com/GeoDirectory/directory-starter/pull/14/files

    Please post your ftp details. I’ll apply the fix.

    Thanks

    in reply to: Split: Mobile Menu on all devices #242892

    Giri
    Expired Member
    Post count: 3155

    @Elad can you try this code?

    Please use code snippets plugin to apply the code

    https://wordpress.org/plugins/code-snippets/

    
    
    remove_action('dt_before_site_logo', 'dt_add_mobile_gd_account_menu');
    add_action('dt_before_site_logo', 'custom_dt_add_mobile_gd_account_menu');
    function custom_dt_add_mobile_gd_account_menu()
    { ?>
        <div class="dt-mobile-account-wrap"><a href="#gd-account-nav"><i class="fa fa-user"></i></a></div>
        <div id="gd-account-nav" >
            <div >
                <?php if (class_exists('geodir_loginwidget')) {
                    the_widget('geodir_loginwidget', 'mobile-login-widget', array('before_title'=>'<strong class="mobile-login-widget-title">','after_title'=>'</strong>'));
                }
                do_action('login_form');
                ?>
            </div>
        </div>
        <?php
    }
    in reply to: Multi-rating reviews formatting messed up #242873

    Giri
    Expired Member
    Post count: 3155

    I’m not sure why, but that part is being overridden by kleo theme. We collpase ratings by default.

    Try applying this code

    
    
    
    #reviews-wrap #comments .comment-content>div:first-child>div.comment_more_ratings {
        display: none;
    }
    in reply to: Related listings and map #242869

    Giri
    Expired Member
    Post count: 3155

    @fws2016, I have tried to access wp admin. But i see error message

    I think your mysql server is down. You need to restart mysql error to fix that error. Could be your server memory issue. Please use at least 1 GB RAM when running WordPress. Please fix that and let me know.

    So I can apply the fix.

    Thanks

    in reply to: Multi-rating reviews formatting messed up #242868

    Giri
    Expired Member
    Post count: 3155

    Hello Frank, Multiratings are collapsed by default. You have applied Guust code. Thats why its showing now. Remove the code added by Guust. Then everything will be fine.

    I hope thats what you are after. Let me know if i’m missing something

    Thanks

    in reply to: Edit List #241323

    Giri
    Expired Member
    Post count: 3155

    Hello Ernest, This plugin needs some code refactoring. So you may have to wait till monday. Sorry about that.

    Thanks

    in reply to: Supreme – moving video from main to sidebar #241264

    Giri
    Expired Member
    Post count: 3155

    Thanks milettic. I’ll ask Guust to revert the doc.

    You can use whichever works best for you now

    in reply to: Supreme – moving video from main to sidebar #241257

    Giri
    Expired Member
    Post count: 3155
    in reply to: Supreme – moving video from main to sidebar #241256

    Giri
    Expired Member
    Post count: 3155

    Just you direct youtube url

    in reply to: Need only 1 review #241253

    Giri
    Expired Member
    Post count: 3155

    This thread is in job section. can’t you let some good developer do your work?

    in reply to: Supreme – moving video from main to sidebar #241249

    Giri
    Expired Member
    Post count: 3155

    This code fixes preview page video display bug

    
    
    
    add_filter('geodir_detail_page_tab_is_display', 'custom_gd_hide_video_tab', 10, 2);
    function custom_gd_hide_video_tab($value, $tab) {
        if ($tab == 'post_video') {
            $value = false;
        }
        return $value;
    }
    
    add_action('geodir_detail_sidebar_inside', 'custom_gd_show_video_in_sidebar', 1);
    function custom_gd_show_video_in_sidebar() {
        global $post;
        $video = '';
        if (geodir_is_page('preview')) {
            $video = isset($post->geodir_video) ? $post->geodir_video : '';
        } elseif (geodir_is_page('detail')) {
            $video = geodir_get_video($post->ID);
        }
        if ($video != '') {
            echo '<div class="geodir-video-wrapper">';
            echo wp_oembed_get(stripslashes($video));
            echo '</div>';
        }
    }
    
    add_action('wp_head', 'custom_video_responsive_css');
    function custom_video_responsive_css() {
        if (geodir_is_page('preview') || geodir_is_page('detail')) {
            ?>
            <style type="text/css">
                .geodir-video-wrapper {
                    margin-top: 20px;
                    position: relative;
                    padding-bottom: 56.25%; /* 16:9 */
                    padding-top: 25px;
                    height: 0;
                    margin-bottom: 10px;
                }
    
                .geodir-video-wrapper iframe {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                }
            </style>
            <?php
        }
    }
    in reply to: Supreme – moving video from main to sidebar #241204

    Giri
    Expired Member
    Post count: 3155

    Ok, You can the_content filter in sidebar. But i’m not sure whether it would cause some other issue.

    Try with this code

    
    
    
    add_filter('geodir_detail_page_tab_is_display', 'custom_gd_hide_video_tab', 10, 2);
    function custom_gd_hide_video_tab($value, $tab) {
        if ($tab == 'post_video') {
            $value = false;
        }
        return $value;
    }
    
    add_action('geodir_detail_sidebar_inside', 'custom_gd_show_video_in_sidebar', 1);
    function custom_gd_show_video_in_sidebar() {
        global $post;
        $video = '';
        if (geodir_is_page('preview')) {
            $video = isset($post->geodir_video) ? $post->geodir_video : '';
        } elseif (geodir_is_page('detail')) {
            $video = geodir_get_video($post->ID);
        }
        if ($video != '') {
            echo '<div class="geodir-video-wrapper">';
            echo apply_filters('the_content', stripslashes($video));
            echo '</div>';
        }
    }
    
    add_action('wp_head', 'custom_video_responsive_css');
    function custom_video_responsive_css() {
        if (geodir_is_page('preview') || geodir_is_page('detail')) {
            ?>
            <style type="text/css">
                .geodir-video-wrapper {
                    margin-top: 20px;
                    position: relative;
                    padding-bottom: 56.25%; /* 16:9 */
                    padding-top: 25px;
                    height: 0;
                    margin-bottom: 10px;
                }
    
                .geodir-video-wrapper iframe {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                }
            </style>
            <?php
        }
    }
Viewing 15 posts - 1,711 through 1,725 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount