-
Notifications
You must be signed in to change notification settings - Fork 1
/
curated-page.php
50 lines (43 loc) · 892 Bytes
/
curated-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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Curated page template
*/
get_header(); ?>
<?php
/**
* Fires after call to get_header.
*
* @since 0.1.0
*/
do_action( 'ccb_after_header' ); ?>
<div id="content">
<div class="grid">
<div class="grid-inner">
<?php
/**
* Fires before the rows are rendered.
*
* @since 0.1.0
*/
do_action( 'ccb_before_rows' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php ccb_display_rows( get_post_meta( get_the_ID(), 'ccb_content_blocks', true ) ); ?>
<?php endwhile; ?>
<?php
/**
* Fires after the rows are rendered.
*
* @since 0.1.0
*/
do_action( 'ccb_after_rows' ); ?>
</div><!-- .grid-inner -->
</div><!-- .grid -->
</div><!-- #content -->
<?php
/**
* Fires before the call to get_footer.
*
* @since 0.1.0
*/
do_action( 'ccb_before_footer' ); ?>
<?php get_footer();