Support » Plugin: MarketPress - WordPress eCommerce » How to set page password protected in wordpress

Viewing 2 replies - 16 through 17 (of 17 total)
  • Hi, I also want to follow up on my post i sent out 3 weeks ago. Please see below.


    I did exactly what you said. Added the following code below <?php wp_head();?>
    but doesn’t show any result. – I tried not to login – but when i go straight to this url, it still accessible which is not suppose to. Please assist. 🙁

    <?php wp_head();?>
    global $post;
    if ($post->post_parent && post_password_required($post->post_parent))

    By the way, is this forum content accessible to public? I can’t have anyone see the above link. It’s private login.


    Plugin Author Bojan Radonic – WPMU DEV Support


    Hey Helen,

    I understand what you’re trying to say and as I mentioned above these kind of information is being stored in browser cookies and it already works like this.

    I’ve went through checkout on your site once and this is what happens when I try to do it again, see video As you can see my info is already being added there. There is nothing we can do if your regular user uses different device or browser or clears browser cache and cookies. This info will definitely be saved if they are registered and logged in on your site. If you set force login to yes users will have to login and therefore their info will be there in case they did purchase something before.

    All threads are public and they are viewable by everyone that opens the thread.

    Can you please add more information on why are you setting password protected store and then looking to allow visitors (not logged in users) to checkout through your site? There could be different solutions, that’s the reason I ask.

    Please advise,

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘How to set page password protected in wordpress’ is closed to new replies.