THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

merge

master
Mati Horovitz 2 years ago
parent
commit
f124cad7e4
5 changed files with 8 additions and 8 deletions
  1. + 1
    - 0
      functions.php
  2. + 0
    - 1
      header.php
  3. + 1
    - 1
      template-parts/404.php
  4. + 3
    - 3
      template-parts/archive.php
  5. + 3
    - 3
      template-parts/single.php

+ 1
- 0
functions.php

@ -4,6 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) { exit; }
// Set up theme support
function elementor_hello_theme_setup() {
add_theme_support( 'menus' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'automatic-feed-links' );
add_theme_support( 'title-tag' );

+ 0
- 1
header.php

@ -12,4 +12,3 @@
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'header' ) ) {
get_template_part( 'template-parts/header' );
}
?>

+ 1
- 1
template-parts/404.php

@ -1,7 +1,7 @@
<main id="main" class="site-main" role="main">
<header class="page-header">
<h1><?php _e( 'The page can&rsquo;t be found.', 'elementor-hello-theme' ); ?></h1>
<h1 class="entry-title"><?php _e( 'The page can&rsquo;t be found.', 'elementor-hello-theme' ); ?></h1>
</header>
<div class="page-content">

+ 3
- 3
template-parts/archive.php

@ -1,15 +1,15 @@
<main id="main" class="site-main" role="main">
<header class="page-header">
<h1><?php the_archive_title(); ?></h1>
<h1 class="entry-title"><?php the_archive_title(); ?></h1>
</header>
<div class="page-content">
<?php
while ( have_posts() ) : the_post();
printf( '<h2><a href="%s">%s</a></h2>', get_permalink(), get_the_title() );
the_excerpt();
printf( '<h2><a href="%s">%s</a></h2>', get_permalink(), get_the_title() );
the_post_thumbnail();
the_excerpt();
endwhile;
?>
</div>

+ 3
- 3
template-parts/single.php

@ -3,13 +3,13 @@
<main id="main" class="site-main" role="main">
<header class="page-header">
<h1><?php the_title(); ?></h1>
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
<div class="page-content">
<p><?php the_content(); ?></p>
<?php the_content(); ?>
</div>
</main>
<?php endwhile; ?>
<?php endwhile;

Loading…
Cancel
Save