I have installed custom fields plugin to add additional fields for recipe admin page, but the add-on showing custom fields only in normal posts but not in the recipe page. Can you tell me how to add additional custom field in recipe page beneath the Nutritional values ?
To add additional fields to recipes programmatically, you would have to hire a developer and get them to edit includes/theme_meta_boxes.php and look at how we added one of the fields like recipe_preparation_time to the recipe_custom_meta_fields array.
They would also have to edit single-recipe.php and includes/parts/recipe-item.php to display the field.
I would recommend you copy all these files into your child theme (same folder structure e.g. includes/parts/recipe-item.php goes into includes/parts folder that you create in your child theme) and make changes there for easier upgrades.
I have installed custom fields plugin to add additional fields for recipe admin page, but the add-on showing custom fields only in normal posts but not in the recipe page. Can you tell me how to add additional custom field in recipe page beneath the Nutritional values ?
Hi,
We have not tested this plugin with our theme.
To add additional fields to recipes programmatically, you would have to hire a developer and get them to edit includes/theme_meta_boxes.php and look at how we added one of the fields like recipe_preparation_time to the recipe_custom_meta_fields array.
They would also have to edit single-recipe.php and includes/parts/recipe-item.php to display the field.
I would recommend you copy all these files into your child theme (same folder structure e.g. includes/parts/recipe-item.php goes into includes/parts folder that you create in your child theme) and make changes there for easier upgrades.
Best regards,
themeenergy support