• I have the following code for my template page that posts the text for testimonials posts on one page.

    http://www.filmjackets.com/current/testimonials/

    The issue I have is that when a user rates one of the posts, the title of that post shows at the bottom of each excerpt. Once a new testimonial is posted with no rating, these repeated titles go away until a post is rated again.

    The code is as follows:

    <?php
    /*
    
    Template Name: Testimonials
    
    */
    
    $catquery = new WP_Query( 'cat=113&posts_per_page=30' );
    while($catquery->have_posts()) : $catquery->the_post();
    ?>
    
    <?php get_header(); ?>
    
    <ul>
    <?php the_content(); ?>
    </ul>
    
    <?php endwhile; ?>
    <?php get_footer(); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template Repeating User Rating’ is closed to new replies.