Home Forums WordPress How to get custom field name in wordpress

Viewing 1 reply thread
  • Author
    Posts
    • #140
      avi
      Participant

      I have a custom field name is custom_title and now i want to print this into the loop
      how can i do that Can anyone help??

    • #141
      avneesh
      Participant

      You can use get_field() function for print custom field title

      echo get_field("custom_title", $results->ID);

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
Scroll to Top