• Resolved bobdeo

    (@bobdeo)


    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)
  • Thread Starter bobdeo

    (@bobdeo)

    Not really what I need : I put a <hr /> before the end of the post.

    It will be ok ??

Viewing 1 replies (of 1 total)
  • The topic ‘Not display html when there is no result’ is closed to new replies.