template-fluidpage.php
1.19 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* The template for displaying the Fluid Page.
*
* This page template will display any functions hooked into the `homepage` action.
* By default this includes a variety of product displays and the page content itself. To change the order or toggle these components
* use the Homepage Control plugin.
* https://wordpress.org/plugins/homepage-control/
*
* Template name: Fluid Page
*
* @package storefront
*/
/*
* Created on : Mar 9, 2016, 9:15:42 AM
* Author: Tran Trong Thang
* Email: trantrongthang1207@gmail.com
* Skype: trantrongthang1207
*/
remove_filter('the_content', 'wpautop');
get_header();
?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while (have_posts()) : the_post(); ?>
<?php
do_action('storefront_page_before');
?>
<?php get_template_part('content', 'page'); ?>
<?php
/**
* @hooked storefront_display_comments - 10
*/
do_action('storefront_page_after');
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>