WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Using this outside the post

[Resolved] Using this outside the post

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Rene Hermenau

    @renehermi

    Hi,

    its working everywhere on the site, not only in post content.

    Kind regards,
    Rene

    Hi Rene,

    Thanks for the confirmation. I’ll give it a shot and provide ratings.

    Kind Regards,

    Arvy

    Plugin Author Rene Hermenau

    @renehermi

    Hi Arvy,

    Try it and when u recognize any issue with other plugin, let me know and i solve it.

    Cheers, René

    Hi Rene,

    I tried installing this on the blog however it creates errors. Basically jQuery seemed to load, hence in the console $ becomes undefined.

    I’m loading jQuery from the googleapis cdn.

    Has this happen to you before?

    Ok, so it seems I have to enclose some of the custom jQuery functions with jQuery(function($) {

    })

    All seems working for now.

    Plugin Author Rene Hermenau

    @renehermi

    Are this functions custom ones made by you? Is there any workaround i can integrate to prevent that issue?

    I appreciate your rating very much:)

    Hi Rene,

    Yeah these are custom scripts made by me. It’s always a good idea to test with jQuery instead of $ anyway.

    I don’t think a workaround is needed at the moment, perhaps just mention it in your readme or faq. I’m not sure which part of your plugin (if indeed) is overriding $ though.

    I’ll give this a run for a week or so and will get back to you.

    The website is http://www.codingepiphany.com. Your plugin seems to be working fine so far.

    Kind Regards,

    Arvy

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Using this outside the post’ is closed to new replies.