Notifications
Clear all

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

3 Posts
2 Users
2 Reactions
331 Views
JorgeW
Posts: 105
Topic starter
(@jorgew)
Estimable Member
Joined: 5 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: 406
Admin
(@blackraz)
Contributor
Joined: 8 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: 5 years ago

Estimable Member
Posts: 105

Hi @blackraz 

Works beautiful, thanks!!!