Skip to:
Content
Pages
Categories
Search
Top
Bottom

hide if there’s no freshness topic

  • @leev18

    Participant

    Hello, I’m looking for a way to hide something that will be with the <?php bbp_forum_freshness_link(); ?>. Whenever there’s a topic for the forum, <?php bbp_forum_freshness_link(); ?> will display a link. If there’s no topic in the forum or it’s empty, then there will be no link. How do I add the same function to some custom added codes.

    Examples, I’m looking for something like this:

    <?php don’t display if there’s no topic or it’s empty ?>
    topic title
    by author
    <?php bbp_forum_freshness_link(); ?>

    <?php endif;?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar