[Resolved] Featured Post Slider Order Messed Up
I just started a website http://www.gameplayonstream.com and have been learning a lot. I have finally gotten stumped, The Featured Poste slide on the front page is working, but I cant figure out why the order is out of sink. I tried changing the slider.php on the ftp, but cant figure anything out. I would imagine it would have something to do with here.
<div id=”movers-row” class=”group”>
<?php /* the $i variable is vital for making the slider work, do not remove */
$i = 1; while ($query->have_posts()) : $query->the_post(); ?>
<?php $thumb = get_the_post_thumbnail($post->ID, array(42,42), array(‘class’ => ‘nav-thumb ‘)); ?>
<?php $i++; endwhile; $i = 1; /* the $i variable is vital for making the slider work, do not remove */ ?>
</div><!– /movers-row –>
<?php wp_reset_query(); ?>
I usually take to the inspect element window to learn an idea how it works, I did manage to fix it in there, but as we all know that really means nothing, but it may help with whats going on. the script I changed was
there are 4 of these, one for each featured post. I could locate this script for each one, and change the number after “a href=#”. eg. instread of
that would change the information to the right slider. I may just be rambling, but hopefully you can give some sort of direction. Thanks in advance.
- The topic ‘[Resolved] Featured Post Slider Order Messed Up’ is closed to new replies.