Kiran
Forum Replies Created
-
AuthorPosts
-
Hello Jon,
This has been fixed and it will be in next release.
Patch available at here: https://github.com/AyeCode/geodirectory/commit/dc1a473e455bc5ef995bf3d8d676f83a32c5bcfa
Thanks for spotting.
Regards,
KiranHi Greg,
Use following PHP snippet to hide/disable CPT from map.
/** * Remove map post types. */ function gd_snippet_260619_map_post_types( $post_types = array() ) { if ( is_front_page() ) { if ( isset( $post_types['gd_accommodation'] ) ) { unset( $post_types['gd_accommodation'] ); // Disable gd_accommodation } } elseif ( is_page() && is_singular() ) { if ( isset( $post_types['gd_destination'] ) ) { unset( $post_types['gd_destination'] ); // Disable gd_destination } } return $post_types; } add_filter( 'geodir_map_post_types', 'gd_snippet_260619_map_post_types', 10, 1 );Kiran
Hello alex5252,
Please check this https://github.com/AyeCode/geodirectory/blob/master/templates/loop/pagination.php#L54
This template file contains all the pagination related code.
Kiran
Hi Kimberly,
Please check and let us know.
There was conflict with field name “type”.
Thanks,
Hello,
3. The “Downgrade to” setting only shows the “Expire” option – it is not showing/allowing me to select the free package upon expiry of the paid package?
Recurring packages are not allowed in “Downgrade to” list. Recurring package can be assigned to listing via add listing > checkout process only, because recurring listing status handled via payment gateway subscription based notifications.
Kiran
Hello,
I have applied patch on your site.
Please check and let us know.
Kiran
Hi José,
We are checking to fix sidebar issue for Avada theme.
Please provide FTP credentials so we can apply patch on your site.
Kiran
Hi Alison,
I checked into your site and found following things.
– There is a JavaScript error due to conflict of select2 jQuery plugin between GeoDirectory & Traveler theme. This JavaScript error breaks rest of JavaScript functionality on the page.
“Traveler” theme overwrites the select2 JavaScript included by GeoDirectory plugin. GeoDirectory plugin includes full version(with additional features) of select2 where as “Traveler” theme includes only basic version(with basic features) of select2. “Traveler” theme uses older select2 library version of 3.5.2 and GeoDirectory uses select2 v4.0.5.Please ask “Traveler” theme developer to update select2 JavaScript file in their theme and also ask them to use full version of select2.
– Update theme Traveler to recent because it is too old(might be developer have updated select2 library in recent version).
– Your site is running with PHP version of 5.5.38, it is recommended a minimum PHP version of 5.6.
– Update WordPress core and some outdated plugins.Let us know how it goes so we can assist you more.
Best Regards,
KiranHello MOUYSSET,
I have checked .po files under /languages/ directory and found that .po files are too old. It also missing “X-Poedit-KeywordsList” parameter in .po file.
I have added those keywords(X-Poedit-KeywordsList) and re-scan & saved .po file.
See for more details: https://wpgeodirectory.com/support/topic/some-translations-dont-work-2/#post-484624Please check and let us know.
Regards,
KiranHello Emlyn,
By default WP Query returns 25 results on first page. You need to add posts_per_page parameter in query args.
Try following args.
$args = array( 'post_type' => 'gd_place', 'post_status'=>'publish', 'posts_per_page' => -1 );Regards,
KiranHello,
Post distance only visible on search pages when searched by location. [gd_post_distance] should be in archive item template and in a loop. Same like post image, post title etc.
Kiran
This reply has been marked as private.Hello,
We have already this feature available that shows distance between listing address and searched location. See https://ppldb.com/v2/searchx/?geodir_search=1&stype=gd_place&sselect_field_search%5B%5D=&spost_category%5B%5D=9&s=+&snear=Philadelphia&sort_by=&sgeo_lat=39.9525839&sgeo_lon=-75.16522150000003
This distance is displayed via shortcode [gd_post_distance]. Make sure you have not removed it from GD Archive Item page template, or have not disabled via customization.
Kiran
This reply has been marked as private.Hello Tracy,
If you look up MI for Michigan instead of Michigan it has not shown as many listings, Is there a way for us to Short name instead of the long form and state abbreviations?
Searching by just “MI” it is difficult to find correct address. But if directory is limited to country/region then you can set near address at GeoDirectory > Settings > General > Search > Search near additional. If you set Search near additional to “United States” the near field will search results within United States. Ex: searching for “MI” will find listings near to Michigan.
—
Can we add the exact mileage/distance per each listing? So, it would have 10 miles or 200 miles next to their name per search?
Do you want to search within exact mileage/distance? If so please check this documentation: https://wpgeodirectory.com/docs-v2/places/search/#search-by-distance
If this is not what you asking then clarify with more details.Best Regards,
Kiran -
AuthorPosts