• Resolved John di Stefano

    (@entrepreneur-academyeu)


    If I want to add some javascript and a div after the body opening tag, how is this done?
    Why do you insist to pre-create script tags?
    Do you think it is too hard to write it yourself?
    I believe for most people they just copy and paste scripts from google analytics, facebook or other application to connect to the wordpress site and allow the exchange of information. They are never just scripts.

    Any help would be very much appreciated.
    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author WraithKenny

    (@wraithkenny)

    For what it sounds like you are asking, you maybe should use the Theme Editor. This plugin does apply nice syntax highlighting to WordPress’s editor, but doesn’t handle editing themes itself.

    This plugin is intended to use the WordPress filter system to add scripts and styles to the appropriate hooks made available by WordPress.

    If you’d like, this plugin doesn’t do validation, nor sanitation, for errors, so you could simply add a closing script tag, your script, then reopen the script tag (to prevent malformed html).

    If you’d like to add arbitrary HTML to your post (such as Markup, Scripts, and Styles, like you’d get from googling) use the Hoops Shortcode, as that’s it’s intension.

    And yes, this is a developer tool, and I do believe it’s hard to do “by yourself.” 🙂

Viewing 1 replies (of 1 total)

The topic ‘How add mixed stuff’ is closed to new replies.