How to specifiy a specific forum to write from a default dropdown selector?
I’m trying to make a topic creation form in a single page all by itself for a specific forum I created.
So I created a shortcode function using the code below.
and when I put this code into the page, I was able to make the topic creation form all by itself as I wanted.
But my question is how can I set a specific forum to write?
I see there’s a dropdown menu I can select the forum I want to write. But in default the dropdown menu selector set to the very first forum.
I want to have a specific forum selected as a default. Or if I can get rid of the dropdown forum selector and specify which forum I want to write, that’s fine too.
So I looked at the codes but I couldn’t figure out how to specify a specific forum to write.
I found the following code from form-topic.php and I guess I have to change the code somehow to specify the default selected forum.
<?php bbp_dropdown( array( ‘selected’ => bbp_get_form_topic_forum() ) ); ?>
Does anyone know how to do this?
Thanks in advance.
- You must be logged in to reply to this topic.