ads as placements instead of groups
This commit is contained in:
parent
10eac179fb
commit
3f95a27421
@ -59,8 +59,8 @@
|
|||||||
<!-- HERE IS WHERE THE AD WILL GO -->
|
<!-- HERE IS WHERE THE AD WILL GO -->
|
||||||
<section class="st-ad-section-long-archive">
|
<section class="st-ad-section-long-archive">
|
||||||
<?php
|
<?php
|
||||||
if(function_exists('the_ad_group')){
|
if( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(149);
|
the_ad_placement('ads-long');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
@ -65,8 +65,8 @@
|
|||||||
<!-- HERE IS WHERE THE AD WILL GO -->
|
<!-- HERE IS WHERE THE AD WILL GO -->
|
||||||
<section class="st-ad-section-long-archive">
|
<section class="st-ad-section-long-archive">
|
||||||
<?php
|
<?php
|
||||||
if(function_exists('the_ad_group')){
|
if( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(149);
|
the_ad_placement('ads-long');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
@ -69,10 +69,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="st-ad-section st-ad-section__top">
|
<section class="st-ad-section st-ad-section__top">
|
||||||
<?php
|
<?php
|
||||||
if (function_exists('the_ad_group')) {
|
if ( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(146);
|
the_ad_placement('ads-tall');
|
||||||
the_ad_group(147);
|
the_ad_placement('ads-small-a');
|
||||||
the_ad_group(148);
|
the_ad_placement('ads-small-b');
|
||||||
}
|
}
|
||||||
if (function_exists('dynamic_sidebar')) {
|
if (function_exists('dynamic_sidebar')) {
|
||||||
dynamic_sidebar('mailing_list');
|
dynamic_sidebar('mailing_list');
|
||||||
@ -200,8 +200,8 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="st-ad-section-long">
|
<section class="st-ad-section-long">
|
||||||
<?php
|
<?php
|
||||||
if (function_exists('the_ad_group')) {
|
if( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(149);
|
the_ad_placement('ads-long');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
@ -285,10 +285,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="st-ad-section st-ad-section__top">
|
<section class="st-ad-section st-ad-section__top">
|
||||||
<?php
|
<?php
|
||||||
if (function_exists('the_ad_group')) {
|
if ( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(146);
|
the_ad_placement('ads-tall');
|
||||||
the_ad_group(147);
|
the_ad_placement('ads-small-a');
|
||||||
the_ad_group(148);
|
the_ad_placement('ads-small-b');
|
||||||
}
|
}
|
||||||
if (function_exists('dynamic_sidebar')) {
|
if (function_exists('dynamic_sidebar')) {
|
||||||
dynamic_sidebar('mailing_list');
|
dynamic_sidebar('mailing_list');
|
||||||
|
10
page.php
10
page.php
@ -19,9 +19,9 @@
|
|||||||
</article>
|
</article>
|
||||||
<section class="st-ad-section st-ad-section__article-page">
|
<section class="st-ad-section st-ad-section__article-page">
|
||||||
<?php
|
<?php
|
||||||
if (function_exists('the_ad_group')) {
|
if ( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(147);
|
the_ad_placement('ads-small-a');
|
||||||
the_ad_group(148);
|
the_ad_placement('ads-small-b');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
<section class="st-ad-section-long-post-end st-article">
|
<section class="st-ad-section-long-post-end st-article">
|
||||||
<?php
|
<?php
|
||||||
if (function_exists('the_ad_group')) {
|
if( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(149);
|
the_ad_placement('ads-long');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
10
single.php
10
single.php
@ -67,9 +67,9 @@
|
|||||||
</article>
|
</article>
|
||||||
<section class="st-ad-section st-ad-section__article-page">
|
<section class="st-ad-section st-ad-section__article-page">
|
||||||
<?php
|
<?php
|
||||||
if (function_exists('the_ad_group')) {
|
if ( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(147);
|
the_ad_placement('ads-small-a');
|
||||||
the_ad_group(148);
|
the_ad_placement('ads-small-b');
|
||||||
}
|
}
|
||||||
if (function_exists('dynamic_sidebar')) {
|
if (function_exists('dynamic_sidebar')) {
|
||||||
dynamic_sidebar('mailing_list');
|
dynamic_sidebar('mailing_list');
|
||||||
@ -81,8 +81,8 @@
|
|||||||
|
|
||||||
<section class="st-ad-section-long-post-end st-article">
|
<section class="st-ad-section-long-post-end st-article">
|
||||||
<?php
|
<?php
|
||||||
if (function_exists('the_ad_group')) {
|
if( function_exists('the_ad_placement') ) {
|
||||||
the_ad_group(149);
|
the_ad_placement('ads-long');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user