Hi @jakob6787,
There is a way to change the sorting on an individual “forum” basis. Go in the admin area to edit the forum and you’ll see a meta box with some settings that will be specific to that forum.
I hope that solves your need! Let me know. Thanks.
`Hello @natekinkead,
Thank you for your quick reply.
I already know this attitude, that’s why I wrote
“First of all: I would like a site that doesn’t have a forum of its own.”
in the last sentence. (I know you can get it wrong, sorry)
I use bbpress and like to have a classic wp page on which all posts are displayed via shortcode. These posts should then be sorted according to the creation date and not according to votes.
Is that or something like that possible?
@jakob6787 , so even that shortcode that displays posts, is not specific to any forum?
If that’s the case, then maybe using this hook would help. Instead of checking the $forum_id, you could check the current page ID…
add_filter( 'bbp_voting_allowed_on_forum', 'allowed_voting_forums', 10, 2 );
function allowed_voting_forums( $allowed, $forum_id ) {
if( get_the_ID() == 123 ) $allowed = false;
return $allowed;
}
Will something like this work for you?
@natekinkead , that’s exactly what i meant.
@natekinkead , everything is working now.
Thanks a lot for your help and your time.