Skip to main content

We have three separate blog pages. How to incorporate all three on the home page?

UPDATE: I have determined the answer to the first half of the question. Will document in comments, and will create a separate question for the randomizer issue.

----

For the blog whose slug is "blog" I'm successful with theming like this:

{% for post in page.blog.most_recent_blog_posts limit:5 offset:1 %}
{{ post.headline }}
{% endfor %}

But what if we have a second blog whose slug is "recipes?" How do we pull most recent posts from there? (I also want to randomize the selected blog posts.) 

So, seeking assistance on both fronts: accessing most_recent_blog_posts for multiple blogs, and randomizing their display (which I imagine will be done with jquery.)

Official response from

Please see below. 

 

Share this post

Showing 4 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.