HELP… If else statement not working…!
-
Hi there all i am using a photo plugin the thing is that i am trying to make my own conditional statement where i am trying to do is that
i want to make these two statements in a conditional format by using these two statements
IF
<?php if ( function_exists( 'userphoto' ) ) { userphoto($posts[0]->post_author); } ?>
ELSE
<img src="<?php bloginfo('template_directory'); ?>/images/blank_avatar_176x132.gif" width="132" height="176" />
How do i make this so i get if fucntion or if its not available i get to show my default avatar image…
Thanks
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘HELP… If else statement not working…!’ is closed to new replies.