Password protection in template
-
Hi,
I’m now searching for a long time and I find no solution. I protected a page with a password. But the page is displayed normally.
I think some lookup for the password protection is missing in my template.
I#M using a plugin to display the content. The help pages for including the protection tags does not help me.
The content is displayed like this:<?php /* Template Name: tplWish */ $page_url = get_pagenum_link(); $category = substr($page_url, strrpos(substr($page_url, 1, -1), "/") + 2, -1); $sellFormat = " <div class='blogbefore'></div> <div class='blog'> <h3>%post_title%</h3> %post_content% </div> <div class='blogafter'></div> "; ?> <?php get_header(); ?> <div id="menucontainer"> <?php if (function_exists('dynamic_sidebar')) : ?> <?php dynamic_sidebar('normal'); ?> <?php endif; ?> </div> <div id="contentcontainer"> <?php c2c_get_recent_posts( 50, $sellFormat, '4', 'excerpt', 'ASC'); ?> </div> <?php get_footer(); ?>
Can anyone please help me to protect my code?
I also tried many plugins but no one works.
Thanks in advance
Chris
- The topic ‘Password protection in template’ is closed to new replies.