Kiran
Forum Replies Created
-
AuthorPosts
-
Hello Romit,
I added parent_only=1 to shortcode in the file inc/geodirectory-compatibility.php .
Now it is showing patent categories only.Kiran
Hi Jeff,
We have fixed this issue and it will be in next release.
You can find patch here: https://github.com/GeoDirectory/geodirectory/pull/456/commits/f436207e78a70bca4ddd1cc05d1ce862a3219280
If you want me to update patch on your site then provide us FTP credentials.
Thanks,
KiranHi Romit,
I have checked one of our test site and it working fine. Please provide us your site url and admin credentials, so we can take a look.
Kiran
Hi Marjon,
Use following snippet:
function _gd_custom_reorder_search_inputs( $template ) { remove_action( 'geodir_search_form_inputs', 'geodir_search_form_post_type_input', 10 ); remove_action( 'geodir_search_form_inputs', 'geodir_search_form_search_input', 20 ); remove_action( 'geodir_search_form_inputs', 'geodir_search_form_near_input', 30 ); add_action( 'geodir_search_form_inputs', 'geodir_search_form_post_type_input', 30 ); add_action( 'geodir_search_form_inputs', 'geodir_search_form_search_input', 10 ); add_action( 'geodir_search_form_inputs', 'geodir_search_form_near_input', 20 ); return $template; } add_filter( 'template_include', '_gd_custom_reorder_search_inputs', 100, 1 );Also you need to set value for “Search bar priority” between 20-30 at GeoDirectory > CPT Settings (ex: Place Settings) > Advance Search > Category
Kiran
Hello Vion,
I have updated patch, please check and let us know.
Kiran
Ref: https://wpgeodirectory.com/support/topic/event-startend-time/#post-429557
I found that you are using “Cloudflare Rocket Loader” on your site and it breaks the image slider loading on the page.
Please disable “Cloudflare Rocket Loader” and check if fixes the issue or not.
Also please check this: https://wpgeodirectory.com/docs/known-issues/#rocketloader
Let us know how it goes.
Kiran
Hi Joy,
I have modified the snippet and now preview page is working fine.
Please check and let us know.
Thanks,
KiranThis reply has been marked as private.Hi Alex,
I have fixed PHP warning. PHP 7.x does not treats string as array when pushing element into.
Thanks for spotting. 🙂
Kiran
Hi Alex,
Try this one
function change_user_role_when_submit_cv( $maybe_empty, $postarr ) { if ( $postarr['post_type'] =='gd_cv' ) { $current_user = wp_get_current_user(); $current_user_roles = $current_user->roles; if ( in_array( 'um_worker', $current_user_roles ) ){ $current_user->set_role( 'worker_has_cv' ); } } return $maybe_empty; } add_filter( 'wp_insert_post_empty_content', 'change_user_role_when_submit_cv', 10, 2 );Kiran
This reply has been marked as private.This reply has been marked as private.Hi Joy,
I just checked files via plugin editor but can find the snippet. Let me know in which file you have put that snippet.
Thanks,
KiranHi,
I checked few listings, but i can’t replicate similar issue from my side. Can you provide video capture that explains issue?
Kiran
-
AuthorPosts