diff --git a/404.php b/404.php index 0938afa9..f31cfc06 100644 --- a/404.php +++ b/404.php @@ -20,11 +20,14 @@ get_header(); ?>

- + + the_widget( 'WP_Widget_Recent_Posts' ); + + if ( _s_categorized_blog() ) : // Only show the widget if site has multiple categories. + ?> -

- ' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', '_s' ), convert_smilies( ':)' ) ) . '

'; the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$archive_content" ); - ?> - + the_widget( 'WP_Widget_Tag_Cloud' ); + ?>
@@ -55,4 +59,5 @@ get_header(); ?> - +
- + - - + + endwhile; - + the_posts_navigation(); - + else : - + get_template_part( 'template-parts/content', 'none' ); - - - + endif; ?>
- - + - - - +

- + + endif; // Check for have_comments(). + + + // If comments are closed and there are comments, let's leave a little note, shall we? + if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> -

- + + comment_form(); + ?> diff --git a/header.php b/header.php index c6f1a418..d309fe90 100644 --- a/header.php +++ b/header.php @@ -26,16 +26,19 @@
- '', diff --git a/template-parts/content-single.php b/template-parts/content-single.php index d5e1c772..e95e8fff 100644 --- a/template-parts/content-single.php +++ b/template-parts/content-single.php @@ -19,8 +19,9 @@
- '', @@ -32,4 +33,3 @@ - diff --git a/template-parts/content.php b/template-parts/content.php index dd2601c5..184bc062 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -11,13 +11,15 @@

' ); ?> + ', esc_url( get_permalink() ) ), '' ); - + if ( 'post' === get_post_type() ) : ?>
- +
@@ -27,9 +29,7 @@ wp_kses( __( 'Continue reading %s ', '_s' ), array( 'span' => array( 'class' => array() ) ) ), the_title( '"', '"', false ) ) ); - ?> - '',