Loading

How do I filter posts to separate pages?

Official response from Jesse Haff

Yes, the "Display content from one page on another page" area in the theme documentation will teach you how to display excerpts from different pages on one page. The segment below it will also show you how to display content with certian tags. I also created an updated and improved custom theme screencast yesterday in which I demonstrate how this technique works. You can watch it at the top of the theme docs page.

Also, we will be adding a checkbox which allows you to display blog posts from all of your blogs under one blog shortly.

Lastly, your subpages are not appearing in the dropdown because the parent page also needs to have "Include in top nav" checked. 

How would you tag this suggestion?
Do you like this suggestion?

Showing 12 reactions


Lilia Villa tagged this with Answered 2012-05-15 09:59:44 -0700
Karen Oh commented 2012-01-06 08:34:29 -0800 · Flag
It works great!
Karen Oh commented 2012-01-06 08:12:39 -0800 · Flag
OOH Jesse! You’re a rockstar! Woot!
Jesse Haff commented 2012-01-06 07:52:58 -0800 · Flag
You’ll be happy to know this feature is now live. Create or edit a blog which you want to show all blog posts under, then click the Blog button. You’ll see a new checkbox for “Show all blog posts on the site, not just the ones under this blog.” That will display all blog posts in order of date.
Karen Oh commented 2012-01-06 07:10:23 -0800 · Flag
Thanks Jesse! I think the checkbox to aggregate blog posts from all blogs (in date order or something) would be great as then it keeps automatic creation of subpage subnav intact versus if I had one blog with all posts then had to create tags and then filter them to other pages. :)
Karen Oh tagged this with Helpful 2012-01-06 07:07:55 -0800
Jesse Haff responded 2011-12-30 09:41:49 -0800
Karen Oh commented 2011-12-30 09:05:28 -0800 · Flag
Found something whilst looking for something else in http://nationbuilder.com/theme_documentation

Scroll to “Display content from one page on another page” and “Display pages with a certain tag on another page”

I think this will solve my issues.

I love (hopefully) answering my own question!

I don’t know why though this didn’t come up in search…
Karen Oh commented 2011-12-30 07:45:19 -0800 · Flag
As well, when you make something a subpage of another, the “include in top nav” is still available to be checked, but in reality it seems to disappear from the top nav (at least in my template).
Karen Oh followed this page 2011-12-30 07:33:15 -0800
Karen Oh commented 2011-12-30 07:27:47 -0800 · Flag
I’d like to have two blogs—one for news and one for press. I’d like to have both those posts show up on the home page in chrono order. With something like WP, you can tag or categorize them and then just call the tag/category. The only post I could find related to this was http://nationbuilder.com/mroswell/we_have_three_separate_blog_pages_how_to_incorporate_all_three_on_the_home_page

So, I tried creating two pages (“news” and “press”) that are subpages of a “home” page (blank html page with no content) and then modifying the “home” template to pull posts from those pages using the {%subpage%} var, but no luck. Maybe my syntax is wrong or my logic as to how NB handles this?

Maybe there is documentation that explains this but can’t find it when searching.

TIA.