Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter pcdoc231

    (@pcdoc231)

    Plugin Author bhaldie

    (@bhaldie)

    You theme you are using is loading a bootstrap.js file this is conflicting with the mDocs bootstrap file.

    mDocs is using WordPress best practise when adding scripts so to correct your issue please update your theme with this:

    $handle = 'bootstrap.min.js';
    $list = 'enqueued';
    if (wp_script_is( $handle, $list )) { return; }
    else {
        wp_register_style( 'bootstrap-style', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css');
        wp_enqueue_style( 'bootstrap-style' );
        wp_register_script( 'bootstrap.min.js', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js');
        wp_enqueue_script( 'bootstrap.min.js' );
    }
    Thread Starter pcdoc231

    (@pcdoc231)

    Thank you – which file do I modify?

    Plugin Author bhaldie

    (@bhaldie)

    this would usually go into the themes functions.php file.

    Thread Starter pcdoc231

    (@pcdoc231)

    Awesome – thanks! Working now.

    Thread Starter pcdoc231

    (@pcdoc231)

    download works. Description and preview not working

    Plugin Author bhaldie

    (@bhaldie)

    it didn’t work you still have 2 bootstrap.js files loaded. You need to find where your theme is loading it and remove it.

    Thread Starter pcdoc231

    (@pcdoc231)

    OK, just I am clear. I find the pages and ad that code you posted?

    Plugin Author bhaldie

    (@bhaldie)

    for now remove the code i provided, seem to break thing more. And find where your theme is loading the bootstrap.js file and remove it.

    Thread Starter pcdoc231

    (@pcdoc231)

    getting closer. the preview opens, but hangs

    Plugin Author bhaldie

    (@bhaldie)

    also remove the bootstrap.css file as well.

    Thread Starter pcdoc231

    (@pcdoc231)

    no effect

    Thread Starter pcdoc231

    (@pcdoc231)

    I tried different themes, none of them worked. Do you have themes this works for out of the box?

    Thread Starter pcdoc231

    (@pcdoc231)

    I have my workaround. I have reassessed my needs for preview and I have removed that : -0 I’m happy now. Thank you very much for all your assistance

    Plugin Author bhaldie

    (@bhaldie)

    no problem,

    to answer your above question, if changing the theme doesn’t work it maybe a plugin.

    Just a thought.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘I do not get any click options’ is closed to new replies.