Which line of functions.php should I put the code in?
Any line place bottom of file.
Please update latest version added more control.
Unfortunately, the code doesn’t work at all! The contact details fields still appear on the listing form. No change.
Please update latest version now without state field all fields can hide.
I have updated the plugin but “state” field still can’t be hidden.
If “state” field still can’t be removed, users can’t submit listings as it can’t be saved.
Have you added code properly I tested it work?
Copy this code again see https://prnt.sc/l3vx5b
function remove_classified_listing_actions(){
remove_action('rtcl_listing_form', array(\Rtcl\Controllers\ListingHook::class, 'listing_contact'), 30);
}
add_action('init','remove_classified_listing_actions');
You’ve made all the fields can hide in the plugin, only one field “state” is left. Why not enable this to hide in plugin as well? Just one more, please.
It is required field.
Need to one field atleast required otherwise user submit without any contact form then who want to interest about the ad user can not contact with them.
You want to hide all fields so your issue is solved right?
The users can contact each other by message.
With only the field of “state”, the users won’t be able to contact anyone. So, it’s unnecessary. It’s just for listing/directory. Anyone who wants to contact the site can go to the websites. No problem.
Please provide options to hide all contact fields.
Please mail support@radiustheme.com your site url and tell me which fields you need in contact area.
Thanks
I want you to enable the option to hide “state” field in contact.
I don’t need any fields in contact area as visitors will always go to the listed sites. No need to contact list owners as users are not selling physical items on our site.