Conditional statement for register page
-
Hi,
I hope this is an easy question to answer. I am currently themeing my wordpress login page. However, there are some conditional statements I’d like to use for headers and such that I can’t figure out.
For example, my login url is: https://sitename.com/login/ (this is using a page template called login.php)
However, when a user clicks on register, it takes them to: https://sitename.com/login/?action=register
My question is if there is a wordpress conditional statement to only target the register page? I am using is_page(‘login’) for my first login url, but can’t figure out how to target my register page.
Any help would be appreciated, thanks in advance!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Conditional statement for register page’ is closed to new replies.