Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
If you are running kleo theme then that is likely the issue, i don’t think it has been updated to work with GDv2 yet.
Stiofan
Hi Ian,
Thanks for reporting this, i have fixed this and the fix will be in the next release.
Thanks,
Stiofan
Kiran was the one who worked on this feature, i’ll clarify exact details with him tomorrow but i know he worked on something that when renewing it would count other days, it just adjusts the expiry date.
Stiofan
You are right those should be visible all the time on mobile, i’ll add that for the next release. Thanks for reporting.
Stifoan
You can use the action
do_action('geodir_search_form_inputs');
so something like (not tested)
add_action( 'geodir_search_form_inputs', '_my_new_search_input', 15 ); function _my_new_search_input(){ global $geodir_search_post_type; if($geodir_search_post_type=='gd_place'){ echo '<div class="gd-search-input-wrapper gd-search-field-search"><input class="search_text" name="bla" value="bla bla" type="text" ></div>'; } }
Stiofan
Thanks for reporting this, it was a bug, again i have fixed this and updated your site with the patch.
Thanks,
Stiofan
Hello,
This issue was the meta value function was returning false instead of 0 so the values were not selected, please check now.
I have applied the fix to your site and this will be in the next release.
Thanks,
Stiofan
Hi Rory,
If you are just talking about “M1” then i don’t really see a way around that, more of a postcode should be used like “M1 1AG”
Stiofan
Hi James,
The form is replaced via ajax, there are a few ways to change thins, if you let me know what you are trying to do then i can give you better advice.
Stiofan
Can you please post wp-admin details to your site, i can’t replicate this on my test site.
Thanks,
Stiofan
February 5, 2019 at 4:47 pm in reply to: Edit + Submit Listing – Creates additional image in Media Library #467219This should be out relatively soon, latest start of next week.
Stiofan
This seems to be caching, i have added functions to clear cache on edit/update which will be in the next release, if there is a way you can clear cache for now it will fix it.
Stiofan
Seems to be ok to me, what issue do you think you see?
Stiofan
Hi Pete,
The 24 hour thing is fixed in the plugin but the seed is filterable, the below example would change that to 4 hours (not tested):
add_filter('geodir_rand_seed','_my_geodir_rand_seed'); function _my_geodir_rand_seed($rand_seed){ $rand_seed = get_transient( 'geodir_rand_seed_custom' ); // if we don't have a transient then set a new one if(!$rand_seed){ $rand_seed = time(); set_transient( 'geodir_rand_seed_custom', $rand_seed, 4 * HOUR_IN_SECONDS ); } // validate $rand_seed = absint($rand_seed); return $rand_seed; }
Stiofan
Hello,
GDv2 is very much more standardized and it still does use custom tables (and always will), this is for many reasons, in short its for speed and scale-ability.
You can update GD post info by just sending the date to the standard WP functions like wp_update_post(), we hook in and grab the info and save it on the fly.
You can also get any post meta using the standard get_post_meta() function by just prefixing the field name with “geodir_” so something like this will get the facebook url for the post:$facebook_url = get_post_meta($post_id,"geodir_facebook",true);
If i can help further just let me know.
Thanks,
Stiofan
-
AuthorPosts