WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

JS <BR> Tags (3 posts)

  1. Juhbuh
    Member
    Posted 9 years ago #

    On our blog http://aglocoyou.com/badges/ we have a HTML Badge Generator, but the WP CMS code adds <br> and line breaks to most of the JS in the post code; so it won't execute peoperly.

    We had the blog on Movable Type previously and it had no issues with this, I've been looking (searching long and hard) for a Plug-In that helps but haven't been able to find one that would work.

    Please help...please...please.

    Best,
    Jeremy

  2. incertus
    Member
    Posted 9 years ago #

    I've never had occasion to try js in a post but you might look here to see if there is any help.
    http://codex.wordpress.org/Using_Javascript

  3. Try this plugin:
    http://ottodestruct.com/wpstuff/scriptenabler.zip

    It prevents some of WordPress's auto formatting from messing with javascript code.

Topic Closed

This topic has been closed to new replies.

About this Topic