I am currently working on a custom embed template for wordpress posts so I can embed them via wp discourse plugin in an iframe
Currently you can only add a fixed iframe height into the post. The post looks like this:
The HTML used:
<iframe src="https://wordpress-92041-921046.cloudwaysapps.com/growbox-dimensionieren/" width="1200" height="2000" "frameborder="0"></iframe>
- Is there any way to set up the iframe height in a variable manner to adjust to the embedded content size?
- Since it will be put into a wp discourse template (like @Simon_Cossar) did here , is there any way to set the iframe height in a dynamic way based on some parameters of the wp post? (character count or such?)