Support

Account

Home Forums General Issues Take custom fields from single post Reply To: Take custom fields from single post

  • If you want to get fields from a post with the ID of 22 then you need to do something like

    
    $value = get_field('my_field_name', 22);
    

    For more information see the section on Get Value from a Specific Post on this page http://www.advancedcustomfields.com/resources/get_field/