Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #226
    dan
    Participant

    What is the difference between the_title() and get_the_title() functions in WordPress?

    #227

    In simple terms, the_title() echos the title of the current post/page while get_the_title() echo title of any page provided you specify the specific id of post or page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.