Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress call for the time

  • Just like how WordPress calls time in the footer by <?php the_time(‘Y’); ?> and the name by <?php bloginfo(); ?>. What is the code I need to use for bbPress since <?php the_time(‘Y’); ?> doesn’t work to get the year? I also need to know how to get the bbPress title.

Viewing 1 replies (of 1 total)

  • chrishajer
    Participant

    @chrishajer

    If you just want the year with php, you don’t need bbPress functions at all, just php:

    <?php echo date('Y'); ?>

    That will echo the current year.

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