Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
If No Content = Display This
hiya, I have had a look around and can’t find an answer to this.
I have a news section on a homepage which may or may not have content (depending on how eventful things are). I have a little heading, and a wrapping div but if there are no articles to display then this looks a little bit silly.
I am looking for a tag that will enable me to hide the whole news div if there is nothing in the news section OR a way to say “There is currently no news”.
Anyone done this before? Thanks for any help you can give me.
Ben
Offline
Re: If No Content = Display This
Maybe you could use this
Offline
Re: If No Content = Display This
That’s awesome! Thanks Jordi – works like a beauty!
Offline
Pages: 1