Kor

Forum Replies Created

Viewing 15 posts - 14,926 through 14,940 (of 15,414 total)
  • Author
    Posts
  • in reply to: Recurring Events and Event Widget #230536

    Kor
    Moderator
    Post count: 16516

    Hi there,

    I’ve just checked with our developer and a workaround for this would be to add the filter below to your functions.php file. However, this will limit all recurring events to display only a single event. I’d suggest that you give it a try and see if it’s what you’re looking for. Let us know how it goes.

    
    
    function geodir_event_single_recurring( $groupby, $post_type ) {
        if ( $post_type == 'gd_event' ) {
            global $wpdb;
            $groupby = " GROUP BY $wpdb->posts.ID ";
        }
        
        return $groupby;
    }
    add_filter('geodir_filter_widget_listings_groupby', 'geodir_event_single_recurring', 100, 2 );

    you can also do the same for search results with this snippet:

    
    
    /**
     * Group the recurring events in search results.
     */
    function gd_custom_group_recurring_events( $groupby, $wp_query ) {
        global $wpdb;
        
        if ( !empty( $_REQUEST['stype'] ) && $_REQUEST['stype'] == 'gd_event' && $wp_query->is_main_query() && geodir_is_page( 'search' ) ) {
            $groupby = $wpdb->posts . ".ID";
        }
        
        return $groupby;
    }
    add_filter( 'posts_groupby', 'gd_custom_group_recurring_events', 100, 2 );
    in reply to: Favourites – Is this correct? #230533

    Kor
    Moderator
    Post count: 16516

    Hi jshawcross,

    Do you think you can share temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    Thanks!

    in reply to: When sign up doesnt take to add listing page? #230531

    Kor
    Moderator
    Post count: 16516

    Hi jbissitt,

    Do you think you can share temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    Thanks!

    in reply to: Address #230522

    Kor
    Moderator
    Post count: 16516

    Hi mld1000,

    You can always deactivate the fields by navigating to GD > Place Settings > Custom Fields > Field:Address > Switch “Is Active” to off. Let us know if it’s what you’re looking for.

    Thanks!

    in reply to: '1' added after sub category? #230520

    Kor
    Moderator
    Post count: 16516

    Hi mstopa,

    Do you think you can share temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    Thanks!

    in reply to: Seach bar #230474

    Kor
    Moderator
    Post count: 16516

    Hi Latoya,

    If you use the GD search form, it will only display GD listings. Do you mind sharing the URL of the site in question so we can take a look? You can use the private reply option below.

    in reply to: Issue w Advanced Custom Fields and GD #230456

    Kor
    Moderator
    Post count: 16516

    Hi lminternet,

    We’re aiming to be compatible with as many plugins/themes as possible so could you tell us a little bit more about the problem that you’re having? Or perhaps, do you mind sharing a screenshot of the issue from your end?

    Thanks!

    in reply to: Listings by Rating not working #230451

    Kor
    Moderator
    Post count: 16516

    Hi Craig,

    I’ve just checked with my developer and he mentioned that if you want to display the highest rating first, you’ll have to set the “Sorting Options” to “descending” and “set as default sort” http://prntscr.com/bv4ncj . However, if a listing is not rated then it will sort the listing accordingly as follow.

    #1 “is_featured”

    #2 “post_date”

    #3 “post_title”

    If you wish to customize it, that would require some custom work and here’s a reference
    https://wpgeodirectory.com/codex/codex/geodirectory_functions/geodir_posts_orderby/
    https://wpgeodirectory.com/codex/codex/geodirectory_filters/geodir_posts_order_by_sort/

    in reply to: Listings by Rating not working #230448

    Kor
    Moderator
    Post count: 16516

    Hi Craig,

    Do you think you can share temp admin access to your site so we can take a better look at the sorting settings? You can post the details here using the private reply option below. I’m referring to this one Admin -> GeoDirectory -> Place (CPT) Settings -> Sorting Options

    Thanks!

    in reply to: Change PLACE TITLE label on Add Listing Page #230167

    Kor
    Moderator
    Post count: 16516

    Hi Kathy,

    I’d like you to refer to this reply and see if it helps. https://wpgeodirectory.com/support/topic/changing-labels-on-add-listing-page/#post-218159 .Let us know how it goes.

    Thanks!

    in reply to: Little errors in GeoD and web site #229948

    Kor
    Moderator
    Post count: 16516

    Hi Craig,

    Thanks again for notifying us. I’ll share this with the team.

    Thanks!

    in reply to: Supreme Home Page #229942

    Kor
    Moderator
    Post count: 16516

    Hi Wendy,

    To customize the front page, you’ll need to customize code in functions.php . Do you mind sharing a screenshot of what you are trying to achieve?

    Thanks!

    in reply to: Advertisements Embeded In Map? Help #229785

    Kor
    Moderator
    Post count: 16516

    Hi Brayden,

    Could you please replace the “Marker Icon” in GD > Design > Map as shown in this screenshot? http://prntscr.com/bur0da . Let us know how it goes.

    Thanks!

    in reply to: Translation and Places name #229708

    Kor
    Moderator
    Post count: 16516

    Hi Kuba,

    For translating Addons, please refer to this section of the documentation https://wpgeodirectory.com/docs/translating-addons/

    Thanks!

    in reply to: I WANT SCHOOLS TO BE SHOWN ON THE MAP #229707

    Kor
    Moderator
    Post count: 16516

    Hi olufunminiyi Ogunmoye,

    I’ve just checked your Website again and did you somehow managed to fix it? I’m able to see the map of “Nigeria” on the homepage.

    Thanks!

Viewing 15 posts - 14,926 through 14,940 (of 15,414 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount