Topic Form setting forum
On my bbpress forum pages I have a “Post” button which leads to a form, on this form I do not want the Forum drop box, Instead I want it to say the forum the button was clicked on e.g If the page they clicked the button was called Discussion it say “Forum: Discussion”.
I have a var call ‘id’ which is carried via the url e.g “www.website.com/add-topic?id=Discussion” and is collected on the form page using the $_GET method.
Now I can echo that using php. but I can seem to link it to the form.
I know the drop box uses bbp_get_form_topic_forum()… but is there away of setting it?
Like bbp_set_form_topic_forum = $id?
Anything would be great help!
- You must be logged in to reply to this topic.