3.48. Showing script
s in post content
To show script
s in the post content, do the following:
- Go to Site Settings Page and activate Templates Tab
- Go to Quick Fixes Section
- Check Convert script elements to short code setting’s checkbox
- Save the settings (See: Saving The Settings)
- Go to General Settings Page and activate Post Tab
- Go to Short Codes Section
- Add a rule to allow the domain of the source of the
script
elements in Allowed domains for script short code. For more information, see Allowed domains for script short code.
After these steps are done, the plugin will turn script
elements into a short code that will
be turned into script
elements. The plugin will show script
elements only if their
src
attribute points to a domain that is allowed in
Allowed domains for script short code setting. These are done for security reasons. For more
information, see Short Codes Section.