• Resolved Dougless

    (@dougless)


    Hi !

    The code I am struggelign with is this piece:

    <?php query_posts('posts_per_page=8'); while(have_posts()) : the post(); ?>
    <a href = "<?php the_permalink(); ?>" class = "list-group-item">
    <h4 class = "list-group-item-heading"><?php the_title(); ?></h4>
    <p class = "list-group-item-text">Posted by <?php the_author(); ?> on <?php the_time('F jS, Y'); ?></p>
    </a>
    <?php endwhile; wp_reset_query(); ?>

    I cannot find the issue and i know this is the piece of code which is bugging because when i remove it from the file the page is able to load.

    Please help me with this issue 🙂

    Best regards,

    Dougless

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Issue with sidebar (bootstrap template)’ is closed to new replies.