Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Visitor's landing post within a topic.

3 Posts
2 Users
2 Reactions
807 Views
JorgeW
Posts: 107
Topic starter
(@jorgew)
Estimable Member
Joined: 6 years ago

Hi,

When a visitor enters a topic wpForo (2.2.3 and 2.2.5, threaded layout) takes him/her right away to the last post (most recent post) in topic's thread.

Is there a way (or a setting) to allow visitors to be taken instead to the initial topic?
(Topic head includes the "Last Post button" anyway.)

Thanks.

2 Replies
BlackRaz
Posts: 396
Admin
(@blackraz)
Contributor
Joined: 9 years ago

Hi @jorgew

Try to add this filter into your WordPress, using the https://wordpress.org/plugins/code-snippets/

add_filter( 'wpforo_topic_title_structure', function( string $structure ): string{
return str_replace('{au}', '{a}', $structure);
} );
1 Reply
JorgeW
(@jorgew)
Joined: 6 years ago

Estimable Member
Posts: 107

Hi @blackraz 

Works beautiful, thanks!!!