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
--
You received this message because you are subscribed to the Google Groups "Wordpress Tips and Tricks" group.
To view this discussion on the web visit https://groups.google.com/d/msg/wordpress-tips-and-tricks/-/kIiGiXZ1mgEJ.
To post to this group, send email to wordpress-ti...@googlegroups.com.
To unsubscribe from this group, send email to wordpress-tips-and...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wordpress-tips-and-tricks?hl=en.