How to add javascript to html sidebar component

Joey Champion Posted in General Discussion 2 years ago

I need some help please.
My website, www.odd.news aggrigates news stories from around the world.

I need to add this code to the html sidebar...

<div id="flockler-embed-18619d2d4e00e945f20bf416d33fe5bb"></div>
<script src="https://plugins.flockler.com/embed/185f01457e00f798c663ff6ed8cede9a/18619d2d4e00e945f20bf416d33fe5bb" async></script>

I don't know how to do it because everytime I add it ,the javascript gets removed from the html sidebar component.
I installed the custom js/css component but I am clueless as to how to use it with the required code that I listed above.

Please help.
Thanks.

Replies
German Michael Zülsdorff Replied 2 years ago

From your Ossn admin backend click
Configure->HtmlSidebar->Tools->Source code
Enter:
<div id="flockler-embed-18619d2d4e00e945f20bf416d33fe5bb"></div>
Then Save->Save

Next for the script part
Configure->CustomCSSJS
In Frontend JS enter:

</script>
<script src="https://plugins.flockler.com/embed/185f01457e00f798c663ff6ed8cede9a/18619d2d4e00e945f20bf416d33fe5bb" async></script>
<script>

Then Save

Premium Version

Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.

$199 (Life Time)
Learn More

Other Questions