Check which page is being loaded... IF/ELSE
Permalink
I want to use a different bit of code in the header depending on if they're on the home page (or maybe some other specific page) or not.
Is there a simple way someone can give me to check 'if page == "page name" then {' (bad pseudo code example).
Any help is appreciated, thanks.
Is there a simple way someone can give me to check 'if page == "page name" then {' (bad pseudo code example).
Any help is appreciated, thanks.