Forums
-
- Forum
- Posts
-
- Installation
- 28,096
- Troubleshooting
- 61,375
- Themes
- 10,273
- Plugins
- 15,137
- Requests & Feedback
- 14,751
- Showcase
- 3,251
-
If you don’t have a functions.php in tour theme folder, just create one & add the above code, just make sure to include the opening & closing functions, so it would look like
<?php
function bb_reset_newpostlink() {
global $link, $topic_id;
$link = get_topic_link( $topic_id );
}
add_action( 'bb-post.php', 'bb_reset_newpostlink' );
?>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS