[wp-hackers] Ticket #4267 - 'the_title' Filter

Andrew Ozz admin at laptoptips.ca
Wed Jan 9 02:54:07 GMT 2008


I think is_page() takes a page id, page slug or page title as arg and 
will accept an array of these in 2.5:
http://trac.wordpress.org/ticket/5430



Jennifer Hodgdon wrote:
> Andy Staines wrote:
>> Sorry yes - I got side-tracked!
>> Again - similar solution to the one Rob suggested (although I didn't 
>> know you could use is_page() like that) with the same caveat - I have to 
> 
> Actually, you can't. is_page() returns true if you are viewing a Page. 
>  It doesn't take an argument of a random title and return true if it 
> happens to be the title of a page.
> 
>     --Jennifer
> 


More information about the wp-hackers mailing list