WordPress.org

Support

Support » Themes and Templates » Horizontal Scroll Theme Problems

Horizontal Scroll Theme Problems

  • I’m working on a horizontal scroll theme which can be found here:

    http://dreamsandegos.com/project/

    My problem is that as you scroll, the posts just repeat over and over. I’m not sure what to do to fix it. I’ve tried many things but not luck. Some guidance would be appreciated.

    My loop.php files is as follow:

    <?php get_header(); ?>
    <?php query_posts(array('post__not_in'=>$do_not_duplicate));
     if (have_posts()) : while (have_posts()) : the_post();
     ?> 
    
            <div class="entry" <?php post_class('post clear'); ?> id="post_<?php the_ID(); ?>">
                <h2 class="post-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    	    <div class="post-meta">
    		<span class="post-date"><?php the_time(__('M j, Y')) ?></span> &bull;
    		<span class="post-comments"><?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments'), '', __('Comments Closed')); ?></span>
    		<span class="edit-link"><?php edit_post_link( __( 'Edit'), ' | '); ?></span></p>
                </div>
                <div class="post-content"><?php the_content();?></div>
    	</div>
    
    <?php endwhile; ?>
    <?php endif; ?>

    index.php is as follows:

    <?php get_header(); ?>
    
    <?php get_template_part('loop'); ?>
    
    <?php get_footer(); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Horizontal Scroll Theme Problems’ is closed to new replies.