Hey everyone,
I’m creating a blog using EE and I would like to know if it’s possible to embed a template within a post. I’m using a rich text editor field to add the main content for each blog post and I would like to be able to add some sort of snippet within the post that embeds a template. That template will hold things like ads or static content that I would like to be able to change in one place and update all relevant posts (hence why I thought I could do this with an embed).
To clarify, I’m already aware about embedding templates within other templates. What I’m looking to find is a way to add stuff within entries! For example, Google AdSense does that by injecting ads wherever their code things it’s valuable, but I’d like to be able to control that, on every post, depending on its word length.
Is something like this possible and if so how? Thanks in advance!
I’m honestly not 100% this works in the latest version but what you’re looking for is the Allow EEcode add-on https://github.com/EllisLab/Allow-Eecode. It’s free to use.
If there are any issues with it, let me know or open an issue directly in GitHub.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.