Giri

Forum Replies Created

Viewing 15 posts - 1,906 through 1,920 (of 2,661 total)
  • Author
    Posts
  • in reply to: Translation and Places name #229822

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

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    I have checked your source code.

    <

    and

    >

    tags are converted to html encoded chars.

    
    
    
    $tags = '<iframe>';

    I have corrected that one.

    Now its working. Please test it.

    Please note, you will see calendar tab on preview page. But you won’t see google cal on preview page. I found this error while testing in my local.

    The XSS Auditor refused to execute a script in ‘http://localhost/whoop/listing-preview/’ because its source code was found within the request. The auditor was enabled as the server sent neither an ‘X-XSS-Protection’ nor ‘Content-Security-Policy’ header.

    I’ll discuss with stiofan and try to fix that problem. Except that i believe everything would work fine.

    Let me know if you still have any issue.

    Thanks

    in reply to: Split: A Few Issues In Supreme #229777

    Giri
    Expired Member
    Post count: 3155

    Hey Craig, I have fixed few pagespeed issues.

    Location Page & Home Page
    Popular Categories (links) too close to each other.
    More Categories too close to the map

    Can you give me the location and home page url where you have that issues?

    Thanks

    in reply to: Split: A Few Issues In Supreme #229727

    Giri
    Expired Member
    Post count: 3155

    No Craig, You were very clear.

    I have found the cause. I need to discuss with paolo and stiofan, before changing some styles, because they might have added there for a reason.

    For instance, this is the code causing that menu issue

    
    
    .home.sd.admin-bar .site-header {
        top: 0;
    }
    

    Before removing the code, i have to discuss with them

    I know how to hide the admin bar, but thank you for the advice.

    Ok I get it now. Supreme is already a child theme. Thats why you are worried that your changes will get lost when you upgrade.

    In this case you can create a simple plugin to put your custom codes.

    If you need to only hide admin bar, you can try a plugin

    https://wordpress.org/plugins/tags/admin-bar

    in reply to: Redirect old urls #229726

    Giri
    Expired Member
    Post count: 3155

    Hello there,

    To remove indexed urls use google webmaster tools

    https://www.google.com/webmasters/tools/home?hl=en

    You can verify your website and remove the indexed links using URL Removal Tool

    in reply to: Split: A Few Issues In Supreme #229716

    Giri
    Expired Member
    Post count: 3155

    Craig, You can hide the admin bar using the following code.

    Put it in your child theme’s functions.php file

    
    
    
    add_filter('show_admin_bar', '__return_false');
    in reply to: A Few Issues In Supreme #229705

    Giri
    Expired Member
    Post count: 3155

    @smallgeek

    For issue 5

    Try with this code

    
    
    .footer-widgets .container {
       overflow: visible !important;
    }

    That code make the dropdown visible.

    But if you want the dropdown upside, then use the following code too.

    
    
    
    .footer-widgets .geodir-chosen-container .chosen-drop {
        top: auto !important;
        bottom:100% !important;
    }
    in reply to: A Few Issues In Supreme #229703

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Sort listing by latest modified #229677

    Giri
    Expired Member
    Post count: 3155

    Ok, Follow these steps to sort by last modified.

    Note: current code only works for listing pages.

    1) Geodirectory > Place Settings > Sort options > Make sure you have added “Date”

    2) Select descending should be checked and set as default should be selected too. For value enter “Last Modified”

    3) Save it

    4) Now paste the following code in your child theme’s functions.php file

    
    
    function last_modified_geodir_posts_order_by_sort($orderby, $sort_by) {
        if (($sort_by == 'post_date_desc') && geodir_is_page('listing')) {
            $orderby = str_replace('posts.post_date desc', 'posts.post_modified desc', $orderby);
        }
        return $orderby;
    }
    add_filter('geodir_posts_order_by_sort', 'last_modified_geodir_posts_order_by_sort', 10, 2);

    Let me know how that goes.

    Thanks

    in reply to: Preview Listing page blank (Youtube/Google calendar) #229376

    Giri
    Expired Member
    Post count: 3155

    Ok, the problem you have only on preview page right?

    If yes, can you tell me whether youtube video works on preview page?

    Can you also give me the page url where I can test your issue?

    in reply to: Preview Listing page blank (Youtube/Google calendar) #229370

    Giri
    Expired Member
    Post count: 3155

    bluegnu, I have tested the code in my local before giving it to you. So most probably you are not using the correct field name in my code.

    Instead of “google_calendar” try with “geodir_google_calendar”.

    If thats not working too, let me know I’ll check your website.

    Thanks

    in reply to: Cherry Framework #229369

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Preview Listing page blank (Youtube/Google calendar) #229343

    Giri
    Expired Member
    Post count: 3155

    Replace your google_calendar with geodir_google_calendar

    geodir prefix is added by GD i guess.

    Try that and let me know

    in reply to: Supreme Theme Blog Search results page #229322

    Giri
    Expired Member
    Post count: 3155

    If you want to include pages too in search results, add ‘page’ in array

    Thanks

    in reply to: Supreme Theme Blog Search results page #229319

    Giri
    Expired Member
    Post count: 3155

    Roman, try this code on your child theme’s functions.php file

    Heads Up: This code is not properly tested. So make sure its not breaking GD search results by testing it properly.

    
    
    // search filter
    function roman_custom_search_filter($query) {
        if ( !$query->is_admin && $query->is_search) {
            $query->set('post_type', array('post') );
        }
        return $query;
    }
    add_filter( 'pre_get_posts', 'roman_custom_search_filter' );
Viewing 15 posts - 1,906 through 1,920 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount