-
Notifications
You must be signed in to change notification settings - Fork 2
/
page-welcome.php
executable file
·57 lines (45 loc) · 1.05 KB
/
page-welcome.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
51
52
53
54
55
56
57
<?php
/**
* The template for displaying the welcome page after the RCP registration.
*
* @package Listify
*/
get_header(); ?>
<div
<?php
echo apply_filters(
'listify_cover', 'page-cover', array( // WPCS: XSS ok.
'size' => 'full',
)
);
?>
>
<h1 class="page-title cover-wrapper">
<?php
the_post();
the_title();
rewind_posts();
?>
</h1>
</div>
<?php do_action( 'listify_page_before' ); ?>
<div id="primary" class="container">
<div class="row content-area">
<main id="main" class="site-main col-md-8 col-sm-7 col-xs-12" role="main">
<?php if ( listify_has_integration( 'woocommerce' ) ) : ?>
<?php wc_print_notices(); ?>
<?php endif; ?>
<?php
while ( have_posts() ) :
the_post();
?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template(); ?>
<?php endwhile; ?>
<div style="text-align: center; padding-bottom: 10px;">
<?php echo "<a href=\"". home_url() . "\" class=\"button button-small\">Home</a>"; ?>
</div>
</main>
</div>
</div>
<?php get_footer(); ?>