Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #489509

    Hey Simon,

    What happens if you comment out get_header() and get_footer() ?

    <?php //get_footer(); ?>



    Dear Rikard,

    easy answer: the whole template breaks up.
    The forum tells me to use the page.php as an boilerplate for my individualized template.

    The problem has to do with the else-part of the if-else-function.
    I think the doubled parts might be caused by “<?php the_content(); ?>.

    The positioning of the if-else-function might be the problem?

    May you assist?



    in this forum we can offer you basic support only and what you are asking for is out of our support scope, as written in our support policy. I recommend to use a plugin for the functions you need. Maybe this one could help you: or

    If you still need help with your own customizations then you need to hire a freelancer for this job. You could ask one here:


    • This reply was modified 4 years, 9 months ago by  Andy.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Custom template for password protection shows head and sidebar twice after login’ is closed to new replies.