The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Display the date ONCE in home page

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #40293

    Hey guys

    I’m really stuck on this one.

    I need to only display the date once on my home page. Preferably, I would like the loop to only check the date on the first (top-left) post on every page, and leave the date out from the others.

    This is the code I have so far


Assuming you only want to show TODAY’s date once, you can just place it outside of any loop or anything by simply using this:

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.