Giri

Forum Replies Created

Viewing 15 posts - 1,891 through 1,905 (of 2,661 total)
  • Author
    Posts
  • in reply to: blog entries – featured images #231415

    Giri
    Expired Member
    Post count: 3155

    you need full width image. So it has 100% width. If you are using 100% width, you must use auto height.

    If you don’t want to crop thumbnails visit

    Settings -> Media

    section

    in reply to: Favourites – Is this correct? #231214

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    can you post your wp admin login details? I’ll apply the fix.

    Thanks

    in reply to: blog entries – featured images #230883

    Giri
    Expired Member
    Post count: 3155

    Replace the code posted by kc, with this code

    
    
    add_filter( 'the_content', 'dt_the_content_filter', 1 );
    function dt_the_content_filter( $content ) {
        if ( is_singular( 'post') ) {
            $thumb = '<div class="thumb-banner">'.get_the_post_thumbnail().'</div>';
            $content = $thumb.$content;
        }
        // Returns the content.
        return $content;
    }

    Now add this css to GD custom css setting

    
    
    .thumb-banner img {
       width: 100% !important;
       display: block;
    }
    in reply to: Profil #230786

    Giri
    Expired Member
    Post count: 3155

    Yelp actually changed their profile page design. If you would like to customize whoop profile page look like current yelp profile page, then it requires some heavy coding.

    Its better you hire someone from our jobs section since its not possible without good developer.

    Good luck

    in reply to: Placing "Page Title" in Content Area #230780

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: Link Business Dropdown #230634

    Giri
    Expired Member
    Post count: 3155

    Ok thanks

    in reply to: Recurring events #230553

    Giri
    Expired Member
    Post count: 3155

    Ok I have fixed it.

    I think your recurring events ends in Thursday. But you mentioned friday in screenshot.
    Please test it.

    Thanks

    in reply to: Recurring events #230543

    Giri
    Expired Member
    Post count: 3155

    Ok Thanks

    in reply to: Recurring events #230535

    Giri
    Expired Member
    Post count: 3155

    Sorry yvettie86, Somehow I missed this thread.

    Can you post your ftp details?

    in reply to: Link Business Dropdown #230534

    Giri
    Expired Member
    Post count: 3155

    @mb

    Follow these steps.

    1) Paste the following code in your child theme’s functions.php file.

    
    
    
    function gdcpt_geodir_link_business_id($id, $post_type) {
        if (geodir_is_page('add-listing') && $post_type == 'gd_offer' && !isset( $_REQUEST['pid'] )) {
            if (!is_user_logged_in()) {
                return $id;
            }
    
            $query_args = array(
                'posts_per_page' => 1,
                'is_geodir_loop' => true,
                'post_type' => 'gd_place'
            );
    
            add_filter('geodir_filter_widget_listings_where', 'gdcpt_get_user_link_biz_id', 1);
            $widget_listings = geodir_get_widget_listings($query_args);
            remove_filter('geodir_filter_widget_listings_where', 'gdcpt_get_user_link_biz_id', 1);
    
            if (!empty($widget_listings)) {
                foreach ($widget_listings as $post) {
                    $id = $post->ID;
                }
            }
        }
        return $id;
    }
    add_filter('geodir_cpt_link_business_id', 'gdcpt_geodir_link_business_id', 10, 2);
    
    function gdcpt_get_user_link_biz_id($where)
    {
        global $wpdb;
        $user_id = get_current_user_id();
        $where .= " AND $wpdb->posts.post_author = $user_id ";
        return $where;
    }
    
    function gdcpt_geodir_link_business_add_js() {
        global $post;
    
        $package_info = array();
        $package_info = geodir_post_package_info( $package_info , $post );
        if (geodir_is_page('add-listing') && $package_info->post_type == 'gd_offer' && !isset( $_REQUEST['pid'] )) {
            ?>
            <script type="text/javascript">
                jQuery(document).ready(function(){
                    jQuery('#geodir_link_cpt_business_autofill').click();
                });
            </script>
            <?php
        }
    }
    add_action('wp_footer', 'gdcpt_geodir_link_business_add_js');

    2) Edit this file

    
    
    
    /wp-content/plugins/geodir_custom_posts/geodir_cpt_link_business.php

    Around line 147, you will see these lines

    
    
    if(isset($linkable_post_type) && isset($geodir_linked_post_types[$linkable_post_type])){
        $linked_post_type = $geodir_linked_post_types[$linkable_post_type];
    } else {
        $linked_post_type = 'gd_place';
    }

    After that line add this line

    
    
    
    $geodir_link_cpt_business = apply_filters('geodir_cpt_link_business_id', $geodir_link_cpt_business, $linkable_post_type);

    3) Save it
    4) Test it

    in reply to: Placing "Page Title" in Content Area #230521

    Giri
    Expired Member
    Post count: 3155

    Try like this

    
    
    
    function myshortcode_title() {
        return wp_get_document_title();
    }
    add_shortcode( 'page_title', 'myshortcode_title' );
    in reply to: Profile Visibility issues #230480

    Giri
    Expired Member
    Post count: 3155

    Thanks for spotting Bookmarks Tab issue. Its fixed. I have applied the fix on your website.

    Thanks

    in reply to: Profile Visibility issues #230472

    Giri
    Expired Member
    Post count: 3155

    Hi there, you cannot change visibility of name. Name is public in buddypress. If you add custom buddypress fields, you can change those fields visibility

    in reply to: Translation and Places name #230469

    Giri
    Expired Member
    Post count: 3155
    in reply to: Preview Listing page blank (Youtube/Google calendar) #229832

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

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