Archived topic
Embeds onlye partially showing
7 replies · Started by Jimi on December 7, 2021
Hi,
I want to make a page with around 10 embeds from Google Trends. I use the "HTML" block to insert the embed code. Using a link or something else doesn't work at all.
The first embed is showing, but the rest is not. Or the rest are partially showing.It can be seen on this screenshot: https://notater.onlinemarketingbureauet.dk/l/N0p2SO
It can also be seen on the page here: https://onlinemarketingbureauet.dk/generelt/mest-soegte-ord-2021/
How do I get all the embeds to show ?
Thanks,
Jimi
Hi there,
i am only seeing a single embed and the iframe its displaying has no height attribute or and inline styles to provide it with a height.
How is the embed created ?
Hi
I have made a 2 minute video showing it. It´s here :https://notater.onlinemarketingbureauet.dk/l/YXWdPl
Hi Jimi,
If you switch to Twenty twenty theme, do the 2 iframe both show?
Let me know.
I am afraid to switch themes :) I will do a backup first and test
Let me know what the testing result is, thanks!
It's the same in the other theme
Yeah the scripts are not passing any height attributes which is an issue.
I did find this article that provides a PHP Snippet to create your own shortcode to output a google trend. And that does include a height attribute:
https://www.isitwp.com/shortcode-embed-google-trends-graph-in-posts-and-pages/
Might be worth trying that out.
ADDING PHP Snippets: https://docs.generatepress.com/article/adding-php/