Kor
Forum Replies Created
-
AuthorPosts
-
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 );
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!
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!
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!
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!
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.
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!
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/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!
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!
Hi Craig,
Thanks again for notifying us. I’ll share this with the team.
Thanks!
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!
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!
Hi Kuba,
For translating Addons, please refer to this section of the documentation https://wpgeodirectory.com/docs/translating-addons/
Thanks!
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!
-
AuthorPosts