parent
c4eeba9d3a
commit
ffdf78867e
|
@ -62,12 +62,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
<h2><?php echo esc_html__( 'Posts by', 'understrap' ) . ' ' . esc_html( $curauth->nickname ); ?>:</h2>
|
<h2><?php echo esc_html__( 'Posts by', 'understrap' ) . ' ' . esc_html( $curauth->nickname ); ?>:</h2>
|
||||||
|
|
||||||
</header><!-- .page-header -->
|
</header><!-- .page-header -->
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<!-- The Loop -->
|
<!-- The Loop -->
|
||||||
<?php
|
<?php
|
||||||
if ( have_posts() ) {
|
if ( have_posts() ) {
|
||||||
|
echo '<ul>';
|
||||||
while ( have_posts() ) {
|
while ( have_posts() ) {
|
||||||
the_post();
|
the_post();
|
||||||
echo '<li>';
|
echo '<li>';
|
||||||
|
@ -82,14 +80,13 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
the_category( '&' );
|
the_category( '&' );
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
}
|
}
|
||||||
|
echo '</ul>';
|
||||||
} else {
|
} else {
|
||||||
get_template_part( 'loop-templates/content', 'none' );
|
get_template_part( 'loop-templates/content', 'none' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<!-- End Loop -->
|
<!-- End Loop -->
|
||||||
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main><!-- #main -->
|
||||||
|
|
||||||
<!-- The pagination component -->
|
<!-- The pagination component -->
|
||||||
|
|
Reference in New Issue