WordPress.org

Ready to get started?Download WordPress

Forums

Boilerplate
Loop Typo - wrong ending tag line 171 (2 posts)

  1. Pale Rose
    Member
    Posted 5 months ago #

    I was customizing the Category Archive template when I had an issue - there was an extra </div> somewhere, messing up the page. A bit of digging revealed it was in the loop.php on line 171.

    <?php /* Display navigation to next/previous pages when applicable */ ?>
    <?php if (  $wp_query->max_num_pages > 1 ) : ?>
    	<nav id="nav-below" class="navigation">
    		<div class="nav-previous"><?php next_posts_link( __( '&larr; Older posts', 'boilerplate' ) ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( __( 'Newer posts &rarr;', 'boilerplate' ) ); ?></div>
    	</div><!-- #nav-below -->
    <?php endif; ?>

    See where it says <!-- #nav-below -->? That should be </nav>. Thought you should know.

  2. Aaron T. Grogg
    Member
    Theme Author

    Posted 5 months ago #

    hey, Pale Rose, which version are you using?

    4.4.1 shows the correct closing </nav>:
    http://themes.svn.wordpress.org/boilerplate/4.4.1/loop.php

Reply

You must log in to post.

About this Theme

About this Topic

Tags