Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26444

    I was using a DFP code in a sidebar widget, which has since ceased functioning after I switched to Sentence.

    I’ve tried deactivating all my plugins, but this failed to resolve the issue. I’ve also tried removing the <div>, but no dice.

    Thoughts?

    Site: killin-time.com

    DFP code:

    <!– Sidebar_Ads –>

    <div id=’div-gpt-ad-1374202251929-0′ style=’width:300px; height:250px;’>

    <script type=’text/javascript’>

    googletag.cmd.push(function() { googletag.display(‘div-gpt-ad-1374202251929-0′); });

    </script>

    </div>

    #130439

    Hi,

    Javascript won’t work on a sidebar widget.

    Add this code on the text widget.

    <div id='div-gpt-ad-1374202251929-0' style='width:300px; height:250px;'></div>

    Then edit footer.php, find this code

    </body>

    Above, add the javascript.

    <script type='text/javascript'>
    googletag.cmd.push(function() { googletag.display('div-gpt-ad-1374202251929-0'); });
    </script>

    Maybe it will work.

    Regards,

    Ismael

    #130440

    Fixed. Thanks for your help!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Sentence broke DFP.’ is closed to new replies.