Title: This plugin and SEO Framework
Last modified: September 7, 2020

---

# This plugin and SEO Framework

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/)
 * Hello.
 * While there is a code in your FAQ about fixing the canonical url with SEO FRAMEWORK,
   still the desctiption is wrong, taken from your page description:
 * “<meta name=”description” content=”This page is used by Events Made Easy. Don't
   change it, don't use it in your menu's, don't delete it. Just make sure the EME
   setting called 'Events page'” />”
 * Any ideas how to fix this?
 * Thanks

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13431455)
 * EME overrides that description per event with its own meta-tag. So maybe you 
   should try to make sure the SEO framework doesn’t interfere there …
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13431769)
 * Sure, the question is how? There is no option for that.
 * Maybe i should ask the SEO plugin developer.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13431907)
 * I think the seo framework filter to bypass is the_seo_framework_description_output.
   I’ll add that to the faq too
    Edit: FAQ adapted (hope it works 🙂 )
    -  This reply was modified 5 years, 7 months ago by [Franky](https://wordpress.org/support/users/liedekef/).
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13436076)
 * I will have to test this next WE and update here.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13437397)
 * Well, the
 * “add_filter (‘the_seo_framework_description_output’, ’eme_seo_framework_filter’);”
 * part doesn’t seem to work. SEO Framework continues to put out the wrong page 
   description.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13438336)
 * Sorry, then it is a question for that plugin I suppose … you did use the complete
   example I hope? I renamed the function reference so …
    -  This reply was modified 5 years, 7 months ago by [Franky](https://wordpress.org/support/users/liedekef/).
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13438919)
 * Sure, i already asked them and wait.
 * Yes i used the full functions.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13442637)
 * If anybody needs to do that, this is the way to totally disable SEO Framework
   from EME.
 * **In the below example you need to find and replace the PAGE ID.**
 *     ```
       add_filter( 'the_seo_framework_query_supports_seo', function( $supported ) {
   
       	$tsf = the_seo_framework();
   
       	// This TSF method also works in the admin area, and prevents ID collision with terms.
       	if ( $tsf->is_singular() ) {
   
       		// Define your excluded page IDs here.
       		$excluded_ids = [ 42, 9001 ];
   
       		// This TSF method supports page-as-archive pages, like blog and shop pages.
       		if ( in_array( $tsf->get_the_real_ID(), $excluded_ids, true ) ) {
       			$supported = false;
       		}
       	}
   
       	return $supported;
       } );
       ```
   
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13442673)
 * Thanks, I updated the faq. Maybe it would work like this too?
 *     ```
       add_filter( 'the_seo_framework_query_supports_seo', function( $supported ) {
       	if (eme_is_single_event_page() || eme_is_single_location_page()) {
       			$supported = false;
       	}
       	return $supported;
       } );
       ```
   
 * But I’ll leave that up to you for testing 🙂
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13442746)
 * Yes that also seems to work.
 * What of the two shall i use?
 * (the first code was posted by the SEO Frameworks devs).
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13443309)
 * By the looks of it, I’d say that the latter is more efficient, but you can always
   add php timings at the beginning and at the end of the function to see what is
   more efficient in timing to be sure 🙂

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘This plugin and SEO Framework’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-seo-framework/#post-13443309)
 * Status: resolved