How can i implement the use of javascript in topics?
In a theme component.
But if you want users to be able to put javascript in topics, it’s a bad idea and you can.
Can you say more about what it is you’re trying to accomplish?
I want to add javascript code to specific topics.
This code calls an ad unit from the ad network I’m working with.
Therefore, it is necessary to install it in specific places, and not just through a component, since there the choice is only between Body and Footer.
I tried using House Ads from the advertising plugin, but it doesn’t support JS
Look at the topics about how to develop themes. Also check out the Plugin outlet locations theme component to see where you can insert stuff.
Looks interesting, but my knowledge is not enough to understand how to use it
Can you tell me how to insert the necessary code here?
Maybe this will help: Add custom content that only appears on your homepage
But you’ll need to have a look at the theme development tutorial.
It’s too difficult for me. Looks like we’ll have to put this off for later for now.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.