Hi Karsten. The Footer Ads is a dynamic sidebar that is enabled in Theme Options > Footer > Footer Ads. If active, the sidebar generates the following tag:
<section class=”container” id=”footer-ads”>
It is a full-width container that is displayed just above the widgetized footer area.
Hi bd, thank you for your quick response. Unfortunately I can still not locate this Footer Ads sidebar above the widgetized footer area.
In my theme options the Footer ads are active, but I can not see the container in my site.
What else could I do to find the Footer Ads?
Do you have a widget added to the Footer Ads sidebar?
yes.
I choose the Footer Ads sidebar positioned in my primary sidebar.
You can see it here in the right sidebar with one text widget showing a Google ad.
http://goo.gl/Nm6hA6
But I don’t find this tag:
<section class="container" id="footer-ads">
Same thing with Header Ads which I have activated now.
The Header Ads and Footer Ads sidebars are stand-alone. The theme automatically places them in the header and footer if they are active. You don’t need to select them in any layout.
aha, ok
Thank you for patience.
Header Ads and Footer Ads have a text widget containing a google ad.
But I still can not see this sidebars in the header or footer or find their container when inspecting my source code.
What else could I do to make the Ads sidebars visible?
I have now seen here how the header ads look like:
http://michelleshotdeals.com/
But strange enough on my page the container for Header Ads or Footer Ads is not shown. I will check tomorrow what is wrong, maybe a conflict or something else.
Do you have a modified header.php and/or footer.php in your child theme? The ad sidebars are relatively new.
Here is the code from the current version 2.2.2 header.php:
<div class="group pad">
<?php echo alx_site_title(); ?>
<?php if ( ot_get_option('site-description') != 'off' ): ?><p class="site-description"><?php bloginfo( 'description' ); ?></p><?php endif; ?>
<?php if ( ot_get_option('header-ads') == 'on' ): ?>
<div id="header-ads">
<?php dynamic_sidebar( 'header-ads' ); ?>
</div><!--/#header-ads-->
<?php endif; ?>
</div>
Here is the code from footer.php:
<footer id="footer">
<?php if ( ot_get_option('footer-ads') == 'on' ): ?>
<section class="container" id="footer-ads">
<div class="container-inner">
<?php dynamic_sidebar( 'footer-ads' ); ?>
</div><!--/.container-inner-->
</section><!--/.container-->
<?php endif; ?>
Thank you, bd.
Yes, the code for header Ads and footer Ads is missing in my header.php and footer.php.
I have no clue why.
But now I know and understand what it is all about.
I really appreciate your help.
Have a good time…
One last thing…I don’t know if this is the correct procedure…I have now copied the header.php and footer.php from version 2.2.2 into my my child theme folder. Of course, now the Headers Ads and Footer Ads Sidebars are there.
hello
why my ad in the footer does not like this http://michelleshotdeals.com/
this is my website http://ayosehat.net