1. Main
  2. Post
  3. The Title

The Title

The Title

A title is one or more words used before or after a persons name, in certain contexts. It may signify either generation, an official position, or a professional or academic qualification. In some languages, titles may be inserted between the first and last name (for example, graf in german, cardinal in catholic usage (richard cardinal cushing) or clerical titles such as archbishop).

This tag may only be used within the loop, to get the title of a post outside of the loop use getthetitle. If the post is protected or private, this will be noted by the words protected or private prepended to the title.

the_title | Hook | WordPress Developer Resources

  thetitle is a filter applied to the post title retrieved from the database, prior to printing on the.