• Resolved wilburg

    (@wilburg)


    there is a dropdown in “Cooked” settings which should control the ordering of a recipe list. However, regardless of which option I choose, the order doesn’t change from the order in which they were originally entered. In particular, I wish the ordering to be Alphabetical, but I seem unable to get the list to show in any way but “Newest First “. Help! In fact, the only thing I have been able to change in the way the list, or individual recipes display, is the way that the author is displayed: I have been successful in suppressing the author’s email address and showing only the author’s name. Here is my recipe list so far: https://wilburgoltermann.com/recipe-book123/

    and here is an individual recipe:

    https://wilburgoltermann.com/recipes/alaska-sockeye-salmon/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gora Tech

    (@goratech)

    Hello @wilburg I am looking at your recipe list page and it seems like its not using the [cooked-browse] shortcode. Which shortcode are you using there?

    Thread Starter wilburg

    (@wilburg)

    In the settings for the recipe plugin, I see the following shortcodes (I guess that’s what these are):

    [cooked-info left=”author,taxonomies,difficulty” right=”print,fullscreen”]

    [cooked-excerpt]

    [cooked-image]

    [cooked-info left=”servings” right=”prep_time,cook_time,total_time”]

    [cooked-ingredients]

    [cooked-directions]

    [cooked-notes show_header=true]

    [cooked-gallery]

    Plugin Author Gora Tech

    (@goratech)

    @wilburg Those shortcodes would be the Recipe Template shortcodes. I was referring to the shortcode that you are using on this page: https://wilburgoltermann.com/recipe-book123/

    If you use the [cooked-browse] shortcode there, then you should be able to change the Default Sort Order in the Cooked settings page.

    Thread Starter wilburg

    (@wilburg)

    Hey folks,

    I had tried various things to get a recipe page to work. The first was simply to create a blank page and then edit the page with elementor, and drag a Cooked recipe list into the page. This gave me a page with a recipe list ordered in most-recently-added-last ordering; nothing I did changed this ordering. You may view this page at https://wilburgoltermann.com/test-page/

    Following your suggestion, I created a new page and simply added the [cooked-browse] shortcode to it per your suggestion. This gave me a page which is a bit more to my liking; see it at https://wilburgoltermann.com/recipe-book123/. Notice that this page has a block for each recipe in the list, which is ordered alphabetically as I originally wanted.

    There are two problems with this list:

    1. While the list is in alphabetical order, if I drill down into any recipe item, and then follow the previous or next arrows on the resulting page, the alphabetical sequencing is not preserver, but reverts to the most recently added first. How can I fix this?
    2. The second problem is that I would like to items in the recipe list to reflect a single photo for each recipe. When actually entering a new recipe one is allowed to add a photo to each element of the directions field, so that each step in implementing a recipe can be accompanied by a photo for that step. I would like the recipe list to show a single photo for each recipe. I am hoping that this can be done. Please let me know.

    Thanks,

    Wilbur Goltermann

    Plugin Author Gora Tech

    (@goratech)

    Hey @wilburg, I’m glad you got the [cooked-browse] to work.

    For the 2 issues you described:

    1. The next and previous posts arrows that you are seeing are not part of Cooked, they appear to be a core WordPress feature that you might have added to the page using Elementor. Cooked does not have any feature or functionality that allows users to go back and forth between recipes of a particular category. Cooked does have a [cooked-next-previous] shortcode which is designed to be used in the Recipe Template, but even this does not filter based on a category. It simply just goes back and forth through recipes in order.
    2. Ad for the recipe images, the image that shows up here is the “Featured image” for the recipe. It looks like all of your featured images for the recipes are blank.
    Thread Starter wilburg

    (@wilburg)

    Hi again,

    I really appreciate the help you have provided!

    I have another short question: How can I remove the previous/next navigation buttons from the recipe card?

    By the way, I have come up with a recipe template that I rather like. It involved writing some html code to insert a table into the template. Check it out by drilling down into one of my recipes at:

    https://wilburgoltermann.com/recipe-book123/

    Here is the html for the template:

    <div style=”font-family: times,serif; font-size: 24px; line-height: 1.2;”>
    <p><a href=”https://wilburgoltermann.com/recipe-book123/”>BACK</a></p&gt;
    <p>[cooked-info left=”author,taxonomies,difficulty” right=”print,fullscreen”]</p>
    <p>[cooked-excerpt]</p>
    <p>[cooked-info left=”servings” right=”prep_time,cook_time,total_time”]</p>
    <table style=”border-collapse: collapse; width: 100%;” border=”1″>
    <tbody>
    <tr>
    <td><strong>Ingredients</strong></td>
    <td><strong>Image</strong></td>
    </tr>
    <tr>
    <td style=”width: 49.638989%;”>[cooked-ingredients]</td>
    <td style=”width: 49.638989%;”>[cooked-image]</td>
    </tr>
    </tbody>
    </table>
    <p>[cooked-directions]</p>
    </div>

    Plugin Author Gora Tech

    (@goratech)

    Hey @wilburg, I’m glad you got it to work. You can definitely remove the Next and Previous post links.

    Usually this type of functionality is handled by the theme and it seems like you are using Astra theme.

    It seems like people have already asked this same question such as in this post: https://wordpress.org/support/topic/how-to-hide-author-date-next-previous-from-my-posts-articles/

    According to their documentations, there are a few ways you can do this:

    1. Removing the links: https://wpastra.com/docs/remove-previous-next-links-from-single-blog/
    2. Changing the links: https://wpastra.com/docs/replace-navigation-strings-on-single-post/
    3. Custom solution to disable links for specific post type: https://gist.github.com/Nikschavan/eeb9010ed684a3ca17047bd4a49079c3

    It looks like there are a few options depending on what you want to do. If you need help implementing any of these, feel free to reach out directly at support [at] cooked.pro and I can help you with it.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Recipe list order doesn’t change’ is closed to new replies.