Support Forum

Recent forum post and its comments on the home page

CH Connor Hart
Connor Hart
Member

Hi,

I want to display recent forum post and its comments on the home page.Please assist .

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Not quite sure what you mean by “and it’s comments” but there are various ways to get a listing of recent or today’s posts or ‘hot’ topics etc., with the use of the template tags plugin. See here for information: http://codex.simple-press.com/codex/plugins/our-plugins/the-template-tags-plugin/

This plugin also includes the recent posts widget…

CH Connor Hart
Connor Hart
Member

Hi,

thanks for the response , what my need is to display most recent and its reply in the home page .Please see the attachment.I want to dispaly it with the same look and feel of a forum page.forum.png

YS Yellow Swordfish
Yellow Swordfish
Member

We don’t offer anything ‘out of the box’ along those lines I am afraid – and it would, actually, need quite a lot of crafting. It would need the SP theme template and styles loaded. Doable but not a quick task. We have no such plans currently.

CH Connor Hart
Connor Hart
Member

Hi,

could you please help me in copying the sp template to the home page ? I realize that sp functions wont work out side the templates .I want the recent topics and its replays there

MP Mr Papa
Mr Papa
Member

sp functions can work outside of templates…

copying the sp template?  you wan to show the recent posts on the front page?

see:  http://codex.simple-press.com/codex/plugins/our-plugins/the-template-tags-plugin/template-tag-recent-posts/

CH Connor Hart
Connor Hart
Member

thank you for responding  .I want to display the recent post(title,content,etc ) and its comments in the home page.And unfortunately it is not possible using http://codex.simple-press.com/codex/plugins/our-plugins/the-template-tags-plugin/template-tag-recent-posts/ this plugin.

I assume that this can be done by editing the sp templates .But i am not sure about it :(

BR Brandon
Brandon
Member

I am a little confused here. If you want to show a recent or latest post there is no comment after it because a comment would become the recent post.

It sounds like what you want is the latest new topic displayed and any posts to that latest topic shown under it. That in itself brings up questions like what if there are 10, 20 or 50+ replies to the latest topic. How would that be handled?