Please, how can I include custom fields of a post in the pdf output? I added custom fields by "get" to my posts (single.php and the loop) and a category-based menu page.
echo "- Custom Field Name1: ", get('CUSTOM_FIELD_NAME1'), "
";
}
?>
echo "- Custom Field Name2: ", get('CUSTOM_FIELD_NAME2'), "
";
}
?>
Now I want to create a pdf of the category-based menu including the fields, but my PDF output doesn't include the contents of the custom fields. How can I do that?