Results 1 to 3 of 3

Thread: jCarouselLite not imported on Pages?

  1. #1
    Thread Starter
    Amateur findlorenz's Avatar
    Join Date
    Apr 2011
    Posts
    19
    Thanks
    0
    Thanked 1 Time in 1 Post

    jCarouselLite not imported on Pages?

    I have a few pages that I want to use the Featured Ads slider, and noticed my javascript wasn't working on those pages. I did some digging and found that the javascript error was due to jCarouselLite not being imported. More digging and I found this

    Code:
    if ( get_option($app_abbr.'_enable_featured') == 'yes' && is_home() ) {
      wp_enqueue_script('jqueryeasing', get_bloginfo('template_directory').'/includes/js/easing.js', array('jquery'), '1.3');
      wp_enqueue_script('jcarousellite', get_bloginfo('template_directory').'/includes/js/jcarousellite_1.0.1.js', array('jquery', 'jquery-ui-slider'), '1.0.1');
    }
    What I'm wondering then, is if this "is_home" check will be reconsidered. It's unfortunate that the featured ads slider can only be on the home page. Will there be any significant performance issues if I take this is_home check out and have jcarousellite loaded all the time?

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,958
    Thanks
    169
    Thanked 3,405 Times in 3,276 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Amateur findlorenz's Avatar
    Join Date
    Apr 2011
    Posts
    19
    Thanks
    0
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. old imported indeed jobs not deleted
    By zeekzeek in forum Report JobRoller Bugs
    Replies: 1
    Last Post: June 5th, 2011, 05:34 PM
  2. No Pages?
    By chrisshelby3 in forum Report Clipper Bugs
    Replies: 3
    Last Post: April 1st, 2011, 09:18 AM