Archived topic
Adding text that changes (JS related)
1 reply · Started by SLIM on March 26, 2021
Hi GP team,
I've been a big fan of your theme for quite some time, mine is not so much a problem, more so an ask :)
Basically, in the THEME/Wired as you know there is a 'call to action' in the header of the homepage. I've been trying to set up the website so that THAT text on the homepage CHANGES. I'm happy for to change every time the page reloads or someone enters, or (PREFERRABLY) have it change on a time interval.
I've tried code after code, but have now given up lol.
Would you guys happen to have some sort of 'idea' or module i could maybe add to make it work?
I've tried implementing JS via the HTML block but it just keeps breaking. Would you guys be able to help me out :)
PREMIUM SUPPORT :D (first time im properly using it)
Thakn you.
Hi there,
try this plugin - it uses typed.js script and its tiny ( less than 2kb):
https://wordpress.org/plugins/mrlegend-typedjs/#installation
I linked to the installation page as it shows how the Shortcodes works.
If you you're using GenerateBlocks you can add the shortcode inside a Headline Block as that supports Shortcodes along side static text.