Files
yeuchaybo/lib/views/page-boxed.php
T
Thuan Bui fd25f13a4f Initial
2018-06-26 11:09:22 +07:00

44 lines
878 B
PHP

<?php
/**
* Child Theme Library
*
* WARNING: This file is a part of the core Child Theme Library.
* DO NOT edit this file under any circumstances. Please use
* the functions.php file to make any theme modifications.
*
* Template Name: Boxed Template
*
* @package SEOThemes\ChildThemeLibrary\Views
* @link https://github.com/seothemes/child-theme-library
* @author Thuan Bui
* @copyright Copyright © 2018 Thuan Bui
* @license GPL-2.0+
*/
// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
die;
}
add_filter( 'body_class', 'child_theme_add_boxed_body_class' );
/**
* Add contact page body class to the head.
*
* @since 1.0.0
*
* @param array $classes Array of body classes.
*
* @return array
*/
function child_theme_add_boxed_body_class( $classes ) {
$classes[] = 'boxed-page';
return $classes;
}
genesis();