That Danny!

News, Reviews, ‘Internet Ghosts’, Web 2.0 and Net Moods - Your Daily Source for Internet Buzz!

That Danny! header image 2

How to Embed JavaScript into Wordpress Posts (The Easy Way)

July 18th, 2008 · No Comments

I’ve been embedding JavaScript into my WordPress posts the hard way for ages. It means creating a separate file to define a function (that is the JS script) and then calling it into the post itself, as explained by the WordPress guys here.

Then, today, I discovered that there is actually a very easy way to integrate JavaScript into WP posts: using Andrew’s JavaScript in WordPress Posts Plugin.

You download the plugin, install and activate it the usual way - and… That’s it. JavaScript will start working in your posts.

According to some comments on Andrew’s blog it doesn’t work for everyone, but it worked a treat for me. The little things that make life so much easier. Thanks Andrew, you’re an absolute lifesaver!

– Geeky entry over –


DIGG this, Share on Facebook and all the rest:
These icons link to social bookmarking sites where readers can share and discover new web pages.

  • bodytext
  • del.icio.us
  • Facebook
  • Mixx
  • Reddit
  • StumbleUpon
  • TwitThis
  • blogmarks
  • Fark
  • Fleck
  • NewsVine
  • ThisNext

Technorati Tags: , ,

Other articles:

Tags: Internet

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.