Skip to content

Commit

Permalink
Todos
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Jan 16, 2012
1 parent 3c58222 commit 0727539
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ad-code-manager.php
Expand Up @@ -96,12 +96,15 @@ function action_init() {
'%url%',
);

$this->register_acm_post_type();

// Ad tags are only run on the frontend
if ( !is_admin() ) {
require_once AD_CODE_MANAGER_ROOT . '/template-tags.php';
add_action( 'acm_tag', array( $this, 'action_acm_tag' ) );

// @todo get all of the ad codes and register them with register_ad_code()
}
$this->register_acm_post_type();

}

Expand Down

0 comments on commit 0727539

Please sign in to comment.