Kiran
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Hi Bernward,
Try following PHP snippet to show Google Analytics without click.
function gd_snippet_show_google_analytics() { ?> <script type="text/javascript"> jQuery(function($) { if ($('.gdga-show-analytics').length) { $('.gdga-show-analytics').trigger('click'); } }); </script> <?php } add_action( 'wp_footer', 'gd_snippet_show_google_analytics', 99 );
Kiran
Hi Patrick,
Please check now after clearing your browser cache.
Sorry for the inconvenience.
Kiran
March 6, 2020 at 9:23 am in reply to: Search page will not use the default template. No header / no footer / no stylin #533957Hello Derek,
Site is not reachable for me. Can you take a look?
Provide us FTP credentials, because sometimes editing files with File Manager breaks the site due to some background functions.
Thanks,
KiranMarch 6, 2020 at 9:18 am in reply to: Translated listing not found + internal editor no entries found #533952Hello wci,
There is a compatibility issue WPML with GDv1 and it can’t be fixed without core changes.
To fix this compatibility issue with GDv1 try following steps:
1) Open file \wp-content\plugins\wpml-translation-management\classes\post-edit-screen\class-wpml-tm-post-edit-tm-editor-select.php in editor
2) Find following line in file( WP_Post $post )
There will be 3 search found with this line.
3) Replace those with following line( $post )
Replace for all 3 instances.
4) SaveTo edit GD listings in backend do not use WPML editor.
Let us know.
Thanks,
KiranThis reply has been marked as private.Hello Mitch,
I done some more testing and found that even after images/log cleared from database it shows images at front end. This happens because of Kinsta object cache. It does not clears Kinsta Cache on downgrade listing.
I have added following snippet under Snippets to clear cache on expire/downgrade.
/** * Clear Kinsta Cache after expire/downgrade listings. */ function gd_snippet_post_clear_kinsta_cache() { global $KinstaCache, $geodir_post_downgraded, $geodir_post_expired; //geodir_error_log( $geodir_post_downgraded, 'geodir_post_downgraded' ); //geodir_error_log( $geodir_post_expired, 'geodir_post_expired' ); if ( empty( $geodir_post_downgraded ) && empty( $geodir_post_expired ) ) { return; } if ( ! empty( $KinstaCache ) && is_object( $KinstaCache ) ) { if ( ! empty( $KinstaCache->kinsta_cache_purge ) && is_callable( array( $KinstaCache->kinsta_cache_purge, 'purge_complete_caches' ) ) ) { $KinstaCache->kinsta_cache_purge->purge_complete_caches(); geodir_error_log( 'geodir_pricing_after_expire_check => Kinsta Cache Cleared' ); } } } add_action( 'geodir_pricing_after_expire_check', 'gd_snippet_post_clear_kinsta_cache', 999 );
Let us know.
Thanks,
KiranHi Carole,
Please check and let us know.
Kiran
i just need to make expiry date blank?
To set unlimited set it to blank.
What is the effect of blank in Import- does it mean delete contents, or does it mean leave unchanged?
Import blank value will save blank value for that field.
Kiran
Glad to hear that site speed improved.
For PHP notices it depends on usage of the variables that not found. Sometimes undefined PHP notices may show unexpected results. You can contact the plugin author about this errors.
Kiran
Can I use GeoDirectory Custom Post Types?
You can separate listings within custom post type.
Example:
gd_event custom post type for Events
gd_sport custom post type for SportsKiran
Recurring packages must be managed with payment gateway because expiry for this listings handled with IPN notifications from gateway. If you make it free then listings will never expire as it will never receive any notification about cancel subscription or renew subscription or completion of subscription.
Yes you can use import feature to set expire date for those listings. You can set expire date = never to set it unlimited or any future date so it will expire on when that date becomes past.
Let us know.
Kiran
Hello,
Tags list is not allowed in search bar, because keyword entered to filter results also matches in post tags field. Listings are also filtered by tag pages like /tags/xxx/.
Kiran
March 5, 2020 at 11:53 am in reply to: Problems translating CPT Names with WPML String Translation #533728Hi jotomas,
Can you provide a url & a screenshot that shows that text?
What is the correct string for “Activitats” in language:
CA :
SQ :
EN :
FR :
ES :Kiran
This reply has been marked as private. -
AuthorPosts