Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9276

    I find how to set the number of columns for the footer (Abundance–>Footer–> Footer columns)

    and how to customize it in “Appearance–>Widgets” –> Footer columns 1…2…3…

    But how I can do to remove the footer completely ?

    #64124

    Hi,

    open up footer.php and delete folloing code:

    <!-- ####### FOOTER CONTAINER ####### -->
    <div class='container_wrap' id='footer'>
    <div class='container'>

    <?php
    //create the footer columns by iterating
    $columns = avia_get_option('footer_columns');

    $firstCol = 'first';
    switch($columns)
    {
    case 1: $class = ''; break;
    case 2: $class = 'one_half'; break;
    case 3: $class = 'one_third'; break;
    case 4: $class = 'one_fourth'; break;
    case 5: $class = 'one_fifth'; break;
    }

    //display the footer widget that was defined at appearenace->widgets in the wordpress backend
    //if no widget is defined display a dummy widget, located at the bottom of includes/register-widget-area.php
    for ($i = 1; $i <= $columns; $i++)
    {
    echo "<div class='$class $firstCol'>";
    if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column'.$i) ) : else : avia_dummy_widget($i); endif;
    echo "</div>";
    $firstCol = "";
    }

    ?>

    </div>

    </div>
    <!-- ####### END FOOTER CONTAINER ####### -->

    #64125

    Thank ! I will try that !

    #64126

    I hope it works? I set the status to resolved.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Remove footer ?’ is closed to new replies.