• Resolved timppa123

    (@timppa123)


    Hello,
    I’m trying to activate my adsense account, and it asks me to add the verification code in the head element.
    I used the ‘insert headers and footers’ plugin for that. I added it in the head section obviously.
    My account still hasn’t been verified though. Am I doing something wrong?
    I also tried the ‘Code Snippets’ plugin, as you suggested in one of the forum posts, but this gives me a fatal error when I try to save the code.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    That should work.

    For a code snippet, try this:

    add_action( 'wp_head', function() {
        ?>
        
            Your code in here
    
        <?php
    } );
    Thread Starter timppa123

    (@timppa123)

    Thank you Tom! I love how much support you guys give for this theme, even with the free version. Will be upgrading soon ??

    Theme Author Tom

    (@edge22)

    Thanks! Glad I could help ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding AdSense verification code’ is closed to new replies.