bbPress

Simple, Fast, Elegant

bbPress support forums » Themes

Is there a list of template tags anywhere?

(2 posts)
  • Started 1 year ago by nolageek
  • Latest reply from mdawaffe
  • This topic is not a support question
  1. nolageek
    Member

    I see in the front_page.php there is <?php topic_last_poster(); ?> which will show the last poster for that topic. I'd like the username to link to that person's profile.

    I've tried using combinations of <?php topic_last_poster_id(); ?> <?php topic_last_poster_link(); ?> <?php topic_last_poster_profile(); ?> <?php topic_last_poster(); ?> and nothing seems to be valid.

    Is there a way I can do this?

    Posted 1 year ago #
  2. No easily.

    Try:

    <a href="<?php user_profile_link( $topic->topic_last_poster ); ?>" title="User Profile"><?php topic_last_poster(); ?></a>

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.