Hi Brajesh
I’ve read the thread at https://buddydev.com/support/forums/topic/make-one-page-public-on-site/ and your updated code works fine.
But if I also want to exclude the link to “Lost your password?”, how should I do that?
I’ve tried to add the link to your code like this:
$excluded_pages = array( 'terms', '/my-account/lost-password' );
but it doesn’t work 🙁As you see I’m using WooCommerce as well, so the link to lost password is not “wp-login.php?action=lostpassword” as on a plain WP install.
I hope you can help 🙂
Best regards
TorbenHi Torben,
Instead of using ‘/my-account/lost-password’, pleas use ‘my-account’That should do it.
Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘ [Resolved] Make one page public on site, part 2’ is closed to new replies.
This topic is: resolved