Forum Replies Created
I have included the code snippet above to show comments on custom templates (Corona Theme), but also need some sort of conditional code to make the display (or non-display) of comments agree with the “Allow comments” check box for any given posting.
Allowing comments works great, the box appears, etc. But if I choose to not allow comments, I still get this block of text:
Comments are closed.
Leave a Reply
Want to join the discussion?
Feel free to contribute!
Anyway to make that not appear?
CarlJuly 21, 2011 at 11:54 pm in reply to: Display a specific post in column layout using template builder? #48311
Any idea when the upcoming update will be released? Does the new Shoutbox theme incorporate the fix for this bug?
CarlJuly 17, 2011 at 7:46 pm in reply to: Display a specific post in column layout using template builder? #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 17, 2011 at 2:56 pm in reply to: Display a specific post in column layout using template builder? #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.