BP GTM System
[resolved] Jquery fix (4 posts)

  1. clayborn
    Posted 3 years ago #

    Fantastic component _ I had a Jquery conflict between tinymce - datepicker and the comments form input that broke it and found the solution :
    if you have such a problem: open "en_GB.js" and replace the first line (stop before the "{" ) with `var $ = jQuery.noConflict();
    save and close.
    Then open "global.js" and replace the same opening jQuery statement with `"var jQuery = $.noConflict();

    conflict fixed.


  2. clayborn
    Posted 3 years ago #

    btw I have a question :

    please, what do I have to do in order to be able to display images in the comments output ?

    I modified the jQuery - as stated above - and the php files with wp_editor but I can' t get images to display ; there is only a [0x0] hardcoded and therefore invisible a href for each picture.I just don't get it.

  3. clayborn
    Posted 3 years ago #

    fixed - thank you

  4. bruce-s
    Posted 3 years ago #

    Excellent - thank you very much - worked a treat...

    This is what I have in en_GB.js

    1. var $ = jQuery.noConflict();
    2. jQuery(document).ready(function($){
    3. $.datepicker.regional['en_GB'] = {

    And global.js

    1. var jQuery = $.noConflict();
    2. jQuery(document).ready(function($) {
    3. if (typeof ajaxurl == 'undefined')

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic