Horizontal Scroll Theme Problems (3 posts)

  1. dreamsandegos
    Posted 4 years ago #

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


    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 class="post-content"><?php the_content();?></div>
    <?php endwhile; ?>
    <?php endif; ?>

    index.php is as follows:

    <?php get_header(); ?>
    <?php get_template_part('loop'); ?>
    <?php get_footer(); ?>
  2. Just having a look now and I see three different posts. Am I to assume that you found the solution?

  3. dreamsandegos
    Posted 4 years ago #

    No, still haven't found a solution.

Topic Closed

This topic has been closed to new replies.

About this Topic