WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Not display html when there is no result (2 posts)

  1. bobdeo
    Member
    Posted 7 years ago #

    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

  2. bobdeo
    Member
    Posted 7 years ago #

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

    It will be ok ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags