There may be many occasions where you may need to check if the viewing page is a WordPress Post or a WordPress Page and do accordingly. To check this you can use the conditional tage is_page()
if(is_page()) {
//do what ever you want
}
Related posts:
- Tags from previous posts show up on the new post – WordPress I feel this could be because of some bug from...
- How to get Shadow effect for the post titles on your WordPress Blog? You might have noticed the post titles of the blog...
- Adding pictures to a WordPress blog post? Adding pictures to a WordPress post is very simple. You...
- Top WordPress Plugins which you should not miss WordPress is a wonderful tool to manage your blog which...
- Free Version of Kish Twit Pro available at WordPress Plugin Directory I have released a free version of Kish Twit Pro...
You should have got the notification to upgrade your WordPress Installation. Most of us do it instan →
There are many blogging softwares like Joomla, WordPress, Drupal, etc, but I would suggest you to go →
I always wait for beta releases and love to test it and try to know about the new features, and also →