How to put the post box on top?
Hey, my name is Johan.
I just wondering how to put the postbox on top of the forum, because we have reverse forum that you se the latest post first and not last.
So i want to have the post box on top. is this possible?
Where/or how do i fix that?
I use bbPress 2.5.8 version.
Thanks in advance!
Hi Johan, goede avond,
I suppose you can copy the content-single-forum.php to your own child theme and modify it accordingly.
You could try something like this. Place this code before the ending
</html>tag in your footer.php file of your theme.
<script> jQuery($('.bbp-topic-form').insertAfter('#subscription-toggle'); </script>
Oh thanks for answering.
Hmm i don’t have a footer.php file haha?
Or am i looking at the wrong place perhaps..?
What do i do then?
My knowledge of wordpress and html is so crappy and my english is also crappy, please describe in much details haha.
Do you have a theme footer.php file? Appearance, Themes, Editor? Everyone has that.
Then i am at the right place. But i don’t have any .php file that say footer in it what so ever haha, i’m serious…. :S
Can you please share your site URL? I don’t know how it is possible to not have a footer file.
The forum is here and as you can se the post box is at the bottom
It’s swedish. I have never touched one php file ever. Maybe we use deafault or something…i don’t know
Sorry, I was trying to ask you to link to the theme but failed. Your theme does have a footer, now we just have to find the file.
I use Avada fusion as theme i think. I have looked for avada footer fusion footer and footer of any kind, but noting 🙁 🙁
I do suck at this with wordpress and editing.
Hey i found it!!! It was translated to my language swedish, but in the little small text under it it says footer hehe dumbass Johan!
I would just edit the template, I could not make my code work either.
So where should i place that code again?
It looks like this in my footer.php at the end, already another script also…
Help the last time, where should i paste that code you wrote in?
Please insert this code in a mu-plugin. Using FTP, create a folder named “mu-plugins” in the /wp-content directory without the quotes. Then create a file named what ever you want with a .php extention. For example, example-plugin.php.
Do what @casiepa said and just put the bbPress template
content-single-forum.phpin a folder called bbpress in your child theme, and edit the file.
A guide like this would help you figure out how you can customize the bbPress default theme in a child theme.
Just make your file look similar to this gist.
@tech55541 thanks for helping out in a few topics in the support forums, but your code shows undefined messages in the user profile subscriptions section if you are subscribed to a forum.
@robkk, I am quite a new coder, I will have to test it later and figure out what is wrong.
Hi, jumping into this conversation.
What Johan is asking for is to put the reply box into the top of a single topic.
What line in content-single-forum.php and/or content-single-topic.php is it that defines the (position of the) replybox?
When it comes to getting the reply box on top in single forum it seems to work out fine. Can´t just figure out what to change in the content-single-topic.php to make the same things happen.
1. Does anyone know how to move the reply box in bbpress forum from the bottom to the top!? I tried to code but it does not work for me!!?
2. Is it possible to make the reply box as it is in the activity page? (which is very small and handy)
- You must be logged in to reply to this topic.