Tag Archives: Wordpress query_posts

WordPress have_posts()

WordPress have_posts() functions is used to check the current wordpress query has any data to loop. It will return true If data is available. Otherwise it will return false. Note: We dont need send any arguments for this function. Format 1: It will basic format in wordpress archieve page, category page etc. <?php if ( […]