WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Videozoom] Featured Content Slider Breaks w/Wordpress 3.5 (6 posts)

  1. dasavure
    Member
    Posted 1 year ago #

    Hey, after installing WordPress 3.5, the content slider failed to work. When I click on one of the other posts, it just redirects me to the top of the page.

    Website: http://www.hipstrumentals.com

    Please help,
    Thank you.

  2. dasavure
    Member
    Posted 1 year ago #

    This is the code for the slider if needed:

    <?php
    $args = array('showposts' => $wpzoom_featured_posts_posts, 'orderby' => 'date', 'order' => 'DESC');

    $featType = $wpzoom_featured_type;

    if ($featType == 'Tag')
    {
    $args['tag'] = "$wpzoom_featured_slug"; // Breaking tag slug
    }
    elseif ($featType == 'Category')
    {
    $args['cat'] = "$wpzoom_featured_slug"; // Breaking tag slug
    }
    ?>
    <div id="featPosts">
    <div id="featPostsBig">
    <div class="container">

    <?php
    query_posts($args);
    $i = 0;
    if ( have_posts() ) : ?>

    <?php $AE = new AutoEmbed(); // loading the AutoEmbed PHP Class ?>

    <ul class="slides">
    <?php while (have_posts()) : the_post(); update_post_caches($posts); $i++;
    unset($videocode);
    $videocode = get_post_meta($post->ID, 'wpzoom_post_embed_code', true);
    ?>
    <li class="slide">

    <?php
    if ($videocode && $AE->parseUrl($videocode)) {
    $AE->setParam('wmode','transparent');
    $AE->setParam('autoplay','false');
    $AE->setHeight(260);
    $AE->setWidth(450);

    ?><div class="cover"><?php echo $AE->getEmbedCode(); ?></div><?php
    } else {
    ?>

    <?php unset($img);
    if ( current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail() ) {
    $thumbURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), '' );
    $img = $thumbURL[0];
    }

    else {
    unset($img);
    if ($wpzoom_cf_use == 'Yes')
    {
    $img = get_post_meta($post->ID, $wpzoom_cf_photo, true);
    }
    else
    {
    if (!$img)
    {
    $img = catch_that_image($post->ID);
    }
    }
    }

    if ($img){ ?>
    <div class="cover">" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=275&w=450&zc=1" alt="<?php the_title(); ?>" width="450" height="275" /></div>
    <?php } // if an image exists
    } // if a video does not exist ?>
    <div class="postcontent">
    <p class="postmetadata"><?php the_time("$dateformat"); ?> / <?php the_category(', '); ?> / <?php the_author_posts_link(); ?></p>
    <h2>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>
    <?php the_excerpt(); ?>
    <p class="more">" title="<?php the_title(); ?>" rel="nofollow">Continue reading » <?php edit_post_link( __('Edit this post'), ' | ', ''); ?></p>
    </div>

    <?php endwhile; ?>

    <?php endif; ?>
    <div class="cleaner"> </div>
    </div><!-- end .container -->

    </div><!-- end #featPostsBig -->

    <?php
    query_posts($args);
    $i = 0;
    if ( have_posts() ) : ?>
    <div id="featPostsSmall">

    <ul class="pagination">
    <?php while (have_posts()) : the_post(); update_post_caches($posts); $i++; ?>
    <li<?php if ($i == 6) {$i = 0; echo " class=\"last\"";} ?>><span></span><?php unset($img);
    if ( current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail() ) {
    $thumbURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), '' );
    $img = $thumbURL[0];
    }

    else {
    unset($img);
    if ($wpzoom_cf_use == 'Yes')
    {
    $img = get_post_meta($post->ID, $wpzoom_cf_photo, true);
    }
    else
    {
    if (!$img)
    {
    $img = catch_that_image($post->ID);
    }
    }
    }

    if ($img){ ?><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=98&w=135&zc=1" alt="<?php the_title(); ?>" width="135" height="98" /><?php } ?>
    <?php endwhile; ?>

    <div class="cleaner"> </div>

    </div><!-- end #featPostsSmall -->
    <?php endif; ?>
    Prev
    Next
    </div><!-- end #featPosts -->
    <?php wp_reset_query(); ?>

    <script type="text/javascript" charset="utf-8">
    jQuery(document).ready(
    function($)
    {
    $('#featPosts').loopedSlider({
    autoHeight: true,
    containerClick: false,
    slidespeed: 500,
    pauseOnHover: <?php if ($wpzoom_slideshow_pause == 'Yes') { ?>true<?php } ?> <?php if ($wpzoom_slideshow_pause == 'No') { ?>false<?php } ?>,
    addPagination: true,
    autoStart: <?php if ($wpzoom_slideshow_auto == 'Yes') { ?><?php echo "$wpzoom_slideshow_speed"; ?><?php } ?> <?php if ($wpzoom_slideshow_auto == 'No') { ?>0<?php } ?>
    });
    });
    </script>

  3. border
    Member
    Posted 1 year ago #

    Please can upload your file wpzoom featured posts.php
    My site is working on Videozoom v.1 and wordpress 3.5

  4. jucaalca
    Member
    Posted 1 year ago #

    hi!! I need help!!!

    I don't speak well english but this the problem....

    I install v3.5 wordpress, and my slider die!!! jejejeje... no really yes!!!

    I can modify my slider with the theme, but know I can't:

    <div class="feature-top clear"></div>
    <div id="feature" class="clear">
    <div class="feature-main">
    <div class="container">
    <div class="slides">

    <div id="slide-1" class="slide">
    <img width="600" height="200" src="<?php bloginfo( 'template_url' ); ?>/images/..." class="feature-photo wp-post-image" />
    <h3>titulo</h3>
    <p>descripcion
    Leer más</p>
    </div>

    <div id="slide-2" class="slide">
    <img width="600" height="200" src="<?php bloginfo( 'template_url' ); ?>/images/..." class="feature-photo wp-post-image" />
    <h3>titulo</h3>
    <p>descripcion
    Leer más</p>
    </div>

    the slider moves alone but know is static!!

    Please please HELP ME!!!!

    Thank...

  5. pumajoe
    Member
    Posted 1 year ago #

    Is there a fix for this yet?

  6. panson
    Member
    Posted 1 year ago #

    I have the same promble,and I still don't how to fix it!

Topic Closed

This topic has been closed to new replies.

About this Topic