Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2350

    Hi there, I created a WordPress Theme and I’m attempting to implement Avia Slider into it. I can get it to work fine if I test it outside of wordpress, but due to where the template files and images are located I think it’s looking in the wrong folder. I can’t find a reference to the images or layout folder in the script. Is there anyway to manually point Avia to the resources? Thanks, and great job btw!

    #37677

    You need to adjust the source path of jquery.aviaSlider.min.js and style.css you can do this by

    1) Absolute paths or

    by using a wordpress function like:

    get_bloginfo( 'url' );

    or:

    get_bloginfo('template_url');

    For more infos have a look at this page: http://codex.wordpress.org/Function_Reference/get_bloginfo

    #37678

    I just purchased AviaSlider as well. Same issue, working great outside of wordpress. I am trying to get it to work using absolute paths first but getting white space the size of the image. Code includes in page fine, but images not showing up.

    Include Code

    <?php include(‘slider.php’); ?>

    Slider Page Code

    <!– ########## CSS Files ########## –>

    <!– Screen CSS –>

    <link rel=”stylesheet” href=”http://www.convergentz.com/wp-content/themes/twentyeleven/css/style.css” type=”text/css” media=”screen” />

    <!– lightbox CSS –>

    <link rel=”stylesheet” href=”http://www.convergentz.com/wp-content/themes/twentyeleven/js/prettyPhoto/css/prettyPhoto.css” type=”text/css” media=”screen” />

    <!– ########## end css ########## –>

    <!– JAVASCRIPT GOES HERE –>

    <script type=’text/javascript’ src=’http://www.convergentz.com/wp-content/themes/twentyeleven/js/jquery.js’></script>

    <script src=”http://www.convergentz.com/wp-content/themes/twentyeleven/js/prettyPhoto/js/jquery.prettyPhoto.js” type=”text/javascript”></script>

    <!–this file includes the aviaslider: –>

    <script type=’text/javascript’ src=’http://www.convergentz.com/wp-content/themes/twentyeleven/js/jquery.aviaSlider.js’></script>

    <!–this file includes the activation call for the avia slider. You should edit here: –>

    <script type=’text/javascript’ src=’http://www.convergentz.com/wp-content/themes/twentyeleven/js/custom.js’></script>

    <ul class=’aviaslider’ id=”frontpage-slider”>

  • Thanks for your help.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Avia Slider in WordPress Theme’ is closed to new replies.