I would like to use "if(is front page)" in the header to display a list, and then again the sidebar to display variable content. But the second if-statement doesn't work. And if I remove teh one in the header, then the "2nd" one works. Can I only use this statement once in a rendered page?
I want to use this if(is_front_page())-else bit:Pastebin, twice. But I can't. It doesn't return any error, it just doesn't work. Anybody know why?
jcrens8392
Member
Posted 3 years ago #
Did you ever get this figured out? I seem to be having the same problem in 2.7 beta.
use is_home instead of is_front_page.