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.
bbPress support forums » Pimp your Press
bbPress call for the time
(2 posts)-
Posted 6 months ago #
-
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.
Posted 6 months ago #
Reply
You must log in to post.