Re: Need help calling multiple functions with if_is

From: Date: Sat, 31 Jul 2010 19:25:14 +0000
Subject: Re: Need help calling multiple functions with if_is
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-307270@lists.php.net to get a copy of this message
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:
<?php
if (is_home(wpads('728leaderboard');)
(is_page(42)( wpads('leaderboard1')
(is_page(10)(wpads('leaderboard5))
?> All I did was pull out all the jumps into PHP since the whole thing is a php if statement I didn't see the need to keep opening and closing php... Unless I'm not understanding why you are :)

« previous php.general (#307270) next »