• I’m creating a child-theme from the fooding theme and I have the following question:

    On the homepage I want to display several rows of recent recipes ordered bij category. So of each category the last 4 recipes. Is there a shortcode I can use for this or how would I go about this?

    I have seen the grid page you refer to on several other posts, but that isn’t what I’m looking for.

    Thanks in advance,
    Bert.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Brecht

    (@brechtvds)

    Hi Bert,

    That’s something the theme usually does.

    You could set it up with the grid (just use multiple ones limited by category) or use any grid like functionality your theme (or another plugin) provides.

    Thread Starter berttervoert

    (@berttervoert)

    Yes, the markup is handeled by the theme, but it’s getting the recipe information from the 4 most recent recipes entered that I’m looking for. The data to put on the frontpage. I was wondering wether there was shortcode available to achieve this (as is on other plugins).
    I would appreciate any anwer on this.

    Meanwhile I’ll look into your suggestion about the grid

    Plugin Author Brecht

    (@brechtvds)

    I’m not sure what you mean. In WP Recipe Maker you add recipes as part of a regular post so you just need to get the latest x posts from each category.

    Thread Starter berttervoert

    (@berttervoert)

    I’m relative new to wordpress, but have experience in programming. Worked extensifly with drupal (until a few years ago). Now I’m working on a (hobby-)project of my own.
    What I’m asking is how to ‘just’ get the latest x posts from each category.
    Thank you for your quick response (One of the reasons I’m exploring your plug-in!
    Bert.

    Plugin Author Brecht

    (@brechtvds)

    It’s not really related to our plugin. It doesn’t matter if a post contains a WPRM recipe or not. You’d get it in the same way.

    Here is an article on how to do it using a plugin or using code:
    https://www.wpbeginner.com/wp-tutorials/how-to-display-recent-posts-from-a-specific-category-in-wordpress/

    Depending on the theme you’re using they might already have a solution built in. This layout in the Foodie Pro theme, for example:
    https://foodiepro.com/recipes/

    If you happen to be using a page builder they would probably have a widget/block for this as well.

    Thread Starter berttervoert

    (@berttervoert)

    Thanks again for your answer! Since this is just a hobby project for me at this time, I’m using free themes and plugins only for the moment.
    The article in the first link looks promissing! I think it will give me a begin to experiment with and get to grips with the matter.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘custom frontpage display’ is closed to new replies.