Kiran
Forum Replies Created
-
AuthorPosts
-
Hi Fabricio,
Please check now it working fine after adding external JS “wp-job-manager-embeddable-job-widget/assets/js/embed.js” to GD Booster > JS/CSS Files Exclusion From Combines.
Let us know.
Thanks,
KiranHi There,
There is a hook “sd_detail_entry_author” available to filter author avatar. The code is available in file /supreme-directory/inc/geodirectory-compatibility.php. Please update supreme-directory theme or file geodirectory-compatibility.php with the latest development version “https://github.com/kprajapatii/supreme-directory”.
After updating use following code snippet to meet your requirement.
// Show listing image as a author thumbnail for non claimed listing. function gd_custom_sc_detail_author_avatar( $avatar ) { global $preview, $post; if ( defined( 'GEODIRCLAIM_VERSION' ) && empty( $preview ) && !empty( $post->ID ) ) { $duplicate_of = geodir_is_wpml() ? get_post_meta( (int)$post->ID, '_icl_lang_duplicate_of', true ) : NULL; $is_claimed = !$duplicate_of ? (int)geodir_get_post_meta( $post->ID, 'claimed', true ) : (int)geodir_get_post_meta( $duplicate_of, 'claimed', true ); if ( !$is_claimed ) { $default_image_src = SD_DEFAULT_FEATURED_IMAGE; if ( has_post_thumbnail() ) { $post_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'thumbnail' ); $post_image_src = !empty( $post_image[0] ) ? $post_image[0] : $default_image_src; } else { if ( isset( $post->default_category ) && $post->default_category ) { $default_cat = $post->default_category; } else { $default_cat = geodir_get_post_meta( $post->ID, 'default_category', true ); } $default_catimg = geodir_get_default_catimage( $default_cat, $post->post_type ); $post_image_src = !empty( $default_catimg['src'] ) ? $default_catimg['src'] : $default_image_src; } $avatar = '<img src="' . $post_image_src . '" height="100" width="100" />'; } } return $avatar; } add_filter( 'sd_detail_entry_author', 'gd_custom_sc_detail_author_avatar', 10, 1 );
Thanks,
KiranHi D.D
There are two parameters favorites_only & favorites_by_user available to filter out the favorites listings.
favorites_only – used for whether to show only listings favorited by user. Use favorites_only=true to filter only favorited listings.
favorites_by_user – used to filter the listings favorited by particular user. Use favorites_by_user=12 to filter favorited listings by user 12. Do not add favorites_by_user parameter to filter the favorited listing for current logged user.Example:
/wp-json/geodir/v1/places/?favorites_only=true – Shows the favorited place listings by current logged in user.
/wp-json/geodir/v1/places/?favorites_by_user=true&favorites_by_user=12 – Shows the favorited place listings by user ID 12.Thanks,
KiranThis reply has been marked as private.Hi Ron,
I have done some tests by using my own email addresses and i successfully received normal emails & bcc emails. Check screenshots in next reply.
So please try with another email addresses and let us know.Thanks,
KiranThanks for letting us know 🙂
Hi,
There is an JavaScript error on page: “Google Maps API error: DeletedApiProjectMapError https://developers.google.com/maps/documentation/javascript/error-messages#deleted-api-project-map-error”
Check this how to fix it: https://developers.google.com/maps/documentation/javascript/error-messages#deleted-api-project-map-error & http://stackoverflow.com/questions/38199452/google-maps-api-deletedapiprojectmaperror#answer-38203980
Let us know, how it goes.
Kiran
Hi,
Please try after clearing GD Booster cache.
If clearing GD Booster cache does not fix the problem then let us provide site admin & FTP login details so we can look into more.There is an JavaScript error on page: “Google Maps API error: DeletedApiProjectMapError https://developers.google.com/maps/documentation/javascript/error-messages#deleted-api-project-map-error”
Check this how to fix it: https://developers.google.com/maps/documentation/javascript/error-messages#deleted-api-project-map-error & http://stackoverflow.com/questions/38199452/google-maps-api-deletedapiprojectmaperror#answer-38203980
Kiran
@radioservices Please create your own topic and post admin credentials there as you are not owner of this topic.
Kiran
May 8, 2017 at 1:29 pm in reply to: importing listings R-T-L language to related English listings #377392Hi Yosef,
Hebrew characters also supported in GD import/export, but in your case seems there is an invalid character in CSV rows.
You can enable debugging by using WP_DEBUG in wp-config.php file to find particular row that contains invalid characters.Let us provide CSV file we have to look into CSV rows, also port your site admin credentials.
Thanks,
KiranHi Fabricio,
Checked page url that shown in screenshot but seems that page does not exists.
Please let us know how to recreate from our side.Thanks,
KiranMay 8, 2017 at 4:30 am in reply to: Multilocations SEO location & subtitle translation with Supreme #377348Thank you for letting us know
I am also not sure what was the problem! Just let us know if you face this problem in future.
Kiran
Hi Paul,
Thanks for raising this, we will look and fix if that was the problem.
Yes, you can add is_featured column in sample file and add values 0 or 1.
Also, you can do Export Listings > add/edit listings > Import Listings.The second option will be best, because it contains all the fields, so no need to add custom field columns.
Thanks,
KiranHi Tamara,
Thanks for providing info.
Now it don’t shows HTTP 500 error message, i have checked with successfully created free & paid package listings. I did not have any changes.
Please check & confirm from your side.
Thanks,
Kiran -
AuthorPosts