Timeline for Why isn't is_page working when I put it in the functions.php file?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2015 at 16:41 | history | edited | Pieter Goosen | CC BY-SA 3.0 |
added 8 characters in body
|
Apr 17, 2015 at 8:24 | comment | added | reggie | I agree, the integer should not be quoted. But PHP will not mind either way. | |
Jun 29, 2011 at 15:12 | comment | added | Alex Older | and it's a bad practice. | |
Jun 29, 2011 at 12:45 | comment | added | Wordpressor | That's strange, because I see quotes everywhere: codex.wordpress.org/Conditional_Tags | |
Jun 29, 2011 at 9:57 | history | edited | Alex Older | CC BY-SA 3.0 |
added 163 characters in body
|
Jun 29, 2011 at 9:51 | comment | added | Alex Older | yeah but an int shouldn't be quoted | |
Jun 29, 2011 at 9:41 | comment | added | Bainternet |
is_page() can accept ID as integer as well
|
|
Jun 29, 2011 at 9:38 | history | answered | Alex Older | CC BY-SA 3.0 |