Adding custom php to prompt login for private page? (1 post)

  1. eartist
    Posted 4 years ago #

    I have made some pages on my site private but when I click the links to go to them it does not show a "Please login to view this page" prompt but goes to a "404 Error" page. I found the PHP code to add to the page to prompt the login but when I go to my WordPress dashboard I dont know where to add it? Can someone point me in the right direction. Thanks - WordPress newbie.

Topic Closed

This topic has been closed to new replies.

About this Topic