conditional statement syntax
-
Is this correct syntax? PLEASE help:
<?php
if(is_home()){ echo ”;}
else if(is_category(4)){ echo ”;}
else { echo ”;}
?>It doesn’t seem to work the first time. If I refresh it works fine.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘conditional statement syntax’ is closed to new replies.