July 9, 2011 at 10:48 pm #4958
Is there some way to display a specific post (as opposed to a page which is a built-in option) in a column view using the template builder?July 10, 2011 at 2:07 am #48307
Yes, you can create a dynamic template and add the columns element. Here you can select the column content – try post from Category. Then you can select the category your post is in – if you want a specific post you can create a category to place the post in. How I do it is create a category for every post I want to show. Lets say I have 4 columns I’d create Post 1, 2, 3 & 4 with respectively category 1, 2 ,3 & 4 assigned to them.July 17, 2011 at 2:56 pm #48308
I did what you suggested and it kinda works. Two things:
1) In order for any posts from the categories to show up in the columns you must have at least two posts assigned to that category. It would be cleaner (for my client in the end who will be assigning categories to make things appear in whatever column) to have it work with just a single post assigned to the category. Is there a way to change that behavior, or at least point me to the code that does this query?
2) The post that gets pulled of the two in the category is the first one published. Any way to change that to the last one published?
I guess I can live with having a “placeholder” post in each category if for some reason that is necessary. But having to change the publish dates for the posts to get the most recent one to show up is kinda awkward.July 17, 2011 at 7:46 pm #48309
My mistake on item #2 above, I had only added two posts in the category.
The real issue is that there is some sort of offset that is applied to posts that appear in the columns created by the template builder.
The docs say that the theme will display the most current post, but it really displays the “second to the most current” post. It skips the most current post.
How can I change this to display the most current post in the column?July 18, 2011 at 6:08 am #48310
we’re aware of this bug and it’ll be fixed in the upcoming update ( https://kriesi.at/support/topic/dynamic-templates-latest-posts )July 21, 2011 at 11:54 pm #48311
Any idea when the upcoming update will be released? Does the new Shoutbox theme incorporate the fix for this bug?
CarlJuly 22, 2011 at 5:36 am #48312
The topic ‘Display a specific post in column layout using template builder?’ is closed to new replies.