Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Custom Archive Page WordPress

  • SOLVED

On this site: [[LINK href="http://sr2.stephanaschwartz.com/"]]SR Test[[/LINK]] I would like to get Monthly archives listing all posts by day like this:
[[LINK href="http://www.schwartzreport.net/archive_list.php?m=07&y=2014"]]Example Archive[[/LINK]].

This is the current archive.php code:


<?php

function render_content() {

?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();

if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}

if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;

rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- title, meta, and date info -->
<ul class="daily">
<li><a href="<?php the_permalink(); ?>"><span><?php echo get_the_time('d');?> - <?php echo get_the_time('M');?> | <?php echo get_the_time('Y'); ?> |</span><?php the_title();?></a></li></ul>

<!-- categories, tags and comments -->
<div class="entry-footer clearfix">

<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->

<?php endwhile; // end of one post ?>
</div>

<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php

}

add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Answers (2)

2014-08-11

timDesain Nanang answers:

do you want to display the custom archive for monthly archive only (http://sr2.stephanaschwartz.com/2014/08/)?

need to override the query for monthly archive:
1. order to asc
2. posts_per_page to all


<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">

<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
//override the query
global $query_string; //addition
query_posts( $query_string . '&ignore_sticky_posts=1&posts_per_page=-1&order=asc' );//addition

$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;

rewind_posts();
?>
</h4>
</div>

<div class="loop-content">

<?php $ymd_old = ''; ?>
<?php while (have_posts()) : the_post(); ?>
<?php
if ( is_month() ) {
$ymd = get_the_date('Y-m-d');
if($ymd <> $ymd_old ) {
echo '<h2 class="daily">'.get_the_date('Y-m-d').'</h2>';
}
$ymd_old = $ymd;
?><div id="post-<?php the_ID(); ?>" <?php post_class(); ?>><a href="<?php the_permalink(); ?>"><?php the_title();?></a></div><?
}
else{
?><div id="post-<?php the_ID(); ?>" <?php post_class(); ?>><a href="<?php the_permalink(); ?>"><?php the_title();?></a></div>
<div><?php the_excerpt();?></div>
<?
}
?>
<?php endwhile; // end of one post ?>

</div>

<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>

</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php
}
add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Beth Alexander comments:

timDesain Nanang Perfect!! Thanks!

2014-08-11

Romel Apuya answers:

You must use the

<?php wp_get_archives( array( 'type' => 'daily', 'limit' => 15 ) ); ?>


Romel Apuya comments:

<?php
function render_content() {


?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
??
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- title, meta, and date info -->
<ul class="daily">
<?php wp_get_archives( array( 'type' => 'daily', 'limit' => 15 ) ); ?>
</ul>
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php

}
add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Beth Alexander comments:

Thanks but not what I was looking for. I need each post title per day listed.


Romel Apuya comments:

right i think this one

<?php
function render_content() {


?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
??
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- title, meta, and date info -->
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
}
?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php
$day_check = $day;
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php

}
add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Beth Alexander comments:

Closer but throwing errors


Romel Apuya comments:

sorry was in a hurry...

this one should have no error

<?php
function render_content() {


?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
??
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- title, meta, and date info -->
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
}
?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php
$day_check = $day;
?>
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php

}
add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Romel Apuya comments:

<?php
function render_content() {


?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
??
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
}
?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php
$day_check = $day;
?>
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php

}
add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Romel Apuya comments:

right... this should be it...


<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
}
?>
<li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
<?php
$day_check = $day;
?>
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php

}
add_action( 'builder_layout_engine_render_content', 'render_content' );
do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Romel Apuya comments:

FInally... this one... after checking back code in editor



<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
}
?>
<li>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</li>
<?php
$day_check = $day;
?>
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php
}
add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Beth Alexander comments:

Getting close. Ideally would like to see this format:

Tuesday, 29 July 2014

Post Title

Post Title

Post Title

Post Title

Post Title



Wednesday, July 2014

Post Title

Post Title

Post Title

Post Title

Post Title




Romel Apuya comments:

how does it look currently with the code??


Romel Apuya comments:

<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date('l, F j, Y') . '<ul>';
}
?>
<li>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</li>
<?php
$day_check = $day;
?>
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php
}
add_action( 'builder_layout_engine_render_content', 'render_content' );
do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Beth Alexander comments:

Currently shows:

Tuesday, 29 July 2014

Post Title

Tuesday, 29 July 2014

Post Title

Tuesday, 29 July 2014

Post Title

Wednesday, 30 July 2014

Post Title

Wednesday, 30 July 2014

Post Title


Beth Alexander comments:

It's not the date format I'm wanting to change.

Would like the Date followed by a list of each post title for that day.


Romel Apuya comments:

<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
?>
<li>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</li>
<?php
}
$day_check = $day;
?>
<!-- categories, tags and comments -->
<div class="entry-footer clearfix">
<div class="entry-meta alignleft">
<?php wp_link_pages( array( 'before' => '<div class="entry-utility entry-pages">' . __( 'Pages:', 'it-l10n-Builder-Coverage' ) . '', 'after' => '</div>', 'next_or_number' => 'number' ) ); ?>
<?php the_tags( '<div class="tags">' . __( 'Tags : ', 'it-l10n-Builder-Coverage' ), ', ', '</div>' ); ?>
</div>
</div>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php
}
add_action( 'builder_layout_engine_render_content', 'render_content' );
do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Romel Apuya comments:

<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
}
?>
<li>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</li>
<?php
$day_check = $day;
?>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
<?php if ( have_posts() ) : ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php
}
add_action( 'builder_layout_engine_render_content', 'render_content' );
do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Beth Alexander comments:

There is a syntax error somewhere in the last one


Romel Apuya comments:

<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
?>
<li>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</li>
<?php } ?>
<?php
$day_check = $day;
?>
</div>
<!-- end .post -->
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php
}
add_action( 'builder_layout_engine_render_content', 'render_content' );
do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


Romel Apuya comments:

<?php
function render_content() {
?>
<?php if ( have_posts() ) : ?>
<div class="loop">
<div class="loop-header">
<h4 class="loop-title">
<?php
the_post();
if ( is_category() ) { // Category Archive
$title = sprintf( __( '%s', 'it-l10n-Builder-Coverage' ), single_cat_title( '', false ) );
}
else if ( is_tag() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), single_tag_title( '', false ) );
}
else if ( is_tax() ) { // Tag Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), builder_get_tax_term_title() );
}
else if ( function_exists( 'is_post_type_archive' ) && is_post_type_archive() && function_exists( 'post_type_archive_title' ) ) { // Post Type Archive
$title = post_type_archive_title( '', false );
}
else if ( is_author() ) { // Author Archive
$title = sprintf( __( 'Author Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_author() );
}
else if ( is_year() ) { // Year-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'Y' ) );
}
else if ( is_month() ) { // Month-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_time( 'F Y' ) );
}
else if ( is_day() ) { // Day-Specific Archive
$title = sprintf( __( 'Archive for %s', 'it-l10n-Builder-Coverage' ), get_the_date() );
}
else if ( is_time() ) { // Time-Specific Archive
$title = __( 'Time Archive', 'it-l10n-Builder-Coverage' );
}
else { // Default catchall just in case
$title = __( 'Archive', 'it-l10n-Builder-Coverage' );
}
if ( is_paged() )
printf( '%s &ndash; Page %d', $title, get_query_var( 'paged' ) );
else
echo $title;
rewind_posts();
?>
</h4>
</div>
<div class="loop-content">
<?php while ( have_posts() ) : // The Loop ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<?php
$day_check = '';
$day = get_the_date('j');
if ($day != $day_check) {
if ($day_check != '') {
echo '</ul>'; // close the list here
}
echo get_the_date() . '<ul>';
}
?>
<li>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a>
</li>


</div>
<!-- end .post -->

<?php
$day_check = $day;
?>
<?php endwhile; // end of one post ?>
</div>
<div class="loop-footer">
<!-- Previous/Next page navigation -->
<div class="loop-utility clearfix">
<div class="alignleft"><?php previous_posts_link( __( '&larr; Previous Page', 'it-l10n-Builder-Coverage' ) ); ?></div>
<div class="alignright"><?php next_posts_link( __( 'Next Page &rarr;', 'it-l10n-Builder-Coverage' ) ); ?></div>
</div>
</div>
</div>
<?php else : // do not delete ?>
<?php do_action( 'builder_template_show_not_found' ); ?>
<?php endif; // do not delete ?>
<?php
}
add_action( 'builder_layout_engine_render_content', 'render_content' );
do_action( 'builder_layout_engine_render', basename( __FILE__ ) );