Creating a recipe index

  • Unknown's avatar

    How do I create a recipe index for all of my recipes? I have created categories for all of my recipes, and have a good handle on that. I want to create an index for the entire collection, as common on many sites.

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

  • Unknown's avatar

    Hello there!

    I have three suggestions for you.

    First, is to add a page called Recipes (or something of the sort) and add shortcode that will display your recipe posts in index form.

    Here are two documents that will walk you through the process of adding this code:
    http://en.support.wordpress.com/archives-shortcode/

    Second, if you want complete autonomy over the layout and design of your recipe index page, you may wish to add to it manually. That way, you can add headings, and create links to each recipe:
    en.support.wordpress.com/links/

    Third, you can use the categories widget in your sidebar:
    http://en.support.wordpress.com/widgets/categories-widget/

    Let me know if you have any other questions, or need assistance with setting up your index. Cheers!

  • Unknown's avatar

    Thank you for your response, but I have more questions. I have already sorted my recipes into categories, so is there a way to be able to create an archives shortcode that displays these categories? I do not want my other blog posts to be in my recipe index. I am not sure what your second paragraph (involving links) will take me.

    I have set up an index, but when I play with it, I cannot get them sorted into categories (such as appetizers, main dishes, desserts, etc), and get irrelavent posts (such as my first “welcome” post) out of there.
    Thank you in advance for your help!

  • Unknown's avatar

    Hi there,

    If I understand correctly, you’re looking for one main archive page that houses all of your recipes broken down by category, something similar to this:

    http://inpursuitofmore.com/recipes/

    Is that correct?

    If so, the easiest way to do this would be to use the Display Post Shortcode shown here:

    Display Posts Shortcode

    With that shortcode, you can create a list of posts in a certain category. The list is automatically updated each time you add a new post to that category. For example, something like this would display all of your posts in the “Main Dishes” category:

    [display-posts category="main-dishes"]

    Each post would be linked to the full recipe. Here’s a breakdown of what you could enter on your site:

    Main Dishes
    [display-posts category="main-dishes"]
    
    Just Desserts
    [display-posts category="just-desserts"]

    Is that what you’re looking for?

  • Unknown's avatar

    Yes! Perfect, thank you.

  • Unknown's avatar

    Great! Please let me know if you need anything else.

  • The topic ‘Creating a recipe index’ is closed to new replies.