This script runs in wordpress environment,
because it is included in the theme function.phpI have created a shortcode for you, and you can include
a headers section in a post or page using a shortcode:
[headlines-section]
or, if you need the script not to draw the button:
[headlines-section button-mode=”hidden”]
Use class name “headline_loop_button” to add event handlet to other buttons Some Other button
New* : added attribute redirect_url. check test page:
https://www.alcapone-us.com/test-headlines-section-page/.