forked from strangerstudios/memberlite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
content-landing.php
29 lines (26 loc) · 1.01 KB
/
content-landing.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
<?php
/**
* The template used for displaying page content in page.php
*
* @package Memberlite
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content">
<?php the_content(); ?>
<?php
global $pmproal_landing_page_level, $memberlite_landing_page_checkout_button;
if(defined('PMPRO_VERSION') && !empty($pmproal_landing_page_level) && ($pmproal_landing_page_level != 'blank'))
echo do_shortcode('[memberlite_btn style="action" href="' . pmpro_url('checkout','?level=' . $pmproal_landing_page_level,'https') . '" text="' . $memberlite_landing_page_checkout_button . '"]');
?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'memberlite' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php edit_post_link( __( 'Edit', 'memberlite' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->