Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Tell me when are you supposed to use endif to end the conditional statement?



Tell me when are you supposed to use endif to end the conditional statement?..

Answer / Sanjay Kumar Rawat

The endif function should be used to close any if or if-else statement in WordPress templates, as shown in the example below:nn```phpnif ( have_posts() ) :n while ( have_posts() ) : the_post();n // Your code heren endwhile; nendif;n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

Can you host your own wordpress website?

1 Answers  


Is updraftplus free?

1 Answers  


How many types of hooks are there in wordpress?

1 Answers  


Why is wordpress so popular?

1 Answers  


How long will it take to learn wordpress?

1 Answers  


Tell me how do I determine a post, page, category, tag, link, link category, or user id?

1 Answers  


How do I post a blog?

1 Answers  


What are custom fields in wordpress?

1 Answers  


What is the role of contributor in wordpress?

1 Answers  


Tell me in what case you don't see plugin menu?

1 Answers  


When is wordpress released?

1 Answers  


How to take backup of our wordpress website?

1 Answers  


Categories