I can’t get this PHP to execute in a single post. It will execute just fine embedded on a post on the main page, but will not execute when embedded on a post and you click on that post, and see it in single post view.
(I’m using plugin PHP Execution to get the PHP to execute in the HTML)
The purpose is that users will need to login before seeing the rest of the post.
- The topic ‘Execute PHP wp_login_url on single post?’ is closed to new replies.