Hello Pascal,
I am not getting the recent topics if i indicate the id of a subforum. It seems like it only works when you are in the root. If i put in ‘any’ in the Parent Forum ID field every topic is shown. My answer is still not answered. I don’t know which code to edit.
Thanks for your help.
Thanks for your reply. I have given you the wrong information. I have a root forum with several subforums. In want to show the latest topics from one subforum that has 4 childforums.
That did the trick! Thanks!
Already figured it out!
Here is the code i used:
<?php
$current_user = wp_get_current_user();
global $current_user;
get_currentuserinfo();
if ( is_user_logged_in() ) {
echo '<b>Welcome,</b> ' . $current_user->user_login . '';
echo ' ';
echo get_avatar( $current_user->ID, 20 );
} else {
echo '<b>Welcome,</b> Guest! <a href="http://hardstyle-united.nl/register/">Register</a> or ';
}
?>
<?php wp_loginout(); ?>
I am not searching for a plugin actually. Need the php code to show these options.
Maybe its a wordpress thing or maybe its a BBpress thing or maybe both.
Don’t want it on the menu. Sorry.