acts-1224C
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Submit iframe code in Forms
Commencé par : acts-1224C
in: Toolset Professional Support
Problem: I would like to add an HTML iframe tag to a custom field when editing a post in a front-end Form, but the content does not seem to be saved. If I add the same code in wp-admin when editing a post, it is saved as expected. Solution: For security purposes, Forms automatically restricts certain code. To override that security feature, you must enable iframe tags with custom code. Add the following custom code in your child theme's functions.php file: add_filter( 'wp_kses_allowed_html', 'tssupp_author_cap_filter',1,1 ); function tssupp_author_cap_filter( $allowedposttags ) { if ( !current_user_can( 'publish_posts' ) ) return $allowedposttags; // Here add tags and attributes you want to allow $allowedposttags['iframe']=array( 'align' => true, 'width' => true, 'height' => true, 'frameborder' => true, 'name' => true, 'src' => true, 'id' => true, 'class' => true, 'style' => true, 'scrolling' => true, 'marginwidth' => true, 'marginheight' => true, ); return $allowedposttags; } That should cover most of the default iframe attributes for a Google Calendar embed, but you may need to adjust this code to support other non-default attributes individually. Go to Toolset > Settings > Forms and click "Select allowed HTML tags". Choose all the tags you would like to allow Users to insert in a Form, including iframe tags. |
|
2 | 4 | Il y a 4 années et 4 mois | |
Types Plugin
Commencé par : acts-1224C in: Toolset Professional Support |
|
2 | 4 | Il y a 4 années et 4 mois | |
blocks are not showing in the website page editor.
1
2
Commencé par : acts-1224C in: Toolset Professional Support |
|
3 | 16 | Il y a 4 années et 7 mois | |
Cannot get Message Module to work when creating new posts
Commencé par : acts-1224C in: Toolset Professional Support |
|
2 | 2 | Il y a 4 années et 7 mois | |
Toolset chat support ticket by acts-1224C – 1605620828
Commencé par : acts-1224C in: Chat Support |
|
1 | 2 |
Il y a 4 années et 7 mois
|
|
cred forms-default sign in form
Commencé par : acts-1224C in: Toolset Professional Support |
|
2 | 2 | Il y a 4 années et 8 mois | |
documentation for the messaging system
Commencé par : acts-1224C in: Toolset Professional Support |
|
2 | 5 | Il y a 4 années et 8 mois | |
Naming Child Posts Genereation
Commencé par : acts-1224C in: Toolset Professional Support |
|
2 | 2 | Il y a 4 années et 10 mois |