I’d like to make all my articles publicly accessible but in order to view the index page, a user must first register with the site. Is this possible?
Leave a Reply
You must be logged in to post a comment.
I’d like to make all my articles publicly accessible but in order to view the index page, a user must first register with the site. Is this possible?
You must be logged in to post a comment.
To implement in a particular page you can use the following:
To limit the access to one particular page (or some pages) so that only logged in users can reach it, I make a new page template for that purpose and then I put this bit of code in the beginning of the template (right after the ):
the above example is taken from here
Additionally, you can use any one of the several wordpress plugins out there. One example is here. I have used this plugin before and it works pretty well. There are other similar plugins with varying features. A simple google search would give you lots of options.