Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, I’d recommend confirming that your theme meets SLB’s requirements to make sure it will work properly.

    If your theme meets the necessary requirements, please provide an example of a theme page (e.g. single.php) and I would be glad to take a closer look.

    Plugin Author Archetyped

    (@archetyped)

    Hi, are you still experiencing an issue with SLB? If so, please provide the requested details and I would be glad to take a look.

    This ticket will be closed in 24 hours due to inactivity.

    Thread Starter HeadyRules

    (@headyrules)

    Hi, sorry for the late reply.

    I did check out the reqs and my conclusion is that my theme somehow does not allow any other jquery versions other than the one i included myself.. I just don’t know how to fix this.

    kind regards

    Plugin Author Archetyped

    (@archetyped)

    Hi, how are you currently loading jQuery? If you are using wp_enqueue_script() (documentation) to load the version of jQuery officially supported by WordPress, then SLB should function normally.

    If you are loading jQuery in a different way, it is recommended that you use wp_enqueue_script() (see documentation above) to load the official version.

    Thread Starter HeadyRules

    (@headyrules)

    Hi,

    i am loading jquery via functions.php with the function:
    function template_header_scripts()
    {
    if ($GLOBALS[‘pagenow’] != ‘wp-login.php’ && !is_admin()) {

    wp_register_script(‘conditionizr’, get_template_directory_uri() . ‘/js/lib/conditionizr-4.3.0.min.js’, array(), ‘4.3.0’); // Conditionizr
    wp_enqueue_script(‘conditionizr’); // Enqueue it!

    wp_register_script(‘modernizr’, get_template_directory_uri() . ‘/js/lib/modernizr-2.7.1.min.js’, array(), ‘2.7.1’); // Modernizr
    wp_enqueue_script(‘modernizr’); // Enqueue it!

    wp_register_script(‘templatescripts’, get_template_directory_uri() . ‘/js/scripts.js’, array(‘jquery’), ‘1.0.0’); // Custom scripts
    wp_enqueue_script(‘templatescripts’); // Enqueue it!
    }
    }

    Plugin Author Archetyped

    (@archetyped)

    Hi, based on that code alone, it looks like jQuery should be loading properly. Can you please provide a link to a page that exhibits the issue you are experiencing and I would be glad to take a closer look.

    Thread Starter HeadyRules

    (@headyrules)

    Hello and thank you for your help.

    I fixed the problem yesterday, the problem was that on one page template, the footer was not loaded correctly. That caused all plugins that loaded their jquery in the footer to have problems, while others worked perfectly fine – that’s why it looked like it was an issue connected to a single plugin at first.

    Plugin Author Archetyped

    (@archetyped)

    Ah, glad to hear you were able to find the cause of your issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How can i resolve theme conflict?’ is closed to new replies.