Okay
  Public Ticket #1386750
How to add additional custom field in Receipes page
Closed

Comments

  • Bobby started the conversation

    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 ? 

  •  2,054
    Theme replied

    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