forked from UTCWeb/utc-tailwind-genesis-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
27 lines (24 loc) · 1.01 KB
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/**
* UTC Tailwind Genesis.
*
* This file adds the single post template to the UTC Tailwind Genesis theme.
*
* @package UTC
* @author Bridget Hornsby
* @license GPL-2.0-or-later
* @link https://github.com/UTCWeb/utc-tailwind-genesis-theme
*/
// Adds entry meta in entry footer.
add_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
add_action( 'genesis_entry_footer', 'genesis_post_meta' );
add_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
//Move the header on pages
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
add_action( 'genesis_after_header', 'genesis_entry_header_markup_open', 11 );
add_action( 'genesis_after_header', 'genesis_do_post_title', 12 );
add_action( 'genesis_after_header', 'genesis_entry_header_markup_close', 13 );
// Runs the Genesis loop.
genesis();