Kiran
Forum Replies Created
-
AuthorPosts
-
Hi,
You are using GDv1 and also depends on PHP version for errors. Yes no customer has reported similar issue on our forum.
Kiran
This reply has been marked as private.It means WC Extension loading Google library and it conflicts with GD Google Analytics plugin.
Thanks for letting us know.
Kiran
Hi coreyhammond,
In GDv2 we have implemented category & tags base slug because in GDv1 we seen issues of identify listing & category urls.
In GDv1 listing url and category url are almost same so rewrite urls shows incorrect page when category & listing slugs are same.Let us know.
Kiran
Hi Mark,
I looks like field name status conflicts with WordPress post save. Please try other field name like custom_status or opportunity_status etc.
Let us know.
Kiran
This reply has been marked as private.Hi Jan,
Snippet provided by me is working fine with Smush Pro plugin activated.
Issue mentioned in http://prntscr.com/pgcd20 is coming from Smush Pro plugin. It is not related to my snippet. I checked without Smush Pro plugin and it worked.
You can check now i have removed my snippet and now images are disappear again and issue you mentioned in http://prntscr.com/pgcd20 is still there.
Regards,
KiranHi Richard,
It looks like there is conflict with plugin. Try to disable non GeoDirectory plugins one by one to find which plugin conflicts.
We can’t do this from our side until we get access to file manager via FTP.
If possible please provide us cpanel credentials.
Kiran
Hi Rudi,
Use following snippet to overwrite no posts page content.
/** * Astra + Elementor Pro overwrite no results page. * */ function gd_snippet_search_no_posts_page() { if ( ! is_admin() && empty( get_the_ID() ) && geodir_is_page( 'search' ) ) { $_GET['theme_template_id'] = 52848; // REPLACE ELEMENTOR SEARCH PAGE TEMPLATE ID FROM TEMPLATES > ALL. } } add_action( 'wp', 'gd_snippet_search_no_posts_page', -1 );Kiran
October 8, 2019 at 8:06 am in reply to: CPTs repeating on listings pages with random sorting #512074Hi Mike,
If you need random order within same package id then use following PHP snippet. It will first use package id sorting and then random.
/** * Set random sorting. */ function gd_snippet_191008_random_sorting( $orderby, $sort_by, $table ) { if ( $sort_by == 'package_id_asc' || $sort_by == 'package_id_desc' ) { $orderby .= ", RAND()"; } return $orderby; } add_filter( 'geodir_posts_order_by_sort', 'gd_snippet_191008_random_sorting', 1000, 3 );Kiran
October 8, 2019 at 6:50 am in reply to: CPTs repeating on listings pages with random sorting #512069Hi Mike,
It already doing that. It sorts first with package id and then applies 2nd level sorting within listing with same package id.
Example:
Listing A has package id = 1 & post date = 2019-10-07
Listing B has package id = 3 & post date = 2019-10-05
Listing C has package id = 1 & post date = 2019-10-02
Listing D has package id = 2 & post date = 2019-09-30
Listing E has package id = 6 & post date = 2019-09-30
Listing F has package id = 6 & post date = 2019-10-01It will sort results in following order:
Listing F
Listing E
Listing B
Listing D
Listing A
Listing CFor Random(post_status) it will use random order.
Let us know.
Kiran
October 8, 2019 at 6:13 am in reply to: CPTs repeating on listings pages with random sorting #512066Hi Mike,
I checked and found SQL query results changes the listings order among same package id.
I have added “Post Date” as a second level sorting under package id at Platforms > Settings > Sorting > Package Id > Post Date.
Please check and let us know.
Thanks,
KiranThis reply has been marked as private.Hi Eileen,
Is there a way of removing the last one as this is not really needed.
I have removed “Is Featured?: Yes” at the bottom after qualifications.I have removed it from Therapies > Custom Fields > Is Featured > Show in extra output location > Remove “Listings page”
I have added task to allow admin users to manage featured even without package.
Thanks,
KiranHi Sue,
There was a PHP error in plugin GD Business Hours plugin in file /plugins/gd-business-hours/gd-business-hours.php.
I have fixed those PHP erros. If you see more errors in this plugin then contact plugin developer for more help.
Regards,
Kiran -
AuthorPosts