#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
How to change the p...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] How to change the post layout like in this forum?

    Last Post
RSS

Beyondforce
Posts: 109
 Beyondforce
Topic starter
February 9, 2020 4:57 am
(@beyondforce)
Estimable Member
Joined: 3 years ago

Hey guys,

I was wondering how if it's possible the change the post layout like in this forum where the User meta is at the top of the post, see the attached image.

I want only the avatar and the number to be on the left and the rest of the info above the post.

 

Thanks.

 post-layout.png
Topic Tags
threaded layout topics order custom function template customization customization
6 Replies
VereK
Posts: 349
 VereK
Beta Tester
February 9, 2020 5:12 am
(@verek)
Reputable Member
Joined: 4 years ago

Threaded layout.

Beyondforce
Posts: 109
 Beyondforce
Topic starter
February 9, 2020 5:41 am
(@beyondforce)
Estimable Member
Joined: 3 years ago

I have one problem with the Threaded layout, on the front forums page under the Recent topics, it shows the pinned posts at the top instead of the last post and I only want to show the last 5 posts.

Those pinned posts are important but only if you go into that specific forum. On the front forums page, it should show only the last posts and I can't control that 😒

2 Replies
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 9090
Robert - Twitter
February 9, 2020 10:04 am
Reply toBeyondforceBeyondforce

@beyondforce

Screenshot please.

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Beyondforce
 Beyondforce
(@beyondforce)
Joined: 3 years ago

Estimable Member
Posts: 109
February 9, 2020 10:10 am
Reply toRobertRobert
Beyondforce

@robert

Here you go:

https://tesreg.com/community/

 

 threaded.png
Robert
Posts: 9090
Robert - Twitter
 Robert
Admin
February 9, 2020 10:37 am
(@robert)
Support Team
Joined: 6 years ago

Please do these steps to make the change in update-safe way.

1. Create a /wpforo/ folder in your current active theme folder. If you have a child theme create it in the child theme folder.

2. Create /layouts/ folder in the /wpforo/ folder, then create /4/ folder in the /layout/ folder. So the end directory should look like this: /wp-content/themes/your-active-theme/wpforo/layouts/4/

3. Copy /wp-content/plugins/wpforo/wpf-themes/classic/layouts/4/forum.php file and paste in the new created directory: /wp-content/themes/your-active-theme/wpforo/layouts/4/

4. Edit the copied file and find this line:

$args = array( 'row_count' => WPF()->forum->options['layout_threaded_intro_topics_count'], 'forumids' => $child_forums, 'orderby' => 'type, modified', 'order' => 'DESC' );

5. Change it to this and save:

$args = array( 'row_count' => WPF()->forum->options['layout_threaded_intro_topics_count'], 'forumids' => $child_forums, 'orderby' => 'modified', 'order' => 'DESC' );

More information about update-safe way customization of wpForo temlate files you can find here: https://wpforo.com/docs/root/forum-themes/theme-customization/

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Beyondforce liked
1 Reply
Beyondforce
 Beyondforce
(@beyondforce)
Joined: 3 years ago

Estimable Member
Posts: 109
February 9, 2020 10:59 am
Reply toRobertRobert

@robert

Nice, it seems to be working. Great job 😁

 

Robert liked
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • How do I change the user names so the full name appears, and not cut off with "..." on the end?
    1 week ago
  • Threaded layout settings
    3 months ago
  • WpForo customization
    8 months ago
  • Facebook login button
    8 months ago
  • Threaded layout "Add Topic" editor related question
    10 months ago
Topic Tags:  threaded layout (35), topics order (5), custom function (12), template customization (3), customization (24),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Attachments not showing on forums posts after migration

    By Formicid, 1 hour ago

  • New Feature About Plugin Customization and Integration

    By z14165899, 13 hours ago

  • WordPress Email sending function wp_mail() doesn't work!

    By feassistant, 21 hours ago

  • Import users from IPBoard

    By jesusdlg, 1 day ago

  • Intruder signing in to wpforo without approval

    By plaurits, 2 days ago

  • How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 3 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • spam33
  • editor33
  • menu33
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2195)

Recent Posts

  • RE: replacing create_function() with something else for PHP8 [duplicate]

    Hi @douglajonson, what is the plugin name?

    By Chris, 8 mins ago

  • RE: Description for each topic?

    @christine, wpForo does not have a topic description ...

    By Chris, 34 mins ago

  • RE: About Plugin Customization and Integration

    Hi @z14165899, Please send your request to sales[at]g...

    By Chris, 43 mins ago

  • Attachments not showing on forums posts after migration

    Hello I just did a manual migration and the older forum...

    By Formicid, 1 hour ago

  • RE: WordPress Email sending function wp_mail() doesn't work!

    @dimalifragis thanks for the enlightenment there. It...

    By feassistant, 15 hours ago

  • RE: Intruder signing in to wpforo without approval

    Maybe at Wordpress.org ?

    By dimalifragis, 23 hours ago

  • Import users from IPBoard

    Hello, Is it possible to import users from ipboard? (...

    By jesusdlg, 1 day ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,940 Topics
50.3 K Posts
16 Online
48.4 K Members

Latest Post: replacing create_function() with something else for PHP8 [duplicate] Our newest member: Лестницы Деревянные Цена В Ниж... Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation