[ad_1]
How do I load Advanced Ads to enable the php ad call?
Example:
require($_SERVER[‘DOCUMENT_ROOT’].’/wp-load.php’);
Then what do I call to be able to use the following code:
if ( function_exists( ‘advance_ads’ ) ) {
advance_ads()->frontend->output_ads();
}
if( function_exists(‘the_ad_placement’) ) { the_ad_placement(‘after-content’); }
