AI Assistant
Notifications
Clear all

[Closed] Custom layout?

5 Posts
3 Users
0 Reactions
3,968 Views
Posts: 3
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
(@pluggercat)
Active Member
Joined: 6 years ago
[#11221]

I like how the subforums list looks in the threaded layout but I don't like having the topics threaded on the front page. Is there a way to get the subforums list to look like that on the simplified layout and not have the topics threaded?

If not, maybe at least a css code to make the subforum titles larger larger would help.

Screenshot 2019 12 06 wpForo Support Forum

Edit: Okay I found this https://wpforo.com/docs/root/forum-themes/theme-customization/
So would I copy the topic.php from the simplified folder and put it in threaded to not have the topics show on front page? Or maybe there's a subforum thing that can be moved from the threaded theme to the simplified theme?


4 Replies
Posts: 993
Moderator
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
(@martin)
Support Team
Joined: 10 years ago

Hi @pluggercat,

Try to create custom post list layout in upgrade safe way.Β 

1. Create /wpforo/ folder in your current active theme folder.

2. Create /layouts/ folder in /wpforo/ folder

3. Create /4/ folder in /wpforo/layouts/ folder

4. Then copy simplified layout post template file ( posts.php ) to this /wpforo/layouts/4/ folder. You can find the template file in /wp-content/plugins/wpforo/wpf-themes/classic/layouts/2/ directory.


Posts: 3
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
(@pluggercat)
Active Member
Joined: 6 years ago

Thank you. I'm new to wordpress as well as the forum so just want to verify I have this right before messing with files.

I have wp/wp-content/themes and WPFORO/wp-content/themes/

The active theme is in the latter so I create WPFORO/wp-content/themes/activetheme/wpforo/layouts/4/

And then just copy posts.php into that.

Sorry, I just want to be sure I don't make a stupid mistake


2 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5774
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

@pluggercat

the /wpforo/ folder you should create in the /wp-content/themes/your-current-active-theme folder


(@pluggercat)
Joined: 6 years ago

Active Member
Posts: 3
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

Thank you. I just wanted to be sure I understood correctly.Β  It's easy to make stupid mistakes πŸ™‚


Share: