Info
- 2 posts
- 2 voices
- Started 4 years ago by parthatel
- Latest reply from chrishajer
bbPress call for the time
-
- Posted 4 years ago #
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.
-
- Posted 4 years 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.
-
You must log in to post.