acts-1224C
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Submit iframe code in Forms
Gestartet von: 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 | vor 4 Jahre, 4 Monaten | |
Types Plugin
Gestartet von: acts-1224C in: Toolset Professional Support |
|
2 | 4 | vor 4 Jahre, 4 Monaten | |
blocks are not showing in the website page editor.
1
2
Gestartet von: acts-1224C in: Toolset Professional Support |
|
3 | 16 | vor 4 Jahre, 7 Monaten | |
Cannot get Message Module to work when creating new posts
Gestartet von: acts-1224C in: Toolset Professional Support |
|
2 | 2 | vor 4 Jahre, 7 Monaten | |
Toolset chat support ticket by acts-1224C – 1605620828
Gestartet von: acts-1224C in: Chat Support |
|
1 | 2 |
vor 4 Jahre, 7 Monaten
|
|
cred forms-default sign in form
Gestartet von: acts-1224C in: Toolset Professional Support |
|
2 | 2 | vor 4 Jahre, 8 Monaten | |
documentation for the messaging system
Gestartet von: acts-1224C in: Toolset Professional Support |
|
2 | 5 | vor 4 Jahre, 8 Monaten | |
Naming Child Posts Genereation
Gestartet von: acts-1224C in: Toolset Professional Support |
|
2 | 2 | vor 4 Jahre, 10 Monaten |