Footbag
Member
Posted 2 years ago #
I need to add some javascript to one of the posts on my WP blog. I searched and saw that I have to put it in a separate file and refer to it from the post.
That said, it may be difficult for me to explain it to the primary user and I'm not good with Java, so I don't want anything screwed up. Is there a 2.8 compatible plugin that will allow me to just cut and paste it in to the post. I had read about a few, but cannot find them in the plugin search.
When you edit the post, use HTML editor. Paste the Javascript in the html editor and it will work just fine.
ssaikia
Member
Posted 2 years ago #
HTML NOT APPEARING IN POST
When I put this HTML code in my post (I got the HTML directly from the Google Insights page) it did not appear in my WordPress.com blog post. Can you give me a simple fix to this problem?
<script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fgoogle_insightsforsearch_interestovertime_searchterms.xml&up__property=empty&up__search_terms=%22enterprise+rental+car%22%7C%22national+rental+car%22%7C%22budget+rental+car%22%7C%22dollar+rental+car%22&up__location=US&up__category=0&up__time_range=12-m&up__compare_to_category=false&synd=ig&w=320&h=350&lang=en-US&title=Google+Insights+for+Search&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
lahorimela
Member
Posted 1 year ago #
Yeah i want this also, how to add javascript in post. Any help
I try with HTML but its not working