Support

Account

Home Forums General Issues Populate XML file with ACF custom field data Reply To: Populate XML file with ACF custom field data

  • Exporting XML should be fairly straightforward if you’re comfortable writing PHP. You can create a page template for your custom post type, (like single-custom.php,) and omit all of the HTML output from that template (such as the get_header/get_footer calls). Write your PHP to output XML instead; possibly using a PHP library and HTTP header. There are plenty of tutorials on writing XML with PHP available by search.