missing breadcrumbs for paged date breadcrumb
-
For my date archive page,
breadcrumbs are shown correctly on page 1:
Home > 2014 > JanuaryHowever, when I navigate to page 2, the breadcrumbs:
Home > > > Page 2I notice get_the_date(‘F’) and get_the_date(‘Y’) are blank when paged is 2 or more.
This is my development pages (its in chinese, and it may be down from time to time…sorry):
Page 1 – Month: https://local.doulaeasy.com/archive/2014/10/page/1/
Page 2 – Month: https://local.doulaeasy.com/archive/2014/10/page/2/Page 1 – Year: https://local.doulaeasy.com/archive/2014/page/1/
Page 2 – Year: https://local.doulaeasy.com/archive/2014/page/2/Code to retrieve archive posts:
$wp_query = new WP_Query(array( 'year' => $year, 'monthnum' => $month, // 'date_query' => array( // array( // 'year' => $year, // 'month' => $month // ) // ), 'cat' => '-1', 'posts_per_page' => ConfigService::get('posts_per_page_archive'), 'paged' => $page_num, ));
Many thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘missing breadcrumbs for paged date breadcrumb’ is closed to new replies.