I noticed someone asked else commented on the blog post announcing collective with this question but I can't find an answer anywhere.
The demo site has two neat excerpt sections at the bottom of the home page. The first is related to events and the second (this is the one I'm most interested in) shows two blog excerpts.
When you switch to the stock theme, you don't get either of these items. The documentation doesn't explain how to add them either.
Can someone help me? I really want to set this up for one of our pages and have spent way too much time trying to hunt this down.
Thanks!!!
Hi Tony,
Both the blog and event excerpts that you see on the front page are enabled using page tags on the page that you would like to feature (calendar, blog, etc.).
To activate either of the examples shown on the demo site, go to the calendar or blog page that you would like to include on the home page and add the page tag "homepage".
Depending on the content and formatting of your events or blog posts, the excerpts may not look as they appear on the Collective demo site. If you would like to dig more into the theme and customize how these excerpts look on your homepage, you'll first have to create a custom theme. From there, you can access and edit all of the excerpts by navigating to Website > Theme > Files > "_homepage_excerpt.html"
Showing 18 reactions
Sign in with
Great question. You are able to change the number of blog posts that are displayed within your homepage by modifying line 62 of your _homepage_excerpt.html file.
You’re looking for code that looks like this:
{% for post in homepage_excerpt.blog.most_recent_blog_posts limit: 2 %}
In which the numerical limit can be increased or decreased per preference (default is 2).
Is there some place in the template that I can make more than four of them visible on the homepage? I’d like them to continue to be displayed on the homepage in the preview boxes (as seen here: http://headliner-theme.nationbuilder.com/) not as a list (as seen here: http://presence-theme.nationbuilder.com/).
Any help would be much appreciated!
Jason
The reason that your blog posts aren’t appearing like they do on the demo site is because you’re probably putting the homepage tag on each individual blog post correct? It will only display like this http://collective-theme.nationbuilder.com/ when you have put the homepage on the actual blog itself and not each individual post. It’s meant to display the most recently published posts on your blog.
Harley,
That’s weird that your event page isn’t showing up using the homepage tag. Could you post a link to the page in question and I could take a look at it?