-
-
Save rilwis/47b1d6d6d594c73ddfffa7c94ef9a181 to your computer and use it in GitHub Desktop.
Page My Account create with MB User Profile Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Template Name: My Account | |
*/ | |
if ( !is_user_logged_in() ) { | |
auth_redirect(); | |
} | |
get_header(); | |
?> | |
<div class="wrap"> | |
<div id="primary" class="content-area"> | |
<main id="main" class="site-main" role="main"> | |
<?php | |
while ( have_posts() ) : | |
the_post(); | |
the_content(); | |
endwhile; | |
?> | |
</main> | |
</div> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment