How to add custom script in the element "Raw html" on homepage?

Posted in: Newspaper
Post count: 41

I am trying to add a custom script on the homepage using the element “Raw html” without success.

The scripts looks like this:

<!– Begin BlogToplist tracker code –>
<!a href=”http://www.xxxx&#8221; title=”Politik”–>
<!img src=”http://www.blogtoplist.se/tracker.php?u=xxx&#8221; />–>
<!– End BlogToplist tracker code –>

Please can you advice me how to do this?

(I messed up the above script to make it visible in this text field)

  • This topic was modified 7 years by Sasser.
  • This topic was modified 7 years by Sasser.
Post count: 20688

Hi,

So you want that code in the page content, you could try some implementation methods. For example
https://www.godaddy.com/garage/3-ways-to-insert-javascript-into-wordpress-pages-or-posts/
I believe there are plugins that provide widgets which support javascript code to be entered in them, you could make some tests with some plugins.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.