Paolo

Forum Replies Created

Viewing 15 posts - 23,836 through 23,850 (of 27,715 total)
  • Author
    Posts
  • in reply to: Language Customization #31932

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    if you want to modify the code of a plugin, you are expected to at least know the basics. the scope of this forum isn’t to provide ready made code to blindly copy and paste for your website customizations.

    1) In this post I explain how to modify the add listing template, which is the basic method to do all this type of changes:

    This part :

    In your theme functions.php you can add this:

    should clear where the code is to be added.

    2) In this post it is clearly explained how to remove 1 item from the sidebar, in this case the share buttons.

    3) In this post I explain how to remove the addthis part instead of the social sharing buttons.

    All the information needed to do what you need to do are there.

    Thank you

    in reply to: Getting rid of the ' ' in the All Places in 'ARea' #31929

    Paolo
    Site Admin
    Post count: 31211

    Paolo
    Site Admin
    Post count: 31211

    please let us know if we can set this as resolved.

    Thx

    in reply to: search not working correctly #31926

    Paolo
    Site Admin
    Post count: 31211

    Please update both GD and all addons, retest and let us know.

    Thx

    in reply to: Geolocation and Near Me Loop Issue #31924

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    this is not solved yet, because as of now we were unable to recreate it in our websites and we also never saw it in your website.

    We would need more details. Possibly find the exact steps that would allow us to see this happening.

    I’ve flagged both topics for developers to look into it, but please if you have more information don’t hesitate to share them.

    THx

    in reply to: Automatically disabling map location on inaccurate addresses #31923

    Paolo
    Site Admin
    Post count: 31211

    Hi,
    i don’t think there is an easy solution for this.

    You can disable the map in listing page per CPT, Price or category. I’ll let you decide what’s best.

    Here you can find the instructions to hide a tab for a particular CPT only. https://wpgeodirectory.com/support/topic/hide-tabs-in-custom-post-type-2/page/2/#post-25090

    and here how to modify that for price package instead of CPT.
    https://wpgeodirectory.com/support/topic/moving-places-between-different-cpts/#post-26121

    For category you’d have to change the conditional check to:

    if ( in_category( 'no address' )) { //funtion to rearrange tabs here }

    In that case you would have to use the category “no address”.

    One problem will remain, which is the map in the listing page for that category. I think in that case that you could use a conditional widget plugin and show the map for all categories except that one.

    Let us know how you went.

    Thx

    in reply to: Language Customization #31913

    Paolo
    Site Admin
    Post count: 31211

    Please see this, it should point you in the right direction : https://wpgeodirectory.com/support/topic/sharethis-plugin/#post-7306

    Make sure not to follow what that user did though, editing core file is a big mistake. Please follow the example I provide.

    Thx

    in reply to: Missing Search Filters #31910

    Paolo
    Site Admin
    Post count: 31211

    BTW, I see only 11 filters, not 15…

    in reply to: Missing Search Filters #31909

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    There was a function checking for the word ‘tag’ in the html variable name.

    It was not doing it correctly and it was actually useless. It was a left over from the very 1st draft of the plugin.

    We remove the check and it’s working as it should now.

    Please check and let us know.

    Thanks for allowing us to spot the bug and fix it.

    in reply to: Google Analytics Error #31907

    Paolo
    Site Admin
    Post count: 31211

    Hi,
    that’s not an error, but a warning and it shouldn’t be disaplyed in your front end.

    Please try adding the code snippet below in your child theme’s functions.php file.

    error_reporting(E_ERROR);

    That should tell PHP to log warnings in error logs and not disaply them in front end.

    Thanks

    in reply to: Date Format for events #31906

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I’ve double checked and this is an oversight. I’ve added a task for developers to fix asap.

    Thank you for spotting it.

    in reply to: Custom Fields #31897

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    it is feasible to display custom fields in any tab.

    However search will not be affected. Search looks though title and content, but in the database, not in the front end, so moving things in the front end will not change anything.

    What you need to change in that case are the search queries, but that is extremely complicated and we won’t be able to offer support for that.

    To move a fieldset in the profile tab, this is how to proceed:

    Add the function below to your active theme functions.php and replace gd_tab_3 with the correct tab index which is orginally displaying the fieldset.

    
    
    add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend_profile') ;
    
    function geodir_detail_page_tab_list_extend_profile($tab_array)
    { global $post;
    // here is where we check the tab we want has info and then assign it to a global $post value.
    // you would change the 'gd_tab_3' to your tab key.
    if(isset($tab_array['gd_tab_3']['tab_content']) && $tab_array['gd_tab_3']['tab_content']){
    $post->my_profile_extend = $tab_array['gd_tab_3']['tab_content']; // assign the content to global value
    $tab_array['gd_tab_3']['is_display']= false;// don't display the tab 
    }
    
    // here we call a function that will get the global value and echo it.
    add_action('geodir_after_description_on_listing_detail','gd_extra_profile_tab_info');
    
    return $tab_array;
    }
    
    // function that will get the global value and echo it.
    function gd_extra_profile_tab_info(){
    global $post;
    if(isset($post->my_profile_extend) && $post->my_profile_extend){echo $post->my_profile_extend;}
    }
    

    To find out how to find the correct tab index, you can do a print_r to get the key, still in functions.php add this and it will display all tab keys.

    function geodir_detail_page_tab_list_extend_profile($tab_array)
    {
    print_r($tab_array);
    }

    Let us know how you went.

    Thanks,

    in reply to: Missing Search Filters #31891

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    we are having trouble accessing via FTP.

    It gets stuck at retrieving the folders index, than throws error:

    501 Server cannot accept argument.

    Could you please verify them and possibly also provide phpmuadmin/cpanel access? We might need to check your db too.

    Thx

    in reply to: Need Developer #31890

    Paolo
    Site Admin
    Post count: 31211

    HI,

    I’d suggest to post the job offer on other freelancer websites too.

    It seems like all freelance developers are busy with other customer’s project at the moment.

    Thank you

    in reply to: Missing Search Filters #31889

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    looking into it again now. We’ll let you know asap.

    thx for your patience

Viewing 15 posts - 23,836 through 23,850 (of 27,715 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount