Support » Plugin: Schema » Additional social sites

  • I’d like to be able to enter any social site or for a larger set to be supported. E.g. I would like to enter links to AngelList, Stack Overflow, and GitHub

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hesham Zebida


    There is no way in the plugin to add extra social profiles links, but you can use a filter to do so, here is an example function that you can place within your Theme’s function.php to add more links:

    add_filter( 'schema_wp_knowledge_graph_json', 'add_social_to_schema_wp_knowledge_graph_json_567656765' );
     * Schema Premium Plugin: Add additional Social Profiles links to Knowledge Graph
     * @since 1.0.0
    function add_social_to_schema_wp_knowledge_graph_json_567656765( $schema ) {
    	$schema["sameAs"][] = 'URL #1 HERE';
    	$schema["sameAs"][] = 'URL #2 HERE';
    	return $schema;

    And, here is the gist where you can grab the code.

    I hope this helps.

    Here’s more details about adding a filter for anyone else who reads this:

    The Schema & Structured Data for WP & AMP plugin said they would add this feature for me though, so that might end up being the easier way to go:




    I second @chengas123. Just submitted a similar request to add Yelp.

    The plugin author of Schema and Structured Data for WP plugin added Yelp within one week after I submitted a request.

    Thank you for your consideration and above snippet.


    Plugin Author Hesham Zebida


    Thanks for sharing the example code.

    The reason why this feature won’t be added in Schema plugin is that Google recently dropped support for social profiles.

    Google: Social profile markup for Google knowledge panels is deprecated. We now automatically discover social profiles to include in Google knowledge panels.

    (learn more at Google developer site: here).

    So, my guess is this feature will be gone from the plugin at one of the future updates.



    Ah, I was not aware it had been deprecated! Thanks so much for the clarification Hesham!



    Though it may still be worth adding for Bing. I’m not sure whether they use the schema markup, but they support a different set of social sites. E.g. if you search for me on Bing then there are results for Twitter, GitHub, LinkedIn, Stack Overflow, and AngelList that appear:

    Of course Bing managed to find all these sites without the schema markup, so maybe it’s not necessary there either

    • This reply was modified 3 months ago by chengas123.
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.