Giri

Forum Replies Created

Viewing 15 posts - 1,816 through 1,830 (of 2,661 total)
  • Author
    Posts
  • in reply to: Login box translation #237012

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    check this file

    /wp-content/themes/supreme-directory/languages/en_US.po

    line 122

    in reply to: Translating frustration!! #237004

    Giri
    Expired Member
    Post count: 3155

    If the strings are coming from buddypress plugin, please follow this documentation. https://codex.buddypress.org/translations/

    in reply to: Translating frustration!! #237000

    Giri
    Expired Member
    Post count: 3155

    “You like this” text can be found here.

    wp-content/plugins/geodir_review_rating_manager/geodir-reviewrating-languages/geodir_reviewratings-en_US.po

    line 525

    “%d people like this.” -> line 510

    ‘Your message was not sent. Please enter a subject line.’ -> https://github.com/buddypress/BuddyPress-build/blob/master/buddypress.pot#L5689

    Change Avatar is not included in translation. we will fix that.

    in reply to: Translating frustration!! #236998

    Giri
    Expired Member
    Post count: 3155

    “Name” is coming from buddypress. So please check buddypress strings.

    https://github.com/buddypress/BuddyPress-build/blob/master/buddypress.pot#L3259

    in reply to: "Get Directions" button to Open Google Maps Link #235101

    Giri
    Expired Member
    Post count: 3155

    Just FYI,

    If you would like to move the link to the top, replace the string

    geodir_after_description_on_listing_detail

    with

    geodir_before_description_on_listing_detail
    in reply to: "Get Directions" button to Open Google Maps Link #235098

    Giri
    Expired Member
    Post count: 3155

    Hi there, we have hook in profile page and paolo didn’t know that.

    You can use this code and it would work

    
    
    
    function geodirectory_detail_page_google_map_link() {
        global $post, $preview;
    
        if ( !$preview && !empty( $post->post_latitude ) && !empty( $post->post_longitude ) ) {
            $maps_url = add_query_arg( array(
                            'q' => get_the_title(),
                            'sll' => $post->post_latitude . ',' . $post->post_longitude,
                        ), 'http://maps.google.com/' );
            ?>
            <p><a href="<?php echo $maps_url; ?>" target="_blank"><?php echo __( 'Get Directions on Google Maps', 'geodirectory' ); ?></a></p>
            <?php
        }
    }
    add_action( 'geodir_after_description_on_listing_detail', 'geodirectory_detail_page_google_map_link');

    Thanks

    in reply to: "Get Directions" button to Open Google Maps Link #235083

    Giri
    Expired Member
    Post count: 3155

    Try this code. I have tested it and it works. If you face any problem let me know.

    
    
    function geodirectory_detail_page_google_map_link( $options, $canvas ) {
        global $post;
    
        if ( $canvas == 'detail_page_map_canvas' && !empty( $post->post_latitude ) && !empty( $post->post_longitude ) ) {
            $maps_url = add_query_arg( array(
                            'q' => get_the_title(),
                            'sll' => $post->post_latitude . ',' . $post->post_longitude,
                        ), 'http://maps.google.com/' );
            ?>
            <p><a href="<?php echo $maps_url; ?>" target="_blank"><?php echo __( 'Get Directions on Google Maps', 'geodirectory' ); ?></a></p>
            <?php
        }
    }
    add_action( 'geodir_map_after_render', 'geodirectory_detail_page_google_map_link', 10, 2 );
    in reply to: Split: Maps not showing on Detail Page #235052

    Giri
    Expired Member
    Post count: 3155

    You should not display the same listing in multiple sub sites. Because that would generate duplicate content and it will affect your SEO.

    AFAIK, Geodirectory doesn’t offer network sharing feature.

    But I think you can achieve that with some 3rd party plugins.

    For example, Refer these plugin

    https://wordpress.org/plugins/threewp-broadcast/

    in reply to: Whoop Recent Activity Widget #235010

    Giri
    Expired Member
    Post count: 3155

    You are welcome. I’m gonna mark this thread as resolved. Feel free to reply to thread if you face any problem.

    Thanks

    in reply to: Category Images, Icons & Listing Descriptions #234973

    Giri
    Expired Member
    Post count: 3155

    If you want I can add a filter in our plugin according to your requirement.

    Do you want to replace term icons with “Default listing image” only in Popular Cats widget ?

    in reply to: Whoop Recent Activity Widget #234964

    Giri
    Expired Member
    Post count: 3155

    If you would like to keep the thumbnails use this code. Thats why i commented a line in my existing code. Somehow I already knew you might prefer that 🙂

    
    
    .whoop-r-activity-body .gdbp-feature-image img {
        /*display: none;*/
        display: block;
    }

    Right now your thumbnail and text are mis aligned.

    The above code makes the image display in a block. So the text goes below instead of right next to it.

    Let me know if that helps

    in reply to: Category Images, Icons & Listing Descriptions #234963

    Giri
    Expired Member
    Post count: 3155

    I have checked our source code. We don’t have any filter for modifying

    $term_icon_url

    However

    $term_icon_url

    uses

    get_option('gd_term_icons')

    behind the scenes. So you can modify the values returned by get_option function via pre_option filter.

    https://codex.wordpress.org/Plugin_API/Filter_Reference/pre_option_(option_name)

    However it will affect all functions that uses

    get_option('gd_term_icons')
    in reply to: Whoop Recent Activity Widget #234950

    Giri
    Expired Member
    Post count: 3155

    Ernest, I do see recent activities showing up in your widgets. However i see thumbnails which ruins the layout. I have added some styles to hide them earlier.

    But if you want those thumbnails you can keep them.

    If you would like to hide thumbs just paste this code in Geodirectory -> Design -> Scripts -> Custom CSS

    
    
    .whoop-r-activity-body .gdbp-feature-image img {
        display: none;
        /*display: block;*/
    }

    The problem is it looks like you have also updated whoop child theme or reinstalled it. You shouldn’t do that.

    You are gonna put your custom codes in there and Thats the whole point of having child theme.

    in reply to: Whoop Recent Activity Widget #234947

    Giri
    Expired Member
    Post count: 3155

    Oh.. I’m so sorry Ernest, Thats why i got confused. Thanks for the clarification. Yes he/she should have created a new thread instead of hijacking existing one.

    @memorex13 Please create a new thread. So I can solve your issue properly.

    Thanks

    in reply to: Fatal error: Call to undefined function …. #234946

    Giri
    Expired Member
    Post count: 3155

    I didn’t install them. It was already there. You can use any theme you like. Just FYI, We also have Supreme theme and Directory starter which you can try.

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