ads as placements instead of groups

This commit is contained in:
Ross Trottier 2024-09-11 13:00:24 -06:00
parent 10eac179fb
commit 3f95a27421
5 changed files with 24 additions and 24 deletions

View File

@ -59,8 +59,8 @@
<!-- HERE IS WHERE THE AD WILL GO -->
<section class="st-ad-section-long-archive">
<?php
if(function_exists('the_ad_group')){
the_ad_group(149);
if( function_exists('the_ad_placement') ) {
the_ad_placement('ads-long');
}
?>
</section>

View File

@ -65,8 +65,8 @@
<!-- HERE IS WHERE THE AD WILL GO -->
<section class="st-ad-section-long-archive">
<?php
if(function_exists('the_ad_group')){
the_ad_group(149);
if( function_exists('the_ad_placement') ) {
the_ad_placement('ads-long');
}
?>
</section>

View File

@ -69,10 +69,10 @@
</section>
<section class="st-ad-section st-ad-section__top">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(146);
the_ad_group(147);
the_ad_group(148);
if ( function_exists('the_ad_placement') ) {
the_ad_placement('ads-tall');
the_ad_placement('ads-small-a');
the_ad_placement('ads-small-b');
}
if (function_exists('dynamic_sidebar')) {
dynamic_sidebar('mailing_list');
@ -200,8 +200,8 @@
</section>
<section class="st-ad-section-long">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(149);
if( function_exists('the_ad_placement') ) {
the_ad_placement('ads-long');
}
?>
</section>
@ -285,10 +285,10 @@
</section>
<section class="st-ad-section st-ad-section__top">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(146);
the_ad_group(147);
the_ad_group(148);
if ( function_exists('the_ad_placement') ) {
the_ad_placement('ads-tall');
the_ad_placement('ads-small-a');
the_ad_placement('ads-small-b');
}
if (function_exists('dynamic_sidebar')) {
dynamic_sidebar('mailing_list');

View File

@ -19,9 +19,9 @@
</article>
<section class="st-ad-section st-ad-section__article-page">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(147);
the_ad_group(148);
if ( function_exists('the_ad_placement') ) {
the_ad_placement('ads-small-a');
the_ad_placement('ads-small-b');
}
?>
</section>
@ -30,8 +30,8 @@
<section class="st-ad-section-long-post-end st-article">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(149);
if( function_exists('the_ad_placement') ) {
the_ad_placement('ads-long');
}
?>
</section>

View File

@ -67,9 +67,9 @@
</article>
<section class="st-ad-section st-ad-section__article-page">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(147);
the_ad_group(148);
if ( function_exists('the_ad_placement') ) {
the_ad_placement('ads-small-a');
the_ad_placement('ads-small-b');
}
if (function_exists('dynamic_sidebar')) {
dynamic_sidebar('mailing_list');
@ -81,8 +81,8 @@
<section class="st-ad-section-long-post-end st-article">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(149);
if( function_exists('the_ad_placement') ) {
the_ad_placement('ads-long');
}
?>
</section>