WordPress.org

Forums

Trying to move widgets to footer (4 posts)

  1. TheAntiSocialite
    Member
    Posted 5 years ago #

    Greetings,

    As a Graphic Design major I took plenty of web design classes but it wasn't my forté so to speak. I've forgotten alot of the CSS/HTML tips and tricks but with my basic understanding and re-introduction to it I'm starting to remember alot.

    http://theantisocialite.com/

    My problem now is...I want to move my widgets in the sidebar...to the footer where the credit is. I will posting alot of pictures on my blog and as of now I have to minimize photos or else the sidebar seems to overlap the images at their regular size. I want to do away with the sidebar widgets so that I can have that entire white area to work with. How can I go about accomplishing such a goal?

    Here are the footer, sidebar, and function php's if that helps

    Footer

    </div>
    <?php
    get_sidebar();
    ?>
    <!-- Please leave current credits intact and on display! -->
    <div id="footer"> Powered by WordPress.
    Original Theme design by Razvan Teodorescu.
    Edited by Ilari Mäkelä.
    </div>
    </div>
    <?php ?>
    <?php wp_footer(); ?>
    </body>
    </html>

    Functions

    <?php
    if ( function_exists('register_sidebar') )
    register_sidebar(2,array(
    'before_widget' => '

  2. ',
    'after_widget' => '
  3. ',
    'before_title' => '<h2>',
    'after_title' => '</h2>',
    ));

    function widget_falling_dreams_search() {
    ?>
    <li id="search">
    <h2>
    <?php _e('Search'); ?>
    </h2>
    <form method="get" action="<?php bloginfo('url'); ?>/index.php">
    <input type="text" name="s" size="14" />

    <input type="submit" id="button" name="Submit" value="Search" />
    </form>

    <?php
    }
    if ( function_exists('register_sidebar_widget') )
    register_sidebar_widget(__('Search'), 'widget_falling_dreams_search');

    function widget_falling_dreams_meta() {
    ?>
    <li id="meta">
    <h2>
    <?php _e('Meta'); ?>
    </h2>

    <?php
    }
    if ( function_exists('register_sidebar_widget') )
    register_sidebar_widget(__('Meta'), 'widget_falling_dreams_meta');
    ?>

    Sidebar

    <div id="sidebar">

    </div>

  4. unixgolf
    Member
    Posted 5 years ago #

    The shades of blue theme does some stuff with widgets in the footer. It is a pretty simple structure, maybe you get some ideas out of it?

  5. Chrisber
    Member
    Posted 5 years ago #

    If you are familiar with html and css, think about this problem in terms of what you know and don't worry about the php. Sidebar is just the name given to a div that traditionally appears on the side. There is no reason you can't apply a little css positioning magic and turn that sidebar into a bottom bar instead. Don't make it harder than it needs to be.

  6. TheAntiSocialite
    Member
    Posted 5 years ago #

    I'm getting there. I got it to the bottom. Still a few kinks to work out.

Topic Closed

This topic has been closed to new replies.

About this Topic