HTML
-
Please support html code if possible. Thanks
-
Sorry for the late reply
Are you an admin of the site?
A filter is used to filter the HTML. To stop this use this in your theme’s functions.php fileadd_filter( 'ac_additional_content_filter_html', '__return_false' );btw:
consider creating a child theme instead of editing your theme directly – if you upgrade the theme all your modifications will be lost. Or create a plugin with the code above.Yes admin
Sorry i mean the content don’t support javascript code right?
The default is support html and the filter is to stop using html code?Ok thanks
The default is support html and the filter is to stop using html code?
The default is not to allow html.
Maybe I should reconsider and allow html for admins by default.
I’m glad you’ve got it resolved π
By default should support all html code would be better in my opinion. Thanks
It doesn’t support pages with templates any ideas?
I’ve confirmed that this is a bug and will update the plugin this week.
Thanks for reporting π
It should be resolved by updating to the new version (1.3.0).
The plugin now also supports html for users with the unfiltered_html capability (superadmin, admin and editor role).
https://github.com/keesiemeijer/additional-content/tree/develop#html-in-additional-contentIf you are an admin you can remove the filter from your functions.php
It doesn’t work on layers templates? Any ideas?
https://github.com/Obox/layerswpStandard WP templates will show without any problem
Do you know in what template files it’s not working (layerswp)?
Yes you can try to use the templates on pages and simply enter anything inside to see it will never appear at all
I’m guessing you mean the pages from the page builder. Normal pages seem to work just fine.
Layers page builder pages are not the same as WordPress pages. Do you see the additional content editor when editing these pages?
Yes you are right using layers pages
AC – Yes do have
Most extra content/field not working with any other templates pages/builder if not wrong but some work fine like ACF
I see. The problem is some (or all) of those page templates don’t display post content (as written in a content editor). That’s why this plugin does not know where to append the additional content.
This plugin depends on templates to use
the_content()function to display normal post content. I’m sorry, but there is not much that can be done about this.https://developer.wordpress.org/reference/functions/the_content/
The topic ‘HTML’ is closed to new replies.