Info
- 2 posts
- 2 voices
- Started 3 years ago by _ck_
- Latest reply from Trent Adams
- This topic is not a support question
Here's how to use bbPress outside the bbPress directory
-
- Posted 3 years ago #
You might want to create a static page outside of your bbPress installation that still uses the matching header and footer you have in bbPress. Well it's very easy.
Make yourself a directory above bbPress with any name you'd like, let's say "/about/"
In "/about/" make an
index.phpwith this content:
<?php require('../forums/bb-load.php'); // change /forums/ to your actual forum path add_action('bb_head','about_css'); include(bb_get_active_theme_uri()."header.php"); function about_css() { // put any custom CSS you want in here echo '<style> img {border:0;} </style>'; } ?> <h3 class="bbcrumb"><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a> » About</h3> <h2>About</h2> Your "about" text goes here! <?php include(bb_get_active_theme_uri()."/footer.php"); ?> -
- Posted 3 years ago #
You could pretty much make a codex out of your plugins and tips _ck_ :) Another great one!
-
You must log in to post.