ALO EasyMail Newsletter
Put code in footer (2 posts)

  1. Paoletto82
    Posted 3 years ago #

    There is the way to put the plugin code (like "function alo_em_user_form ( opt ......") in the footer and not in the header?


  2. rafaelfaria
    Posted 3 years ago #

    Hi Paoletto82,m

    I think what you want is to register a sidebar widget for your footer on functions.php like (search for register_sidebar and add just below the one(s) that will be ther by default)

    register_sidebar( array (
    	    'name' => 'Footer Area',
    	    'id' => 'footer_widget_area',
    	    'before_widget' => '<div id="%1$s" class="widget-container %2$s">',
    	    'after_widget' => "</div>",
    	    'before_title' => '<h3 class="widget-title">',
    	    'after_title' => '</h3>',
    	  ) );

    Go to the Widgets and drag and drop this and any other plugin you want to put on the footer than on footer.php call like this:

    <?php if ( is_sidebar_active('footer_widget_area') ) : ?>
    	<?php dynamic_sidebar('footer_widget_area'); ?>
    <?php endif; ?>

    Hope it helps!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ALO EasyMail Newsletter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.