<?php if( osc_count_items(fi_list_items()) > 0) { ?> <?php if(function_exists('fi_list_items')) { echo fi_list_items(); } ?> <?php } else { ?> <div class="favlistmess"> <?php _e('You have not loved any listings yet, you do know love makes the world go round?', 'patricia' ) ; ?> </div> <?php } ?>
<?php if( osc_count_items(fi_list_items()) > 0) { ?>
<?php if(function_exists('fi_list_items')) { echo fi_list_items(); } ?>
<?php } else { ?>
<?php _e('You have not loved any listings yet, you do know love makes the world go round?', 'patricia' ) ; ?>
<?php } ?>
$c = 0;foreach( fi_list_items() as $i ) { $c++;}echo $c;
<?php function fi_count_list() { $c = 0; foreach(fi_list_items() as $i ) { $c++; } echo $i; }?>
<?php if( fi_count_list() > 0 ) { ?> <?php if(function_exists('fi_list_items')) fi_list_items(); ?> <?php } else { ?> <div class="favlistmess2"> <span><?php _e('You have not loved any listings yet, you do know love makes the world go round?', 'patricia' ) ; ?><i class="fa fa-smile-o"></i></span> </div> <?php } ?>
<?php if( fi_count_list() > 0 ) { ?>
<?php if(function_exists('fi_list_items')) fi_list_items(); ?>