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...

What is the difference between posts vs. Pageshow to store the post title in variable?

Answer Posted / Preeti Gupta

In WordPress, both posts and pages have titles. However, they are used differently:

1. Posts: These are typically blog entries that are displayed in reverse chronological order on a blog page. Each post has a unique title.

2. Pages: These are static, non-time-sensitive content such as About Us, Contact Us, or FAQ pages. Each page also has a unique title.

To store the post title in a variable, you can use php's get_the_title() function within a WordPress loop.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how do I redirect users back to my blog's main page after they login?

198


Do you know what is the current version of wordpress?

187


How much is the wordpress business plan?

155