#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • 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:
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: 2 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: 247
 VereK
February 9, 2020 5:12 am
(@verek)
Estimable Member
Joined: 3 years ago

Threaded layout.

Beyondforce
Posts: 109
 Beyondforce
Topic starter
February 9, 2020 5:41 am
(@beyondforce)
Estimable Member
Joined: 2 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: 5 years ago

Support Team
Posts: 7572
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: 2 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: 7572
 Robert
Admin
February 9, 2020 10:37 am
(@robert)
Support Team
Joined: 5 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: 2 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
  • Changing to a threaded layout
    1 week ago
  • Post order
    2 months ago
  • Link to the last reply on threaded layout doesn't show up for guest posting
    4 months ago
  • Using Threaded format, how to mark Topic as Solved?
    6 months ago
  • how to use Category Layout (Extended) but my replay post like Threaded
    6 months ago
Topic Tags:  threaded layout (30), topics order (4), custom function (12), template customization (3), customization (18),

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
View all Addons »

Recent Topics

  • Subscribing through the subscription manager in some cases doesn't update the "subscribe to topics" button on forum

    By afreymuth, 10 hours ago

  • a little problem, I need help, thanks

    By adultwork, 11 hours ago

  • How to configure: When click on Topic it goes to 1st page (Topic starter)

    By nalin_duminda, 13 hours ago

  • Seeking assistance solving new users not getting a confirmation emails on WP Multisite

    By Hansie, 14 hours ago

  • White text on White background...again and again...

    By Morosirus, 20 hours ago

  • display a shortcode in the category description

    By mazohho, 20 hours ago

Topic Tags

  • new features43
  • seo39
  • translation36
  • plugin conflict35
  • forum33
  • buddypress31
  • login31
  • threaded layout30
  • registration29
  • ultimate member28
  • moderation27
  • editor25
  • avatar24
  • shortcode24
  • css23
  • tags22
  • menu21
  • migration20
  • url20
  • profile20
View all tags (1474)

Recent Posts

  • RE: Fatal error:

    @robert OK, thanks my prob...

    By Bujkilla, 5 hours ago

  • RE: Views are no longer counted

    Again , Views are counted very well, but not in real...

    By Robert, 8 hours ago

  • RE: How are "views" calculated?

    Please read this topic attentive from first post. It's ...

    By Robert, 9 hours ago

  • Subscribing through the subscription manager in some cases doesn't update the "subscribe to topics" button on forum

    Hi,I think this is just a development oversight more th...

    By afreymuth, 10 hours ago

  • a little problem, I need help, thanks

    Hello,I'm not sure if I posted where I should, but I wa...

    By adultwork, 11 hours ago

  • How to configure: When click on Topic it goes to 1st page (Topic starter)

    Currently when click on topic it goes to the last page ...

    By nalin_duminda, 13 hours ago

  • Seeking assistance solving new users not getting a confirmation emails on WP Multisite

    Problem: When a new user registers through WPForo, they...

    By Hansie, 14 hours ago

Share:
  Forum Statistics
20 Forums
7,788 Topics
39 K Posts
4 Online
14.9 K Members

Latest Post: Fatal error: Our newest member: betthai882 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-2021 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
  • Documentation