Printing recipe from blog not working

  • Unknown's avatar

    I have been embedding recipes into my post. The recipe shows up great with the default print button. However when you click on it, only the attributes show up. Not the body of the recipe?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    It looks like you have been using redundant recipe shortcodes. For example:

    [recipe]
    [recipe title="Avocado Salsa Salad" servings="12" time="20 minutes" difficulty="Easy"]
    Ingredients
    2 Avocados, diced
    1 large tomato diced…
    [/recipe]

    Do you notice at the beginning how you have a two [recipe] openers? One without paramaters and one with?

    If you remove the first [recipe] (and just use the recipe shortcode with the parameters like title, servings, etc), your recipes should then render fully in the print option.

    As an example, I have removed the redundant short code from your Beef Stir Fry Recipe, and it seems to print just fine now.

    Let me know if you have further trouble.

  • Unknown's avatar

    That worked! Thank you so much.

  • The topic ‘Printing recipe from blog not working’ is closed to new replies.