Tag : use loop in wordpress

How to use loop in wordpress

Today we are going to learn how to use loop in WordPress. Well, “loop” is a very common term in WordPress. Because we need to use this “loop” for load posts and comments. Here goes a loop structure in WordPress. Have a  look-   if(have_posts(): while(have_posts()): the_post(); echo "Your post contain goes in here"; endwhile; else: echo "You have no post [...]