WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
[resolved] jQuery Enqueue in Admin Problem (3 posts)

  1. allancole
    Member
    Posted 4 years ago #

    You may want to add a conditional (!is_admin) statement to you jQuery enqueue so that you’re only swapping jQuery in the front-end. The jQuery swap is causing conflicts for me in the backend (Navigation dropdowns not working, etc). Once I commented out your jQuery enqueue, everything went back to normal.

    Also, It’s pretty common to have an option for users to choose whether or not they want their jQuery pulled in externally or not — you might want to think about that as well.

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 4 years ago #

    Hi allacole,

    Actually, I decided to drop the jQuery swapping because of what you mentioned about the backend issues. WordPress Popular Posts v2.1.3 no longer does this.

    Thanks for your feedback!

  3. allancole
    Member
    Posted 4 years ago #

    OK Cool! :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic