Skip to content

Instantly share code, notes, and snippets.

@jpen365
Last active July 9, 2019 17:50
Show Gist options
  • Save jpen365/1fb8c27280960c054ce6b87e345791c0 to your computer and use it in GitHub Desktop.
Save jpen365/1fb8c27280960c054ce6b87e345791c0 to your computer and use it in GitHub Desktop.
Example of how get_header() is added to a WordPress template file.
<?php
/**
* The main template file
* It puts together the home page if no home.php file exists.
*
* @package Simple Blog Theme
*/
get_header(); ?>
<!-- the beginning of the page or post content -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment