Info
- 5 posts
- 4 voices
- Started 10 months ago by EL45
- Latest reply from juneman
- This topic is resolved
BBPress 2.0: How to use shortcodes?
-
- Posted 10 months ago #
Hello,
I have searched both here and on WordPress.org for how to use shortcodes and still can't seem to get it right.
I have a custom WordPress theme that is based on the stock twenty-eleven theme. I have created a child theme in order to add styling for my BBPress forum.
I'm hoping to mimic a style similar to the forums here on bbpress.org with the forum listings on the side. Am I correct this can be accomplished? If so, where do I include the shortcodes?
Thank you in advance. Any help is greatly appreciated.
-
- Posted 10 months ago #
Shortcodes go in a page, but you can also use them in themes and plugins using the
<?php echo do_shortcode( $content ); ?>function.http://codex.wordpress.org/Function_Reference/do_shortcode
So in your theme you would put this somewhere:
<?php echo do_shortcode('[bbp-forum-index]'); ?> -
- Posted 10 months ago #
Great. Thank you for your quick reply!
-
- Posted 5 months ago #
-
- Posted 5 months ago #
Awesome !
Thanks hscoder
really useful linksbest wishes
_____________________________
"I recently learned something quite interesting about video games. Many young people have developed incredible hand, eye, and brain coordination in playing these games. The air force believes these kids will be our outstanding pilots should they fly our jets." -
You must log in to post.