[New post] Using Javascript in posts within WordPress is tricky. Here are some pointers on how to do it.

Posted by | Posted on 08:46

Using Javascript in posts within WordPress is tricky. Here are some pointers on how to do it.

Bogdan Michka | April 22, 2010 at 9:24 am | Tags: howto, javascript, js, wordpress | Categories: development, tips-n-tricks, web | URL: http://wp.me/pHbzX-kP

Using Javascript « WordPress Codex

Javascript will work within WordPress. If used within the template files, most Javascript will work fine. Using them within a post is another matter, though.

Once you enter the world of PHP, it is really hard to go back to using Javascript, but they still serve their purpose. If you can replace a Javascript with PHP code, tags, or script in WordPress, do so. Your life will be much easier. If not, here are a few tips to make your Javascript work in WordPress.

Add a comment to this post


Trouble clicking? Copy and paste this URL into your browser: http://subscribe.wordpress.com

Comments (0)

Post a Comment