Archived topic
custom html not showing on front end
7 replies · Started by Matt on January 24, 2023
I ham moving a site from thrive theme builder across to Generatepress with generateblocks and for some reason none of the custom HTML blocks that are in the content are showing on the front end of the site.
example page is: https://staging-simplyelectricals-e23123.kinsta.cloud/best-lavazza-coffee-machines/ where at the bottom where the machines are listed there should be a HTML block showing prices etc.
Hi there,
is this the HTML blocks with squirrels-live.getsquirrel scripts inside?
if so the HTML is being output, but the scripts are not doing anything.
Those are the ones, how strange. They work fine on the live site Simply Electricals using Thrive Theme Builder 🤔
Need to move themes due to ads network conflict.
Anything you could suggest?
Hi Matt,
I would suggest reaching out to the JS provider, and checking how it would work in an HTML block.
Thanks Ying,
It already works on the Thrive Theme we have on the live site currently. The only thing that we have changed is the theme to use Generatpress?
You can see it here on this post: SE post
Why would it work fine on a different theme but not when using on Generatepress?
I compared the section on the GP site and your live site, and it seems there's one <div> missing from the GP site's HTML:
https://www.screencast.com/t/nbgvwVBIT1
Themes have nothing to do with of the output of such an HTML section, it's likely having something that didn't set up correctly.
Thanks Ying,
So, turns out I hadn't added the staging domain to the whitelist 🤦♂️
Thanks for all the help on this. It's very much appreciated.
You are welcome, glad you've sorted out :)