Exemplo n.º 1
0
/**
 * add the blog and ad listing single page banner ad 
 * @since 3.1.3
 */
function cp_single_ad_banner()
{
    if (!is_singular(array('post', APP_POST_TYPE))) {
        return;
    }
    global $post;
    // show the ad block if it's been activated
    if (get_option('cp_adcode_336x280_enable') == 'yes') {
        if (function_exists('appthemes_single_ad_336x280')) {
            ?>

        <div class="shadowblock_out">

            <div class="shadowblock">

              <h2 class="dotted"><?php 
            _e('Sponsored Links', 'appthemes');
            ?>
</h2>

              <?php 
            appthemes_single_ad_336x280();
            ?>

            </div><!-- /shadowblock -->

        </div><!-- /shadowblock_out -->

        <?php 
        }
    }
}
Exemplo n.º 2
0
// show the ad block if it's been activated
if (get_option('cp_adcode_336x280_enable') == 'yes') {
    if (function_exists('appthemes_single_ad_336x280')) {
        ?>
    
                    <div class="shadowblock_out">
    
                        <div class="shadowblock">
    
                          <h2 class="dotted"><?php 
        _e('Sponsored Links', 'appthemes');
        ?>
</h2>
    
                          <?php 
        appthemes_single_ad_336x280();
        ?>
    
                        </div><!-- /shadowblock -->
    
                    </div><!-- /shadowblock_out -->
    
                <?php 
    }
}
?>
    
                <div class="clr"></div>
                        
            </div><!-- /content_left -->