Kiran
Forum Replies Created
-
AuthorPosts
-
Hi James,
The problem has been fixed and will be available in next update of Whoop theme.
If you want to apply patch on your site now, then let us provide full access to file edit. Because with current FTP details the file can’t be edited as they are not writable. Even admin theme editor shows “You need to make this file writable before you can save your changes.”
Thanks,
KiranThank you for letting us know 🙂
Hi Wendy,
Please check now, the directory page working fine. Problem your theme was using older template file (themes/lfvbid-1/geodirectory/listing-listview.php). I have fixed updated changes there.
Let us know.
Thanks,
KiranHi Rita,
> can you detail the changes you did in location manager shortcode in case I have to reproduce it ?
< Changes will be included in next update of Location Manager plugin too, so don’t worry.> And for the supreme directory css changes, will I have to reproduce it on other websites or is it a theme update ?
< This changes also will be in next update of supreme directory. If you are currently using supreme directory on other site then you can just do change in css as here https://github.com/kprajapatii/supreme-directory/commit/658766fcc38e44db6d94353ce73810ef1b0b826a#diff-da232d78aa810382f2dcdceae308ff8eR405 .> Is it possible to use font awesome or any other solution to display an icon next to the title ? I have tried [icon name=”coffee”], <i class=”icon icon-coffee”></i> or “” without good result.
<
Try this code snippet to add icon before shortcode widget titlefunction gd_custom_ppv_sc_widget_title( $title ) { $match_title = 'Offers'; // Your current title. $icon_element = '<i class="fa fa-hand-o-right" aria-hidden="true"></i>'; // You icon element. if ( $title == __( $match_title, 'geodirectory' ) ) { $title = $icon_element . ' ' . $title; } return $title; } add_filter( 'widget_title', 'gd_custom_ppv_sc_widget_title', 10, 1 );
Thanks,
KiranThis reply has been marked as private.May 11, 2017 at 7:56 am in reply to: Comments/reviews not shown (for certain listings) and wrong counter #377834Hi,
GD reviews are stored in DB table “wp_geodir_post_review” & it is linked to table “wp_comments”.
See attachments that explains how review is linked between “wp_geodir_post_review” & “wp_comments”.
– To make comments as a reviews you have to create entries for those comments into “wp_geodir_post_review” table. They are linked to each other via comment_id column.
– wp_comments > comment_parent = 0 are only allowed as a review
– Save NULL value for post_city, post_region, post_country, post_latitude. post_longitude in “wp_geodir_post_review” table. They are auto merged after running GT tool.
– After all entries created in “wp_geodir_post_review” table run tool from GeoDirectory > GD Tools > Ratings check2) point is possible bu tit require some code customization.
Kiran
Hi Emeric,
There are only 8 categories available. See https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_placecategory
The default value for no. of results to be display on page is 10, that’s why it not showing results on 2nd page.
Try to add per_page=5
1st page – https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_placecategory/?per_page=5
2nd page: https://wpgeo.directory/rest-api/wp-json/geodir/v1/gd_placecategory/?per_page=5&page=2Thanks,
KiranHi Rita,
Let me know on which page has this problem.
I have checked on page http://leguidedesvoyageurs.ma/location/maroc-1/ and there it is working fine. Please check attachment.
If you talking same page then try again after clearing browser cache.
Kiran
May 11, 2017 at 4:58 am in reply to: Comments/reviews not shown (for certain listings) and wrong counter #377825Hi There,
The comments without rating stars are not counted in reviews count. The GD reviews stored are stored in reviews table with star ratings.
For https://www.baltazar.it/locali/italia/emilia-romagna/cervia/nonsolosteria-lungomare-24-cervia/ has no rating star so it shown a comment and doesn’t counted in review.
Check this listing https://www.baltazar.it/locali/italia/emilia-romagna/solarolo/pizzeria-del-viale-2-solarolo/
It has two reviews with stars and one comment in reply of review.P.S. There is an option in WP Settings > Discussion > Altre impostazioni commenti > Untick “Abilita i commenti nidificati”. This will display all the comments with reviews without threaded structure.
It this option is ticked then it will display comments in threaded structure (child comments under it’s parent comment).Let us know.
Thanks,
KiranHi Rita,
I am talking about to check widget http://leguidedesvoyageurs.ma/location/maroc-1/
The design layout fixed by few css changes in location manager plugin css. This changes has been updated on your site too and it will be also in next release.
> But I need to use the shortcode in my situations. Can you tell me if the popular locations shortcode displays the title in your install (using it on location SEO description), or if I need to do something ?
<
I have minor change in style.css file of supreme directory change to display shortcode title within widget. See my change https://github.com/kprajapatii/supreme-directory/commit/658766fcc38e44db6d94353ce73810ef1b0b826a#diff-da232d78aa810382f2dcdceae308ff8eR405
This change has been update on your site too.This fix will work for all shortcodes used in location description widget.
I can’t use the [gd_listings] shortcode instead because it doesn’t have an option to add a “show all” button as the [gd_popular_post_view] does. May be it is possible to add it ?
< You can use [gd_popular_post_view]. If using [gd_popular_post_view] have any problem, then let us know.Let us know.
Hi Rita,
Please check and let us know.
Thanks,
KiranThis reply has been marked as private.Hi Peer,
I looked into database and found that some values are stored in wrong columns in DB table wpuo_4_geodir_post_locations & wpuo_4_geodir_gd_place_detail. See attachments in next reply.
There are wrong values stored for post_latitude & post_longitude in wpuo_4_geodir_gd_place_detail, one of listing has post_latitude = 41664948 & post_longitude = -883643. It should be like 41.664948 & -8.83643
Thats why it not showing listings on map.
I have corrected post_latitude & post_longitude for those 4 listings, and now check map working fine.You have to first fix the values in DB table wpuo_4_geodir_post_locations & wpuo_4_geodir_gd_place_detail. To fix this export CSV file for Listings & Locations > Correct the data in CSV files > delete previous data from tables > Import CSV files for Listings & Locations again.
Let us know.
Thanks,
KiranThanks for letting us know 🙂
May 10, 2017 at 8:59 am in reply to: Limit Comments/Reviews per page not works (using Supreme) #377710Thank you for letting us know 🙂
-
AuthorPosts