Can I Make Password Protected Page Hide Non-Worpress Managed Text?
This should be a fun one for you guys.
I have a page operating on a separate template. (Pagecats.php)
I have the categories listing on this page only. I don’t want the categories to be accessed publicly so I figured put them in this page and password protect it. Below is what the content code looks like.
<h3 title="Categories"><?php _e('Categories'); ?></h3>
<?php list_cats(0, '', 'name', 'ASC', '/', true, 0, 0); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h3><?php the_title(); ?></h3>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
However if you go to this link: http://www.improv-ingboston.com/main/?page_id=3
You’ll see that the categories list and only the wordpress managed text is hidden.
Do anyone have a if/else code that can see whether or not the password has been entered or not or know if there is a way to get the PHP code to work if entered into the wordpress editor window?
- The topic ‘Can I Make Password Protected Page Hide Non-Worpress Managed Text?’ is closed to new replies.