Like Being First? Get news before everybody else.

Powered by WordPress.com VIP

Installing Ad Code in WordPress (non-Infuse instructions)

Share

While we recommend that all our Partner Network members with a WordPress site use our plugin for ease, we do understand that sometimes, that just isn’t possible.  Here are three ways to install your SheKnows Partner Network ad code.


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 Your Ad Code section of your Dashboard.

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 “<HEAD> 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 <head> tag, but before the </head> 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!

Share