• REGGSenterprises

    (@cruisenewsandreviews)


    When I enter my adsense code in any of the setting boxes then hit save, it changes the entire code and causes a portion of the code to show on site and not the adsense ad.
    Why is it not saving the adsense code as I paste it?

Viewing 1 replies (of 1 total)
  • They have code removing the script commands

    Go to appearance / Editor find Theme Functions
    aka functions.php
    Put this just below the php tag.

    global $allowedposttags;
     $allowedposttags['script'] = array(
         'type' => array(),
         'src' => array()
     );

    It fixes this issue, but may cause issues with posts, allowing
    people to put script tags in your posts.

Viewing 1 replies (of 1 total)
  • The topic ‘Adsense code being changed’ is closed to new replies.