• Resolved karsten007

    (@karsten007)


    Hi,

    I am not sure if I understand correctly what the Footer Ads widget is for:

    https://goo.gl/Nm6hA6

    The right sidebar contains the Footer Ads widget with one text widget containing a google ad.

    Why is this widget called “Footer Ads” when it actually is a sidebar widget?

    Thank you for clarification.

    Regards,
    Karsten

Viewing 12 replies - 1 through 12 (of 12 total)
  • bdbrown

    (@bdbrown)

    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.

    Thread Starter karsten007

    (@karsten007)

    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?

    bdbrown

    (@bdbrown)

    Do you have a widget added to the Footer Ads sidebar?

    Thread Starter karsten007

    (@karsten007)

    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.

    https://goo.gl/Nm6hA6

    But I don’t find this tag:
    <section class="container" id="footer-ads">

    Thread Starter karsten007

    (@karsten007)

    Same thing with Header Ads which I have activated now.

    bdbrown

    (@bdbrown)

    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.

    Thread Starter karsten007

    (@karsten007)

    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?

    Thread Starter karsten007

    (@karsten007)

    I have now seen here how the header ads look like:
    https://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.

    bdbrown

    (@bdbrown)

    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; ?>
    Thread Starter karsten007

    (@karsten007)

    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…

    Thread Starter karsten007

    (@karsten007)

    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.

    assaud

    (@assaud)

    hello

    why my ad in the footer does not like this https://michelleshotdeals.com/

    this is my website https://ayosehat.net

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Footer Ads widget – Question’ is closed to new replies.