Skip to content

Instantly share code, notes, and snippets.

@brynzovskii
Created March 19, 2020 20:11
Show Gist options
  • Save brynzovskii/28ded7baa47c5c045d56c13d55342511 to your computer and use it in GitHub Desktop.
Save brynzovskii/28ded7baa47c5c045d56c13d55342511 to your computer and use it in GitHub Desktop.
Wp new page template starter
<?php
/**
*
* Template Name: New Template
*
*/
get_header();
while ( have_posts() ) : the_post(); ?>
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aspernatur culpa debitis delectus dolor, doloremque
dolores eaque enim ex facere, ipsa iusto minima nostrum quas reprehenderit tempora velit vitae. Animi,
assumenda!</p>
</div>
<?php endwhile; // End of the loop.
get_footer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment