AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Topic description is not at top

2 Posts
2 Users
1 Reactions
4,184 Views
Posts: 10
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@xcalizorz)
Active Member
Joined: 7 years ago
[#9057]

Hi,

my QA Layout looks like this:

Category -> Main Forum -> Many Sub Forums (~30)

Every user can create a topic in the Main Forum and in all Sub Forums, which works fine.
The problem is, that the button to add a topic in the main forum is at the bottom.

And with approx. 30 sub forums, one would have to scroll a lot to get to the bottom..
Is there a way to insert the topic description and the button at the top - as is with all sub forums.

Category:
https://ilm-forum.de/ilm/

Main Forum:
https://ilm-forum.de/ilm/hanafiya/


1 Reply
Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @xcalizorz,

Please follow the steps below:

1. In the current active theme folder, create a new folder called /wpforo/

2. copy the following file 

wp-content/plugins/wpforo/wpf-themes/classic/index.php

to 

wp-content/themes/yourtheme/wpforo/classic/index.php

3. In copied file go to 40 line, find the following part of the code:

include( wpftpl('forum.php') );
if( WPF()->current_object['template'] === 'topic' ){
include( wpftpl('topic.php') );
}

4. replace with the following one:

if( WPF()->current_object['template'] === 'topic' ){
include( wpftpl('topic.php') );
}
include( wpftpl('forum.php') );

The copied file will now automatically override the wpForo default theme file. All changes in this file will not be lost on forum update.

IMPORTANT: Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.

 


Share: