Kiran
Forum Replies Created
-
AuthorPosts
-
If I am reading your response correctly, the update will address the issue of the preview not displaying the feature image, correct?
It shows feature image in the listing preview. In GeoDirectory it only changed the way of displaying preview of the listing.
—
What about the other issue I raised: users are not able to tell if the failure of the listing to advance to the Review Listing screen is due to incomplete url. There is a popup notification but it disappears after some time. Is it possible for this error to function like other errors — can it appear in red rather than the popup notification.
In GeoDirectory v2 it shows error at the bottom each relevant field.
We recommend you to try GeoDirectory v2 on your test site to know more how it working.
Thanks,
KiranHello Derek,
Try following code to upload image under the listing.
if ( ! function_exists( 'wp_generate_attachment_metadata' ) ) { include_once( ABSPATH . 'wp-admin/includes/image.php' ); } if ( ! function_exists( 'media_buttons' ) ) { include( ABSPATH . 'wp-admin/includes/media.php' ); } $wp_upload_dir = wp_upload_dir(); $post_id = 542; $field_name = 'post_images'; $image_url = 'https://mysite.com/wp-content/uploads/my-image.jpg'; $title = 'Image Title'; $caption = 'image-caption'; $order = 0; // 0 for featured image & 1 for normal attachment $attachment = GeoDir_Media::insert_attachment( $post_id, $field_name, $image_url, $title, $caption, $order ); if ( is_wp_error( $attachment ) ) { $error = $attachment->get_error_message(); } else { geodir_save_post_meta( $post_id, 'featured_image', $attachment['file'] ); $image = $wp_upload_dir['baseurl'] . $attachment['file']; }Regards,
KiranApril 11, 2019 at 10:15 am in reply to: Meta title in the search result is showing wrong location #480056Hello Ann,
Please check now. You have used wrong variable %%_searchregion%% instead of %%search_near%%.
I have corrected it at GeoDirectory > Settings > Titles & Meta > Search page.
Let us know.
Regards,
KiranThis reply has been marked as private.Hello Ricardo,
Please check now.
All fields were disabled except featured field. I have enabled from CPT(Lugares) > Settings > Custom Fields.
Regards,
KiranHello John,
Business Hours allows to set timezone offset for each listing and but by default it uses the default location timezone offset.
If you have an issue then provide us site link and admin credentials in a private reply.
Regards,
KiranHello Jose,
Photos are already there, but one of you site conflicts and hids the photos.
Try to add following css to prevent conflict.
#geodir-post-gallery [title]::after { position: inherit; padding: 0; }Kiran
Hello,
Hook ‘geodir_login_url’ is used to set login page.
There may be plugin available what you want to achieve. See https://wordpress.org/plugins/wp-force-login/
Kiran
Hello Xaper,
From which page you want to redirect to /wp-login/ page. I checked in login popup from menu and links ahs already /wp-login/.
Let us know.
Kiran
Hello,
1. Please try following code snippet to prevent conflict with VideoPro.
/** * Fix conflict with VideoPro - Shortcodes. */ function gd_snippet_fix_videopro_conflict() { if ( ! is_admin() ) { return; } if ( ! empty( $_REQUEST['post_type'] ) && geodir_is_gd_post_type( $_REQUEST['post_type'] ) ) { global $ctshortcode; if ( ! empty( $ctshortcode ) && is_object( $ctshortcode ) ) { remove_action( 'init', array( $ctshortcode, 'init' ) ); } } } add_action( 'init', 'gd_snippet_fix_videopro_conflict', 9 );2. I have updated import function in social importer plugin. The first image may still have low quality, because it is from page logo(profile image).
3) Except profile image, no duplicate image will be uploaded.
Let us know.
Thanks,
KiranHello edward,
The issue has been fixed.
In Event v2 event schedule fields are available in Event Information metabox(display order can be managed from Events > Custom Fields).
Not sure why it was not working on your site, but now i have fixed it.Please check and let us know.
Regards,
KiranHello Vincenzo,
I checked and found that GeoDirectory template pages for GD Details, GD Archive, GD Archive Item & GD Search was trashed. I restored those pages from trash. These pages are required to show listings.
Please check now and if you still see issue then provide a page url & steps to replicate issue from our side.
Regards,
KiranApril 10, 2019 at 11:27 am in reply to: Don't see the option to add "different event times".. #479783Hello There,
This has been fixed. Form next version it will allow to set recurring enabled by default for the event.
Provide FTP credentials if you want to apply patch on your site.
Regards,
KiranHello,
This is default behavior. See https://ppldb.com/v2test/places/
You can make color little darker to look better.
Try following:
.geodir-field-post_content a.gd-read-more { color: #333; }Kiran
This reply has been marked as private. -
AuthorPosts