Not display html when there is no result
-
Hi,
I try to customise using the_date()… With this code
<?php the_date('Y-m-d', '<h2>', '</h2>'); ?>
it’s ok for the first post but how can I replace the next empty results with <hr /> ?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Not display html when there is no result’ is closed to new replies.