Kiran
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.July 17, 2019 at 11:21 am in reply to: Category Icons and Links Do Not Match on Category Bar ShortCode #498146
Hello Eric,
That CSS is added via theme from Divi > Theme Options > Theme Options > Custom CSS.
I have update css that causing issue. Please try now after clearing your browser cache.
Regards,
KiranHello There,
Admin credentials has not full admin access so not able to check some settings.
I suspects that theme is using old version(GDv1) of search template(listing-filter-form.php).
Please check file /wp-content/YOUR-THEME/geodirectory/listing-filter-form.php and compare it to recent one https://github.com/AyeCode/geodirectory/blob/master/templates/listing-filter-form.php#L30If you found it old then update to recent one or provide FTP credentials so we can fix it for you.
Regards,
KiranHello Amy,
I checked and found that post slug is generated during post creation by WordPress. Using duplicate slug for location & post may trouble for WordPress rewrite redirect. That’s why it redirect to the post whn it finds ‘newquay’ slug.
We have already tool to fix duplicate slugs within cities, but post slugs are handled by WordPress. So only easy fix to prevent this issue is to update post slug from ‘newquay’ to ‘newquay-1’ or something else.
Let us know.
Best Regards,
KiranChanges are included in core plugin, so don’t worry about future updates.
In case you need patch: https://github.com/AyeCode/geodirectory/pull/861/commits/460363ef0c1aabb3195d09e2ae9532fca4f4fd22
Kiran
Hello Georg,
The file /wp-content/plugins/geodirectory/vendor/ayecode/wp-country-database/wp-country-database.php was missing in plugin.
I have uploaded it and now error disappeared.
Kiran
Hi Vivek,
I have applied patch on your site to show default category image for post.
Here is are import image/icon for category is working.
= New Category
– If full image path is used then it will download/upload that image via image uploader and set as a category image/icon(if image is valid then no require to upload image at the end of import).
– If relative path or image name it requires to upload image at the end of import.= Edit Category
– It compares basename of existing category image/icon from database and from csv. If basename are same then it will not update/upload image.
– If full image path is used then it will download/upload that image via image uploader and set as a category image/icon(if image is valid then no require to upload image at the end of import).
– If relative path or image name it requires to upload image at the end of import.Please check and let us know.
Kiran
This reply has been marked as private.This reply has been marked as private.Hello Tilen,
Try following snippet to filter map controls for GDv2 maps.
/* * Position map controls. */ function gd_snippet_190716_map_params( $params, $map_args ) { $map_type = $params['map_type']; $map_canvas = $params['map_canvas']; //if ( $map_canvas == 'gd_map_canvas_directory' ) { /* Available positions: TOP, TOP_LEFT, TOP_RIGHT, BOTTOM, BOTTOM_LEFT, BOTTOM_RIGHT, LEFT, RIGHT */ $params['zoomControlOptions']['position'] = 'RIGHT_CENTER'; // Zoom control $params['mapTypeControlOptions']['position'] = 'RIGHT_BOTTOM'; // Map Type control $params['streetViewControlOptions']['position'] = 'RIGHT_CENTER'; // Street view control $params['navigationControlOptions']['position'] = 'RIGHT_BOTTOM'; // Navigation control //} return $params; } add_filter( 'geodir_map_params', 'gd_snippet_190716_map_params', 20, 2 );Thanks,
KiranHello Neil,
1. add url link to avatar
Avatar is rendered via WordPress function. Which link url you want to add to avatar?
—
2. Add a line stating which language the review was written in
Not possible without code customization.
—
3. Add date when place was visited
Clarify with more details where you want to add date.
—
4. Add date when the review was written
Try following snippet to display date.
/** * Show review date. */ function gd_snippet_190716_review_time() { ?> <script type="text/javascript">/* <![CDATA[ */ jQuery(function($){ $('span.geodir-review-time').each(function(){ $title = $(this).prop('title'); $date = $(this).text(); if ($title && $date) { $(this).prop('title', $date); $(this).text($title); } }); }); /* ]]> */</script> <?php } add_action( 'wp_head', 'gd_snippet_190716_review_time' );—
In Geodirectory V1 I achieved this by editing the comments_functions.php file which I suppose I could also do in Version 2
But is there a better way of achieving this?You can achieve by doing customization with the use of hooks but don’t modify any core file, otherwise it will break functionality.
Regards,
KiranHello Spencer,
This has been fixed and it will be available in next release of GeoDirectory & Location Manager plugins.
Regards,
KiranPlease try now after clearing your browser cache.
Kiran
Hi Neil,
Please check and let u know.
Kiran
-
AuthorPosts