Custom hooks to hang HTML onto #1394
Replies: 2 comments 2 replies
-
Hi, You can create "shortcodes" using the Smart Replacer plugin: https://getpublii.com/docs/smart-replacer.html - it will works inside posts, but you can make it working in any place of your website |
Beta Was this translation helpful? Give feedback.
-
`Both approaches you've outlined could work well for creating HTML sections to be inserted into a post and rendered when previewed or published. Let's discuss each option: Shortcode Editor: This approach involves creating a shortcode editor where users can create and edit individual HTML files assigned to shortcode names. In this approach, users define hooks from within the block or WYSIWYG editor and then add corresponding HTML content in the Custom HTML editor. |
Beta Was this translation helpful? Give feedback.
-
I would like to be able to create some HTML sections that can be inserted into a Post and rendered when the project is previewed or published.
There are several ways to do this:
Thanks
Beta Was this translation helpful? Give feedback.
All reactions