• I have just modified a theme and without testing it first I have ran into a jquery problem. When you go to my page (https://lift-snowboarding.com/) theres suppose to be a slider in the top left hand shoulder but instead it is just white instead of any animation. I have used “articleimg” in the post options but that didn’t work besides having a picture for the post on the bottom.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter oliverw

    (@oliverw)

    BUMP! Please help

    I notice you’re using jquery cycle plugin (https://jquery.malsup.com/cycle/) on your site with jquery version 1.3.2.

    I don’t know if this will help at all but for all sites that I’ve used the jquery cycle plugin on, it only worked with jquery version 1.2.6

    I’m not sure if that’s the issue you’re experiencing (I didn’t go through your code where you defined the cycle) but, it’s worth trying.

    Good luck.

    Thread Starter oliverw

    (@oliverw)

    I have tried using version 1.2.6 but it still didn’t work is it possible that instead of “articleimg” I have to use something else? I have tried other themes and I seem to be having the same issue with the image not appearing.

    your jQuery looks to be working fine, you just dont have any images in the HTML to manipluate – just empty A tags

    Thread Starter oliverw

    (@oliverw)

    I understand that I have empty tags in my html when I look at my page source I can see that. But what file do I edit or add the picture codes into?

    this is my:
    Featured.php file

    <!– begin featured –>
    <div class=”fwrapper”>
    <div id=”featured-img”>
    <div id=”featured”>
    <div class=”featured”>
    <?php
    $tmp_query = $wp_query;
    query_posts(‘cat=’ . get_cat_ID(dp_settings(‘featured’)));
    if (have_posts()) :
    $first = true;
    while (have_posts()) : the_post();
    ob_start();
    ?>
    <li<?php if ($first) echo ‘ class=”first”‘; ?>>“><?php dp_attachment_image($post->ID, ‘full’, ‘alt=”‘ . $post->post_title . ‘”‘); ?>
    <?php
    $photos .= ob_get_clean();
    ob_start();
    ?>
    <li<?php if ($first) echo ‘ class=”first”‘; ?>>
    <h2>“><?php the_title(); ?></h2>
    <p><?php echo dp_clean($post->post_content, 300); ?></p>

    <?php
    $text .= ob_get_clean();
    $first = false;
    endwhile;
    endif;
    ?>
    <ul class=”photo”>
    <?php echo $photos; ?>

    <ul class=”text”>
    <?php echo $text; ?>

    </div>
    </div>
    </div>
    </div>
    <?php $wp_query = $tmp_query; ?>
    <!– end featured –>

    For some reason I think it is missing this? and if it is where exactly do I add it into?

    <?php if (get_post_meta($post->ID,”articleimg”,true) != ”): ?>
    ID,”articleimg”,true); ?>” />
    <img src=”<?php echo get_post_meta($post->ID,”articleimg”,true); ?>” alt=”” />

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Jquery Slideshow’ is closed to new replies.