Link to Legal Documents
This topic contains 15 replies, has 3 voices, and was last updated by Al Sommer 6 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Legal links
-
AuthorPosts
-
December 19, 2019 at 6:51 pm #522408
I’d like to create one checkbox that has the following that includes more than just the Terms and Conditions. There are three documents that require consent and I’d like to combine them all into one checkbox for approval.
Consent* (CHECKBOX)
I have read and agree to the BiddyDiddy Terms and Conditions, Privacy Policy, and Prohibited Products Policy.
Can anyone help accomplish this?
Thanks in advance,
AlDecember 19, 2019 at 7:18 pm #522423I can see that on my test site. The field description is supposed to support HTML. I will flag your topic for the developers.
December 20, 2019 at 10:36 am #522528Hi Al,
Try following PHP snippet to allow HTML tags in specific field description.
/** * Allow HTML tags in field description. */ function gd_snippet_191220_allow_html_in_field_desc( $field, $input ) { /* FIELDS HERE */ $allowed_fields = array( 'custom_email', 'custom_phone', 'my_url', ); if ( ! empty( $input['frontend_desc'] ) && ! empty( $field->htmlvar_name ) && in_array( $field->htmlvar_name, $allowed_fields ) ) { $field->frontend_desc = stripslashes( geodir_sanitize_html_field( $input['frontend_desc'] ) ); } return $field; } add_filter( 'geodir_cpt_cf_sanatize_custom_field', 'gd_snippet_191220_allow_html_in_field_desc', 20, 2 );Regards,
KiranDecember 20, 2019 at 1:25 pm #522559This reply has been marked as private.December 20, 2019 at 2:06 pm #522564Hello Al Sommer,
It is a PHP code that needs to execute to achieve what you asked. That snippet should be put child theme functions.php file or added via snippet plugin.
Kiran
December 31, 2019 at 5:57 pm #523525This reply has been marked as private.January 1, 2020 at 10:09 am #523585Hello,
It looks like you can copied snippet from emails. Please copy snippet from here #522528
After adding snippet change “custom_email, custom_phone & custom_url” to your desired field, because those field are just for examples.Provide us admin credentials to do this from our side if you are facing problem in adding a snippet.
Regards,
KiranJanuary 1, 2020 at 10:07 pm #523619This reply has been marked as private.January 2, 2020 at 4:30 am #523640Hi Al Sommer,
Please provide us site link & admin credentials in a private reply to look into there.
Thanks,
KiranJanuary 2, 2020 at 12:32 pm #523680This reply has been marked as private.January 2, 2020 at 1:37 pm #523698Hello,
Issue has been fixed.
– Changed custom_consent to consent in PHP snippet, because field key is consent at field setting.
– Re-saved field with html description.Please check and let us know.
Regards,
KiranJanuary 2, 2020 at 1:52 pm #523701This reply has been marked as private.January 2, 2020 at 1:54 pm #523702Thanks for letting us know 🙂
January 5, 2020 at 6:43 am #524093This reply has been marked as private.January 6, 2020 at 1:48 pm #524232I have done following.
– From Professional Profiles > Settings > Custom Fields > Package
– Re-entered html in “front end description”
– SavePlease check and let us know.
Kiran
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket