Giri

Forum Replies Created

Viewing 15 posts - 1,576 through 1,590 (of 2,661 total)
  • Author
    Posts
  • in reply to: Widget : Whoop Are you interested? #253777

    Giri
    Expired Member
    Post count: 3155

    Hey Brian, can you disable JetPack for a while? I’m unable to login

    in reply to: Widget : Whoop Are you interested? #253753

    Giri
    Expired Member
    Post count: 3155

    Brian, Please test now.

    Thanks

    in reply to: Colours don't change on whoop child theme #253632

    Giri
    Expired Member
    Post count: 3155

    ok thanks

    in reply to: Link to business #253259

    Giri
    Expired Member
    Post count: 3155

    We are rewriting our custom fields. Other than that nothing new as far as I know.

    in reply to: Link to business #253257

    Giri
    Expired Member
    Post count: 3155

    Stiofan told me middle of next week if everything goes as planned.

    Thanks

    in reply to: Colours don't change on whoop child theme #253248

    Giri
    Expired Member
    Post count: 3155

    r = 4
    w = 2
    x = 1

    So

    rw- r– rw-

    means

    4+2+0 4+0+0 4+2+0 = 646

    So please make it 777. It should look like

    rwx rwx rwx

    instead of

    rw- r– rw-

    I cannot modify file permissions using wp admin.

    Thanks

    in reply to: Widget : Whoop Are you interested? #253241

    Giri
    Expired Member
    Post count: 3155

    Brian, I think i have fixed that bug. can you test it and let me know?

    Thanks

    in reply to: Image ALT Tag – Detali Page #253214

    Giri
    Expired Member
    Post count: 3155

    I have already explained for hover zoom images that its not possible.

    If you are talking about Photo tab, they also use background images. Thats just means image code look like this.

    <div class="geodir_thumbnail" style="background-image:url('img-url-goes-here');"></div>

    By adding alt tag to div, you are not getting anywhere other than getting html validation errors.

    If you need alt tag, then you need to rewrite that part to use img tags. In this case you need to hire a good wordpress developer.

    Good luck

    in reply to: Widget : Whoop Are you interested? #253211

    Giri
    Expired Member
    Post count: 3155

    Brian, I’m working on it. Will give you a reply today.

    Thanks

    in reply to: Link to business #253208

    Giri
    Expired Member
    Post count: 3155

    Hey Mark,

    I have added a filter to exclude both title and desc fields.

    I believe you are talking about the link business feature that comes with events addon and not cpt addon.

    If you are talking about event addon link business feature use the following code

    
    
    
    function geodir_business_auto_fill_excluded() {
        return array('post_title', 'post_desc');
    }
    add_filter('geodir_business_auto_fill_excluded', 'geodir_business_auto_fill_excluded');

    If you are talking about cpt addon link business feature use this code

    
    
    
    function geodir_cpt_business_auto_fill_excluded() {
        return array('post_title', 'post_desc');
    }
    add_filter('geodir_cpt_business_auto_fill_excluded', 'geodir_cpt_business_auto_fill_excluded');

    If you are talking about both, use both code blocks.

    Please note: Although you can place the code in your child theme now, it will start to work in our next release since I have modified some code in our development version of event addon and cpt addon.

    Thanks

    in reply to: Display expiration date publicly #253163

    Giri
    Expired Member
    Post count: 3155

    Sorry about the confusion. You can try pasting this code in your child theme.

    
    
    remove_action('geodir_after_edit_post_link', 'geodir_payment_display_expire_date_on_detail', 10);
    add_action('geodir_after_edit_post_link', 'custom_geodir_payment_display_expire_date_on_detail', 10);
    function custom_geodir_payment_display_expire_date_on_detail() {
        global $post;
    
        $show_expire_date = get_option( 'geodir_listing_expiry' ) && get_option( 'geodir_payment_expire_date_on_detail' );
    
        $html = '';
        if ( $show_expire_date ) {
            if ( geodir_is_page('detail') && !empty( $post ) && isset( $post->post_author )) {
                $post_expire_date = geodir_get_post_meta( $post->ID, 'expire_date', true);
                $post_expire_time = strtotime( $post_expire_date );
                $current_date = date_i18n( 'Y-m-d', current_time( 'timestamp' ) );
    
                $expire_date_text = __( 'Unknown', 'geodir_payments' );
                $expire_date_class = 'geodir-expire-unknown';
                if ( $post_expire_date != '0000-00-00' && $post_expire_date != '' && ( geodir_strtolower( $post_expire_date ) == 'never' || $post_expire_time > strtotime( date( '01-01-1970' ) ) ) )  {
                    if ( geodir_strtolower( $post_expire_date ) == 'never' ) {
                        $expire_date_text = __( 'Never', 'geodir_payments' );
                        $expire_date_class = 'geodir-expire-never';
                    } else {
                        $expire_date_text = geodir_payment_time_diff( $post_expire_time );
                        $expire_date_text = date_i18n( geodir_default_date_format(), $post_expire_time ) . ' (<font class="geodir-expire-diff">'.$expire_date_text.'</font>)';
    
                        $expire_date_class = $post_expire_time >= strtotime( $current_date ) ? 'geodir-expire-left' : 'geodir-expire-overdue';
                    }
                }
    
                $html = '<span class="geodir-expire-date ' . $expire_date_class . '"><font class="geodir-expire-label">' . __( 'Expire date: ', 'geodir_payments' ) . '</font><font class="geodir-expire-text">' . $expire_date_text . '</font></span>';
                $html = '<p class="geodir_expire_date"><i class="fa fa-calendar"></i> ' . $html . '</p>';
            }
        }
    
        if ( $html != '' ) {
            echo apply_filters( 'geodir_payment_filter_expire_date_on_detail', $html );
        }
    }

    Let me know how that goes.

    Thanks

    in reply to: Weird behaviour for Popup Form #253125

    Giri
    Expired Member
    Post count: 3155

    You are welcome..

    in reply to: Image ALT Tag – Detali Page #253123

    Giri
    Expired Member
    Post count: 3155

    You cannot set

    alt

    tag for those hover zoom images. Because they are not using

    img

    tag. They are just background images of a div. Background images doesn’t support alt tags.

    Hope thats clear.

    in reply to: Weird behaviour for Popup Form #252702

    Giri
    Expired Member
    Post count: 3155

    Hi I have changed some code to override from theme. It will be available in the next version

    Please take a look at this changes and let me know if you need any help

    https://github.com/GeoDirectory/geodirectory/pull/274/files

    Please note you need new templates should go here

    
    
    
    /wp-content/themes/theme_name/geodirectory/popup-forms.php

    In other words Don’t put the files in theme root. Put inside geodirectory folder.

    in reply to: Weird behaviour for Popup Form #252623

    Giri
    Expired Member
    Post count: 3155

    alexi84, If you want I can add a filter to override template path.

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