WordPress.org

Ready to get started?Download WordPress

Forums

Safari Push
[resolved] No Javascript in footer (6 posts)

  1. Djib's
    Member
    Posted 7 months ago #

    Hi,

    In the last 0.7.2 update, Javascript does not appear in the footer. It is not there in the header.

    http://wordpress.org/plugins/safari-push/

  2. macgamer
    Member
    Plugin Author

    Posted 7 months ago #

    It works on my site. Are you saying that you now don't have any JS code at all?

    You *must* have a call to wp_footer() in your theme.

  3. Djib's
    Member
    Posted 7 months ago #

    I don't have wp_footer() in my theme

    It is possible to detect </ body> and place it just before?
    There are many themes that do not have wp_footer ()

    Thank you

  4. macgamer
    Member
    Plugin Author

    Posted 7 months ago #

    That would mean circumventing wordpress's hooks for javascript which I'm not willing to do.

    I will make it an option in the settings to load in the footer or the header.

  5. Djib's
    Member
    Posted 7 months ago #

    yes great idea :-)

  6. macgamer
    Member
    Plugin Author

    Posted 7 months ago #

    Option will be in the next version.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.