• Resolved vsbfhh

    (@vsbfhh)


    In the metadata tab, I am not able to add diet restrictions apart from what is already there (11 entries) and seems to be a predefined list. I need to add more but I am not able to and how to get this fixed.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Kemory Grubb

    (@w33zy)

    Hey,
    That list is hard-coded, I took it from Schema.org list of restricted diet options seen here: https://schema.org/RestrictedDiet

    It never occurred to me users would want to add to that list.

    If it is really important to your use of the plugin I could rewrite that feature to accept new entries.

    Thread Starter vsbfhh

    (@vsbfhh)

    Hi,

    Yes there are other restrictions that I would like to add such as egg-free, dairy-free, peanut free. Therefore to allow new entries would be great. Also may adding Fiber/Fibre, saturated fat, sugars, sodium, as an option in the Nutritional information box.

    Thanks

    Plugin Author Kemory Grubb

    (@w33zy)

    It think you may be interested in a new taxonomy instead of adding new data to the JSON-LD schema markup. If you try adding new data it is possible Google may flag your recipes as invalid since egg-free, dairy-free or peanut free are not valid schema values.

    Try this instead:

    1. Go the the plugin’s settings, then the “Taxonomies” tab.
    2. Add “Diet” to the list at the “Taxonomy Selection” section.
    3. Save changes
    4. You should now see a “Diet” section on that settings page. Make sure the “Show on frontend” option is checked.
    5. Save changes

    When you create or edit a recipe you should see a section on the editor to add you diet-type information.

    Thread Starter vsbfhh

    (@vsbfhh)

    Hi,

    Thanks for this. I have already added this as an alternative option. I have to say that this is a great plugin. I had a paid version that I just removed that had more restrictions. Your plugin is simple and easy to use and I just left a review.

    Thanks again

    Plugin Author Kemory Grubb

    (@w33zy)

    Thanks for the review.

    I’ll push an update next week to add more nutrition values, the options are already in the plugin but I haven’t figured out a way to add them without looking cluttered.

    Thread Starter vsbfhh

    (@vsbfhh)

    That is great, thank you, the 2 main would be fiber and sugar.

    Another question I have, is there a way that users can submit recipes front end?

    Plugin Author Kemory Grubb

    (@w33zy)

    I have added a new feature which allows user to add any number of new nutrition fields. I am just running some tests and cleaning it up before I add it to a new update that I will release next week.

    For the frontend recipe submission feature, that is already a planned feature but I don’t know when it will be added as I am busy re-writing the plugin to be fully Gutenberg compatible.

    Thread Starter vsbfhh

    (@vsbfhh)

    Is there a way to add sidebars to the single recipe page?

    Plugin Author Kemory Grubb

    (@w33zy)

    Sidebars are a function of the theme you’re using, this plugin shouldn’t affect that.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Diet Restriction’ is closed to new replies.