Installing Your SheKnows Publisher Network Ad Code

This guide provides instructions for installing the header code available in your network member profile.

To find your ad code, first sign in to your Momentum account. On the Dashboard page, scroll down to the My Publishing Network section and click Update my blog account. On your account page, click Ad Sizes from the left menu, and then scroll down to find your ad codes on the tab labeled “New code” at the bottom of the page.

There are two steps to updating your ad code. You MUST complete both of these steps for the ads to be properly installed or updated:

  1. Install the header code.
  2. Install the sidebar ad tags, OR, if you already had the older SheKnows/BlogHer Publishing Network ad tags installed: Replace your old ad tags with the new version of each ad tag.

The header code is an important element of your ads. This additional code snippet is NOT an ad, but is instead the master script that will serve ads to all of your ad units on the page. The header code is required for your ads to work properly, and must be installed in the header area of your site’s template. (Between the and tags.)

We’ve included instructions below for installing the new header code on Blogger (BlogSpot) sites and WordPress sites. If you use a different platform, or have any problems with installing this code, please contact the Help Desk for additional help.

PLEASE NOTE: There are three methods for installing the header code in WordPress. One method is specific to a certain WordPress framework (Genesis), one uses a lightweight plugin to insert the code, and the final method involves editing a theme file. All three methods are listed below.


Blogger (BlogSpot)

Installing the header code on Blogger:

  1. In your Blogger dashboard, go to Template, then click Edit HTML.
  2. Find the tag near the top of your template. (You may need to click the little triangle on the left side to expand this section.)
  3. Paste the header code on a new line, somewhere after the tag, but before the tag. Be sure to paste the code on a new line (press enter to create a new line if needed), and do NOT paste it between the or  tags.
  4. Save your changes.
  5. Once the header code is installed, you’ll then need to install your sidebar ad tags. Here is how. If you previously were using the old style of SheKnows/BlogHer ad tags, you'll need to replace each of your current ad tags with the new ad tags in the Ad Sizes section of your Momentum account.

For WordPress users with a theme that uses the Genesis framework:

  1. Go to Genesis - Theme Settings in your WordPress dashboard.
  2. Scroll down to the Header and Footer Scripts section.
  3. Look for the Header scripts textbox. Paste the header code into this textbox.
  4. Save your changes.
  5. Once the header code is installed, you’ll then need to install your sidebar ad tags. Here is how. If you previously were using the old style of SheKnows/BlogHer ad tags, you'll need to replace each of your current ad tags with the new ad tags in the Ad Sizes section of your Momentum account.

For WordPress users who wish to use a plugin to insert the header code:

We’ve found a third party plugin, Header Footer, that works with many different WordPress installations. (SheKnows Media can't guarantee that any plugin will work with every theme.) This plugin will let you safely install the header code without requiring you to make changes to any theme files.

To install:

  1. Go to Plugins - Add New in your WordPress dashboard.
  2. Do a search for “Header and Footer.”
  3. Click Install Now and follow the directions to install and activate the plugin.
  4. Once it’s activated, go to Settings - Header and Footer in your WordPress dashboard. In the first tab (Head and footer), paste the header code into the “ SECTION INJECTION - Every page” box (it’s the top, left hand box).
  5. Scroll down and click Save.
  6. Once the header code is installed, you’ll then need to install your sidebar ad tags. Here is how. If you previously were using the old style of SheKnows/BlogHer ad tags, you'll need to replace each of your current ad tags with the new ad tags in the Ad Sizes section of your Momentum account.

For WordPress users comfortable making changes to theme files:

NOTE: We recommend installing directly into your header.php file only if there’s no other way, as any updates to your theme could erase the code installed in your header.php, and any errors to the theme file could crash your WordPress site. If you are not comfortable with making code changes to your theme file, please use the plugin method instead.

  1. Go to Appearance - Editor in your WordPress dashboard.
  2. Find and click on the header.php file on the right side of the screen.
  3. Paste the header code on a new line somewhere after the tag, but before the tag.
  4. Save your changes.
  5. Once the header code is installed, you’ll then need to install your sidebar ad tags. Here is how. If you previously were using the old style of SheKnows/BlogHer ad tags, you'll need to replace each of your current ad tags with the new ad tags in the Ad Sizes section of your Momentum account.

If you have any trouble installing the code, or would like additional help with this, please contact us at support@sheknows.com, and we’d be happy to lend a hand!

BACK TO FAQ