[Solved] Include topic title in site page title
How can I get wpForo topic titles to show up in the page titles? Right now the page title is static, always displaying the same thing no matter what forum topic I am viewing.
The title IS working well for me also.
You seem to have some conflict. Disable your plugins one by one and find the cause of it.
Or even enable WP DEBUG.LOG and check for possible errors.
Hm... I'm thinking it may be a conflict with the Divi theme. Still digging, very frustrating.
Ok, hacked it!
To make this work on my site, I had to add the following line to my child theme's functions.php :
add_filter( 'pre_get_document_title', 'wpforo_meta_wp_title', 100);
Note, this is taken and modified from line 625 of /wpforo/wpf-includes/wpf-hooks.php. I just changed the filter from 'wp_title' to 'pre_get_document_title'.
Thank you for sharing this code.