How to find out that that the main page is open
I handle with little trouble I don’t know how to solve it.
How I recognize that the post or site is open in my blog? Is there any variable which has some value when visitor reads a post (clicked on post and it’s now open)?
I need to write <h1>WELCOME</h1> on main page but when the article is open I don’t wish to have that “welcome” there. Is there any if case which can handle that? St like
if(!is_post()) echo “<h1>WELCOME</h1>”;
Thanx a lot!
- The topic ‘How to find out that that the main page is open’ is closed to new replies.