Title: please help &#8220;schema&#8221;
Last modified: October 5, 2021

---

# please help “schema”

 *  Resolved [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/please-help-schema/)
 * Since my site needs to unify the “schema” under the footer, is there any way 
   to move it below the footer,
    I did a lot of research on “the_seo_framework_receive_json_data”
   but to no avail. Thanks
 *     ```
       add_action('wp', function() {
           remove_action( 'wp_head', 'the_seo_framework_receive_json_data', -999 );
           add_action( 'wp_footer', 'the_seo_framework_receive_json_data', 99999 ); 
           }
       );
       ```
   
    -  This topic was modified 4 years, 7 months ago by [minhduc.dev](https://wordpress.org/support/users/ducpl/).

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

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/please-help-schema/#post-14955745)
 * Hello!
 * You can shoot yourself in the foot by realizing this: TSF’s structured data markup
   is outputted first so that Google renders it leading. Any (conflicting) markup
   thereinafter the document (often from themes) is marked supplementary and might
   get discarded.
 * Before working with filters, please read our [filter guide](https://theseoframework.com/docs/using-filters/).
   Primarily, you tried to use a filter name as an action callback; this incites
   errors.
 * And then, before you continue, I implore you to read into Structured Data: [https://developers.google.com/search/docs/advanced/structured-data/intro-structured-data](https://developers.google.com/search/docs/advanced/structured-data/intro-structured-data).
 * With that said, to achieve what you wish, you must first overwrite the structured
   data with an empty string:
 *     ```
       add_filter( 'the_seo_framework_ldjson_scripts', '__return_empty_string' );
       ```
   
 * Then, you must call `the_seo_framework()->render_ld_json_scripts()` in the footer.
 * Please bear in mind that custom development is not within the scope of TSF support
   forums. I ask you to hire a developer if you wish to continue.
    -  This reply was modified 4 years, 7 months ago by [Sybre Waaijer](https://wordpress.org/support/users/cybr/).
      Reason: Clairty
 *  Thread Starter [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/please-help-schema/#post-14959698)
 * Thank you, I check your reply every day.
 * Can you help me complete it, maybe there will be many people who need it.
    I 
   like your seo plugin, so I have migrated from another plugin, I am learning to
   use many of these great features, I will buy soon to get to use more special 
   functions not to be missed.
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/please-help-schema/#post-14968227)
 * Hi again!
 * I’ll entertain the idea, but I do not recommend anyone implementing this filter,
   for it will probably break in a future update — nor do I believe it expedites
   a practical result.
 *     ```
       add_filter( 'the_seo_framework_ldjson_scripts', '__return_empty_string' );
       add_action( 'wp_footer', function() {
       	if ( function_exists( 'the_seo_framework' ) )
       		echo the_seo_framework()->render_ld_json_scripts() ?: '';
       } );
       ```
   
 * I hope that is what you’re seeking. To reiterate, this level of support is out
   of scope, so I still recommend getting in touch with a developer if you want 
   to customize it further.
 * Cheers 🙂
 *  Thread Starter [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/please-help-schema/#post-14971469)
 * Wow, worked fine.
    First time I know this “add_action” type.
 * Thanks for helping me out of plan
    Good health bro
    -  This reply was modified 4 years, 7 months ago by [minhduc.dev](https://wordpress.org/support/users/ducpl/).

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

The topic ‘please help “schema”’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/please-help-schema/#post-14971469)
 * Status: resolved