Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11347

    Hi – I’m working on a site and wish to move the items currently located in the fourth column: http://www.ferreiracollisioncentres.com/

    I have looked in the footer.php file but cannot find a way to break apart the contact form, search box, and site credits. I would liek them across all four columns.

    Thank you for your help!

    #71458

    Hey,

    in your footer.php you’ll find the code for the rightmost column here

    <div class="box box_custom_footer">

    <?php
    ############################################################################################
    # FOOTER RIGHT BLOCK DEFINITIONS WITH FALLBACK MESSAGES IF NO DATABASE ENTRIES ARE FOUND
    ############################################################################################
    if($k_option['footer']['button_link'] != '') $k_option['footer']['button_link'] = get_page_link($k_option['footer']['button_link']);
    ?>

    <!-- big button -->
    <a href='<?php echo $k_option['footer']['button_link'] ?>' class='custom_button ie6fix rounded'>
    <strong><?php echo $k_option['footer']['button1']; ?></strong>
    <span><?php echo $k_option['footer']['button2']; ?></span>
    </a>

    <div id='sitesearch_footer'>
    <h4>Search Site</h4>
    <?php get_search_form(); ?>
    </div>

    <!-- copyright text -->
    <p><?php echo $k_option['footer']['copyright']; ?></p>

    <!-- social bookmarks -->
    <ul class="social_bookmarks">
    <li class='rss'><a class='ie6fix' href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
    <?php
    if($k_option['footer']['acc_fb'] != '')
    echo "<li class='facebook'><a class='ie6fix' href='http://facebook.com/".$k_option['footer']['acc_fb']."'>Facebook</a></li>";

    if($k_option['footer']['acc_tw'] != '')
    echo "<li class='twitter'><a class='ie6fix' href='http://www.twitter.com/".$k_option['footer']['acc_tw']."'>Twitter</a></li>";

    if($k_option['footer']['acc_fl'] != '')
    echo "<li class='flickr'><a class='ie6fix' href='http://www.flickr.com/people/".$k_option['footer']['acc_fl']."'>flickr</a></li>";

    ?>
    </ul>
    </div>

    There’s a part for “the big button”, a part for “Search” a part for “Copyright” and a part for “Social Bookmarks”. The structure should be clear.

    You can take each of these and move them to the divs with the box class above the piece of code I’ve just pasted.

    Let’s say I wanted to move Copyrights I’d take this

    <!-- copyright text -->
    <p><?php echo $k_option['footer']['copyright']; ?></p>

    and I’d move it to the First Column, in this case Pages

    <div class='box box_mini'>
    <h4>Pages</h4>
    <ul>
    <?php wp_list_pages('title_li=' ); ?>
    </ul>
    </div>

    Combined it would be

    <div class='box box_mini'>
    <!-- copyright text -->
    <p><?php echo $k_option['footer']['copyright']; ?></p>
    </div>

    An easier alternative would be to modify just the last column and put the code of the items you’d want to move in Widgets.

    Does this help? Let us know :)

    Cheers,

    Chris

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

The topic ‘Display footer – move things around’ is closed to new replies.