Give help. Get help.

  • # December 6, 2012 at 11:55 am

    So what is the definitive best practice for using JavaScript in WordPress posts, aside from creating an infinite amount of Templates?

    Placing it in the HTML tab causes a slew of problems for me, because of the P tags WordPress insists on inserting.

    My site contains a lot of posts with JavaScript. : -/

    # December 6, 2012 at 4:05 pm

    I think best practice is to if at all possible no use JS inline. Are you doing a lot of repetitive tasks, or is it almost always something new?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.