Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #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.



    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′); });





    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


    Above, add the javascript.

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

    Maybe it will work.




    Fixed. Thanks for your help!

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

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