Support » Plugin: Client Portal - Private user pages and login » Create a Page and Not a Post

  • Resolved qeyduey


    Hello Gabriel,

    Thanks for a great and simple plugin. We are having just one issue:

    Is it possible to create an actual private “page” and not a private “post”? I think this would be much more useful for our use-case and that is what we thought we’d be able to do given the name of the plugin.

    Thanks in advance for your help with this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gabriel Berzescu


    Hello @qeyduey

    Here is how the Client Portal private page template works:

    If your theme has a single-private-page.php file in the theme’s root folder, then that one is used.

    If there is no such file in your theme’s root folder, then single.php is used.

    That is your post template, and you probably don’t want that.

    So the way out of this is to create a single-private-page.php file that has the exact same content as the page.php file. That’s your page template.

    Making the long story short, you simply need to duplicate your theme’s page.php and name it single-private-page.php

    I hope this makes much sense.

    Please let me know if not, so that I can clarify.

    With the best of regards,

    Hey Gabriel,

    Thank you for the super quick response! =D

    That answers my question perfectly. Thank you, again!

    Plugin Author Gabriel Berzescu


    Glad to help @qeyduey

    If you can spare a few minutes of your attention, a review would sure help us greatly.


    Hey Gabriel,

    It would be my pleasure! =D

    Plugin Author Gabriel Berzescu


    Thank you! 😀

    Hi Gabriel,

    I have the exact same issue, and haven’t been able to solve it so far.

    I followed your intstructions, and created a single-private-page.php file, which is a copy of my page.php file. However, when creating a private-page I still get presented the post template.

    Any suggestions are more than welcome. I can’t seem to figure it out…

    • This reply was modified 3 months, 2 weeks ago by markkre.
    Plugin Author Gabriel Berzescu


    Hi there,

    Hopefully you’re doing it in your actual active theme.

    That’s the only thing that comes to mind.

    Up until now this has worked for everyone.

    Best of regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.