[PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
Hello, This is my first time to post to the list. I've been working with PHP for several years as a WordPress user, but I've come upon a problem I can't solve. I am trying to call up a specific php function (a plugin that displays ads) if the page is the home page, another specific function if

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
string. On Sat, Jul 31, 2010 at 2:25 PM, Jason Pruim li...@pruimphotography.com wrote: Hi Vince, On Jul 31, 2010, at 3:15 PM, Vince Leibowitz wrote: ?php if (is_home(?php wpads('728leaderboard'); ?) (is_page(42)(?php wpads('leaderboard1'); ? (is_page(10)(php? wpads('leaderboard5);?) ? Try

Re: [PHP] Need help calling multiple functions with if_is

2010-07-31 Thread Vince Leibowitz
, Peter Lind peter.e.l...@gmail.com wrote: On 31 July 2010 21:34, Vince Leibowitz vince.leibow...@gmail.com wrote: That looks like it should work, but it doesn't. There isn't a reason to close the embedded php statements, but I suspect wpads isn't recognizing the call when it is embedded like