Support Forum

Template Tag for Recent Post

10 Answers

New Answer

MP Mr Papa
Mr Papa
Member

that list addresses changes to themes…  the new template tag is part of the template tags plugin…  sp_NewestTopicsTag()…

CP Christian Pagan
Christian Pagan
Member

So will it automatically with the new upgrade have this feature set even with a custom child theme.

YS Yellow Swordfish
Yellow Swordfish
Member

Not sure what you mean. A template tag is something you use – almost always – outside of the forum. In sidebars or footers etc. Just like WP template tags that display categories or links etc.

CP Christian Pagan
Christian Pagan
Member

We have thrown in a new template tag to display recent new topics 

This is what I am looking for, where does this display on the forum. I see you guys have a red button that displays when there is a new post on the Topic, that is what I am looking for.

YS Yellow Swordfish
Yellow Swordfish
Member

The ‘New’ button? That is not a template tag. That is a basic part of SP.

MP Mr Papa
Mr Papa
Member

first, the list at the bottom you refer to is unread posts…  its show, at least in our provided themes, on the main forum page to all users but admins…  you can of course, turn it on for admins too (they usually use the admin bar and dont need it)…  but its all part of core and not a plugin…  and the list will vary from user to user based on new posts from their last visit…  users may get from 0 to the defined limit in template function depending on new posts since their last visit…

the new template tag you referred to that is part of the template tags plugin would display the most recent topics to all users outside of your forum…  though you could do it there too…  the template tag displays the last X new topics from your site and will be the same for every user (with exception of handling permissions to view)…

CP Christian Pagan
Christian Pagan
Member

Ok that is what I wanted to find out. i just never see that button that says new replies on a topic ever pop up so I thought it was broken since I have a custom theme.