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: http://sitename.com/login/ (this is using a page template called login.php)
However, when a user clicks on register, it takes them to: http://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!
The topic ‘Conditional statement for register page’ is closed to new replies.