WordPress.org

Ready to get started?Download WordPress

Forums

JS <BR> Tags (3 posts)

  1. Juhbuh
    Member
    Posted 7 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 7 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. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    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