You want to go to appearance, then editor and find Theme Header (header.php) In that file, you want to add that link anywhere in this area:
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<?php if ( of_get_option( ‘favicon’ ) ) echo ‘<link rel=”shortcut icon” href=”‘.esc_url( of_get_option( ‘favicon’ ) ).'” />’; ?>
<?php wp_head(); ?>
</head>
It is recommended that you not edit the theme files directly. If the theme ever gets updated, then the changes will be lost.
Mariana, you can do it one of two ways:
- Create a child theme, then copy the header.php file over from the Sugar & Spice folder over to your child theme’s folder and make your changes to that copy.
- Use a plugin that will inject your script code in the head section of your site. I use Header and Footer to add Google’s Analytics code, you can do the same with the Facebook tracking script. Once you install the plugin, go to Settings → Header and Footer and paste your Facebook tracking code into the field labeled Code to be added on HEAD section of every page and click the Save button.
The plugin (second option) will be much easier than creating a child theme.