ThemeShaper Forums » Thematic

[closed]

Thematic theme conflict with Nivo Slider WordPress plugin from Dev7 studios

(2 posts)
  • Started 8 years ago by benjaminprojas
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. benjaminprojas
    Member

    I have recently been developing a site using the Thematic plugin. Love it so far!

    I am getting a js conflict with a specific plugin which breaks the plugin in the admin panel. The plugin still works great on the site. When thematic is disabled (default Twenty-Eleven theme activated) the plugin works fine. The error I am getting looks like this:

    http://cl.ly/0E1F1i0B1N3Q1H2d150I

    any thoughts? I am not sure where to begin looking to resolve this.

    Posted 8 years ago #
  2. your link is not found. i use nivo all the time, and have used it w/ thematic. make sure you are properly enqueing it using something like

    function enqueue_nivo(){
      wp_enqueue_script('nivo','path-to-nivo.js',array('jquery'));
    }
    add_action('wp_enqueue_scripts','enqueue_nivo');

    i'm finding that wp_enqueue_scripts is the best hook for front end scripts. you can test for templates and it only runs on the font end. there is a wp_enqueue_admin_scripts (i think) that runs on the backend.

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.