> > ', '' ); ?>
' . "\n";
echo '' . "\n";
echo '' . "\n";
echo '' . "\n";
echo '' . "\n";
// If not, then display the Site Title and Site Description.
elseif ( display_header_text() ) :
echo '
> > ', '' ); ?>
' . stripslashes( $footer_text ) . '
'; } endif; if ( ! function_exists( 'bulan_posts_query_404' ) ) : /** * Custom query to display latest posts on 404 page. * * @since 1.0.0 */ function bulan_posts_query_404() { // Posts arguments $args = array( 'post_type' => 'post', 'posts_per_page' => 6 ); // Allow dev to filter the arguments $posts = apply_filters( 'bulan_posts_query_404_args', $args ); // Our hero! $posts = new WP_Query( $args ); // Display the posts if ( $posts->have_posts() ) : while ( $posts->have_posts() ) : $posts->the_post(); get_template_part( 'content', '404' ); endwhile; endif; // Reset the query. wp_reset_postdata(); } endif;