Customized bbPress templates and CSS for WordPress Support Forums
- Create a local install (MAMP/XAMPP/VVV) with the latest WordPress version
- Delete the Twenty Twelve, Thirteen and Fourteen themes from
/wp-content/themes - Clone the repo
git clone https://github.com/ntwb/bbPress-GSoc2014.gitinto/wp-content/themes - Open
wp-config.phpand just before/* That's all, stop editing! Happy blogging. */add: define( 'WPORGPATH', __DIR__ . '/wp-content/themes/' );- Dashboard -> Appearance -> Themes -> Activate the
WPBBPtheme - Dashboard -> Settings -> Permalink -> Change the permalinks to 'Post name' (
/%postname%/)
- Checkout the bbPress SVN repo into
/wp-content/plugins - Install and build bbPress from a terminal/command prompt
npm installandgrunt build - Full details in the README.md
- Activate the bbPress plugin
- Dashboard -> Settings -> Forums -> Forum Root Slug -> Forum Root set to
support<-wordpress.org/support - Dashboard -> Settings -> Forums -> Topics & Replies set to 3 per page to invoke pagination
- Dashboard -> Settings -> Forums -> Topics & Replies RSS set to 3 per page invoke pagination
- Dashboard -> Tools -> Import -> Install the
WordPressimporter andActivate Plugin & Run Importer - Select the
/wp-content/themes/wpbbp.wxrfile clickUpload file and import(assign posts to an existing admin user) - Dashboard -> Pages -> Edit the 'Forums' page and select the page template
bbPress - Support (Index)and save the page - Dashboard -> Settings -> Reading -> Select a 'Static Page' for the 'Front Page' and select
Forums
- Original bbPress 1.x theme templates
/bbpress-1x-dotorg-theme(Supplied by @nacin)
- CSS Assets https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/style
- WordPress.org header https://wordpress.org/header.php == /header.php
- WordPress.org footer https://wordpress.org/footer.php == footer.php
Note: Ensure <link rel="stylesheet" href="http://s.w.org/style/forum-wp4.css?13" /> is not removed in header.php
ToDo: See wp_enqueue_styles in /wporg-forums/functions.php