Hello!
I don’t know why the workaround I gave four months ago stopped working, but wpForo has had 14 updates since, so it may finally have settled a workable API.
I’ll look into a permanent workaround for the next minor update of TSF — I’m currently working on three plugins simultaneously, so I cannot give an ETA.
This snippet did work during my initial testing, however; may it help you:
add_action( 'the_seo_framework_query_supports_seo', function( $supported ) {
// No need to evaluate further if already not supported.
if ( ! $supported ) return $supported;
if ( function_exists( 'is_wpforo_page' ) && is_wpforo_page() )
$supported = false;
return $supported;
} );
You can (and should) remove the older snippet — it is no longer correct for wpForo v2.1.
Thread Starter
dimal
(@dimalifragis)
Hi,
That action should be added as a snippet as before or somewhe else?
Thank a lot.
Hi again!
I’m not sure where you added the snippet before, but any of these locations should work: https://kb.theseoframework.com/kb/using-filters/#where.
Thread Starter
dimal
(@dimalifragis)
Ok, we were using a snippet plugin (Code Snippets), so we will use that again.
Thank you
Thread Starter
dimal
(@dimalifragis)
The code works well, thank you !