Directory Very slow since transistion

This topic contains 47 replies, has 6 voices, and was last updated by  Jonathan 6 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #407132

    broski
    Expired Member
    Post count: 61

    HI,

    Thank you for all the assistance solving the problem with the website.

    I am just following up on two other points.

    One is that listings are not downgrading like they should once they expire.
    i.e Our Primary Plus listing should downgrade to a basic FREE listing once it expires and non of them do. they expire and still enjoy all the same features as per the primary plus listing instead of downgrading and those features not appearing on their listing anymore.

    The other problem is that my paying customers are not popping up first when you search category items. for example if you search Kitchens, the free listings pop up first and the paying Meklo customer only pops up on the second page. You mentioned last time that there is a simple script that can be added to the site. Can you elaborate on this please.
    You also mentioned that I can make clients featured this should help boost them a little but not for certain, I tried it and making them featured does not help at all.

    Thanking you in advance and kind regards

    Broski

    #407169

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please provide wp-admin and FTP and we will look at point 1.

    For point 2. when searching the results are ordered by relivence, featured only affects it very slightly.

    Stiofan

    #407322

    broski
    Expired Member
    Post count: 61
    This reply has been marked as private.
    #407326

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #407333

    broski
    Expired Member
    Post count: 61
    This reply has been marked as private.
    #407378

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #407574

    broski
    Expired Member
    Post count: 61
    This reply has been marked as private.
    #407588

    broski
    Expired Member
    Post count: 61
    This reply has been marked as private.
    #407632

    Alex Rollin
    Moderator
    Post count: 27815
    #407634

    broski
    Expired Member
    Post count: 61

    Will do,

    can you direct me to someone that can help with the search problem I am having, It is very quite important to me to be able to allow paying customers listings to take priority over non paying customers when categories are being searched.

    Thank you and kind regards

    Broski

    #407637

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This likely wont work when locations i used as it only orders by locations in that case.

    (not tested)
    Just replace the “50” with a number to give things a higher “weight” or lower weight.

    
    
    add_filter('geodir_posts_order_by_sort','_my_search_feature_bump',10);
    function _my_search_feature_bump($orderby){
    
        str_replace("gd_featured * 5","gd_featured * 50",$orderby);
    
        return $orderby;
    }

    Stiofan

    #407696

    broski
    Expired Member
    Post count: 61

    Thank you, Where do I put this code?

    #407699

    Kiran
    Moderator
    Post count: 7069

    Hi,

    You can execute this code either putting in child theme functions.php or via any snippet plugin.
    For more info about using code snippet, please check “Code Snippets” section at https://wpgeodirectory.com/docs/useful-plugins/

    Kiran

    #407701

    Jonathan
    Lifetime Member
    Post count: 79

    Hello Broski:

    You would add this code to your themes functions.php file. See documentation that explains it a bit here: https://wpgeodirectory.com/docs/understanding-hooks-actions-and-filters/

    NOTE: If you are using a theme like Divi then you should create a CHILD theme and so your parent theme can upgrade without losing your customizations.

    You can always search: https://geodirectoryexperts.com for GD experts. I plan on adding myself to the list as soon as our initial project is launched.

    I learned something myself, I thought display order in Prices was for the listing (NOPE) it is just for the Display of the Package itself and what order it is displayed in. (Not as cool a feature as I thought that sort order was fore).

    Sort Listings:

    Paolo said there will be a blog article: https://wpgeodirectory.com/support/topic/listing-sort-order/page/2/ —> I cant seem to find it.

    Guust has some good points to ensure Featured listings appear first: https://wpgeodirectory.com/support/topic/how-to-sort-by-category-with-featured-listings-on-top/

    Advanced Solution if you want a custom sort order beyond just Featured (not tested): https://wpgeodirectory.com/docs/core-place-settings/#sorting

    Create a custom number field, Make it admin only so that it is not editable by the user, then include that field in sort options and make it the default sort option and viola you have a custom field you can sort listings by.

    I have checked the box to be notified of replies so feel free to reply if you have further questions. I hope I have provided some value to you regarding your listing search results sorting options.

    #407703

    broski
    Expired Member
    Post count: 61

    add_filter(‘geodir_posts_order_by_sort’,’_my_search_feature_bump’,10);
    function _my_search_feature_bump($orderby){

    str_replace(“gd_featured * 5″,”gd_featured * 50”,$orderby);

    return $orderby;
    }

    Thank you, Will try using the code snippet.
    I just want to understand what I must change the number 50 to?
    Is a larger number count for more weight or a lower number?
    then also to which listings will it talk to, only the listings that I make featured?
    So I must go make all my paying customers featured?

Viewing 15 posts - 31 through 45 (of 48 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket