Kiran

Forum Replies Created

Viewing 15 posts - 4,771 through 4,785 (of 6,022 total)
  • Author
    Posts
  • in reply to: wpml translation problem #396720

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Location Region #396703

    Kiran
    Moderator
    Post count: 7069

    To retrieve address, country, region, city, zip, lat, lon etc we parse the result that got via Google API search.

    Kiran

    in reply to: Google Map Not Loaded Sorry, unable to load Google Maps API. #396693

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    Google map on both pages working fine for me(see attachments).

    Please try after clearing your browser cache. If still not works for you then let us know which browser(with version) you are using.

    Kiran

    in reply to: Split: Business Owner / Associate #396691

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know 🙂

    in reply to: Location Region #396589

    Kiran
    Moderator
    Post count: 7069

    Hi David,

    If you have WP_DEBUG enabled in wp-config.php then it logs errors for listings which are not imported.
    Add following line in wp-config.php

    
    
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);

    Let us know if you have any problem.

    Kiran

    in reply to: exact addresses #396560

    Kiran
    Moderator
    Post count: 7069

    Hi,

    So you have a search problem for address “16 George Road” with OpenStreetMap?
    Google map & OpenStreetMap may return different results for same address search. On selecting the result from autocomplete search it sets the address depends on what he get from Google/OpenStreetMap .

    Let us know

    Kiran

    in reply to: Google Map Not Loaded Sorry, unable to load Google Maps API. #396559

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    I had deactivated GD Booster, probably why you didn’t see the issue. I activated it again and cleared my cache and still having problems.

    I activated GD Booster and map still working for me. Please try again.

    I1) I’d like to be able to center the two category buttons that I have on the home page (Dispensaries and Lawyers).

    Add following snippet code at GeoDirectory > Design > Scripts > Custom style css code

    
    
    
    .header-wrap ul.geodir-popular-cat-list > li {
        float: none;
        display: inline-block;
    }
    

    2) Default images on Places details pagesare oversized. I’ve played around with the “Places Category” icons for days now and can’t get the listings pages, details pages, and map icons to all come out correctly. If I get any two of those to work, the third one is either too large or too small.

    If place has not any image uploaded then it shows category “Default Listing Image” as a listing default image. Icons uploaded for “Category Icon” under category used as a category icon and map marker icons for those categories listings.
    Let us explain more so we can assist you.

    Kiran

    in reply to: "Page Not Found" #396554

    Kiran
    Moderator
    Post count: 7069

    Hi Jim,

    I looked into your site backend and found some listing has set incorrect status. Those listings are going to 404 page not found. Re-save listing fixes the problem here.

    If you want to see those listings which have incorrect post_status then just GO GeoDirectory > Import/Export > Export Listings > Check post_status column in exported csv.

    Let us know.

    Thanks,
    Kiran

    in reply to: Split: Business Owner / Associate #396549

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    You have installed too old version of Claim Listing addon. Please follow this to update out dated plugin https://wpgeodirectory.com/support/topic/footer-missing/#post-387740

    In recent version the setting works fine to disable claim listing for particular CPT.

    Thanks,
    Kiran

    in reply to: Claim Listing Issues after user signed up. #396546

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Rate & Reviews GT-GD – Images Issues. #396421

    Kiran
    Moderator
    Post count: 7069

    First modification has been included in next release too, so don’t worry about loosing that code.
    For second modification you should use any snippet plugin or you can use child theme functions.php file if you have.
    There are many snippet code plugin available. Here is one of them: https://wordpress.org/plugins/code-snippets/

    Kiran

    in reply to: Rate & Reviews GT-GD – Images Issues. #396387

    Kiran
    Moderator
    Post count: 7069

    Hi Andrew,

    1-I did not quiet understand the new lines you added to that php file, sorry. I am attaching the old file here, can you please make these changes for me and send it back when you get a chance?

    Add following code at the end of file plugins/geodirectory/geodirectory-functions/comments_functions.php

    
    
    
    function geodir_remove_img_tags_from_comment( $comment_text, $comment, $args ) {
        if ( !empty( $comment_text )  && strpos( $comment_text, '[img' ) !== false && strpos( get_post_type( $comment->comment_post_ID ), 'gd_' ) === 0 ) {
            $comment_text = preg_replace( '#(\\[img\\]).+(\\[\\/img\\])#', '', $comment_text );
            $comment_text = trim( $comment_text );
        }
        return $comment_text;
    }
    add_filter( 'comment_text', 'geodir_remove_img_tags_from_comment', 10, 3 );
    

    If you go to” “edit post” you will see that the youtube link is under “custom fields” now but in GT blog posts these embedded codes were never added to “custom fields” We used to add these embedded code to the field “video code” itself, in the ADD NEW BLOG, because it was working there for WordPress and I was assuming that all info will moved over from GT – GD. I know we can fix that by just adding the youtube vide url inside text but I have 400+ videos and a lot other manually issues to take care already in: Listings (4,300+) and User’s profile (3,000+). Is there a different solution you can provide?

    Add following code snippet to display video from custom field “video” just like GeoTheme was displaying. Add this snippet to your theme functions.php or add via any snippet plugin.

    
    
    
    function _gd_custom_gt_2_gd_video( $content ) {
        global $post;
    
        if ( !empty( $post->post_type ) && $post->post_type == 'post' && is_singular() && is_single() && $video = post_custom( 'video' ) ) {
            $video_content = '<div class="-gd-custom-video" style="text-align:center">' . $video . '</div>';
    
            $content = $video_content . $content; // Display video before the content
            // $content = $content . $video_content; // Display video after the content
        }
    
        return $content;
    }
    add_filter( 'the_content', '_gd_custom_gt_2_gd_video', 7, 1 );
    

    Kiran

    in reply to: exact addresses #396373

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    Let us know, which map are you using, Google Map or OpenStreetMap?
    I searched “16 George Road” in address and selected results from autocomplete and there remains address “16 George Rd”. See video capture here https://ppldb.com/kiran/gd/16-George-Road-20170919.webm

    FYI you can also edit address in address field after after the result selected from autocomplete results.

    Let us know.

    Kiran

    in reply to: Rate & Reviews GT-GD – Images Issues. #396250

    Kiran
    Moderator
    Post count: 7069

    Hi Andrew,

    We have fixed problem of showing img tags in comment. It will be available in next release.
    Here is patch if you want to update on your site right now: https://github.com/GeoDirectory/geodirectory/pull/441/commits/59759490e88baf9830d5abfde934dfbf1e4a1928

    I got another forum post in regards to the YouTube embedded codes not displaying in posts categories, can you help?

    Can you explain more about the problem?

    Kiran

    in reply to: Images doesnt display correctly #396229

    Kiran
    Moderator
    Post count: 7069

    Hi Baz,

    Add following attributes in shortcodes.

    marker_cluster=true
    autozoom=true

    Let us know how it goes.

    Kiran

Viewing 15 posts - 4,771 through 4,785 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount