Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Solved] Full Latest Post

3 Posts
2 Users
0 Reactions
3,412 Views
Posts: 4
Topic starter
(@kaydev)
Active Member
Joined: 8 years ago

How can I get the full latest post to show and not be cut off. Please see my screenshot.

What file and code do I need to change?


2 Replies
Robert
Posts: 10592
Admin
(@robert)
Support Team
Joined: 10 years ago

You should customize wpForo Topic template file (update save way):

1. Create a /wpforo/ folder in your WordPress active theme folder. Create /layouts/ folder here, then /1/ folder in layouts folder. The end path should be: /wp-content/themes/your-theme/wpforo/layouts/1/

2. Copy topic.php file from plugin folder /wp-content/plugins/wpforo/wpf-themes/classic/layouts/1/ directory to the wpforo/layouts/1/ folder in WordPress active theme (created on 1st step).

3. Open just copied /wpforo/layouts/1/topic.php file.

4. Find this code:

<?php echo esc_html( wpforo_text($first_post['body'], 50, false)) ?>

5. Replace to this:

<?php echo $first_post['body'] ?>

6. Find this code:

<?php echo (( $post_body = esc_html(wpforo_text($post['body'], 50, FALSE)) ) ? $post_body : esc_html($post['title'])) ?>

7. Replace to this:

<?php echo $post['body'] ?>

Posts: 4
Topic starter
(@kaydev)
Active Member
Joined: 8 years ago

THANK YOU!

I also made a few other changes because member's names were also too short and being cut off.