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,
Gabriel
Hey Gabriel,
Thank you for the super quick response! =D
That answers my question perfectly. Thank you, again!
Glad to help @qeyduey
If you can spare a few minutes of your attention, a review would sure help us greatly.
Thanks,
Gabriel
Hey Gabriel,
It would be my pleasure! =D
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 6 years, 7 months ago by
markkre.
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,
Gabriel