Trying to move widgets to footer
-
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.
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’ => ‘- ‘,
‘after_widget’ => ‘
‘,
‘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 wp_register(); ?>
- <?php wp_loginout(); ?>
- “><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/rss.gif” width=”80″ height=”15″ border=”0″ alt=”Subscribe to RSS feed”/>
- “><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/rsscomments.gif” width=”80″ height=”15″ border=”0″ alt=”The latest comments to all posts in RSS”/>
- “><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/atom.gif” width=”80″ height=”15″ border=”0″ alt=”Subscribe to Atom feed”/>
- <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/xhtml.gif” width=”80″ height=”15″ border=”0″ alt=”Valid XHTML code”/>
- <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/css.gif” width=”80″ height=”15″ border=”0″ alt=”Valid CSS code”/>
<?php wp_meta(); ?>
<?php
}
if ( function_exists(‘register_sidebar_widget’) )
register_sidebar_widget(__(‘Meta’), ‘widget_falling_dreams_meta’);
?>Sidebar
<div id=”sidebar”>
-
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar() ) : ?>
-
<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> -
<h2>
<?php _e(‘Categories’); ?>
</h2>
-
<?php wp_list_cats(‘sort_column=name&optioncount=1’); ?>
-
<h2>
<?php _e(‘Archives’); ?>
</h2>
-
<?php wp_get_archives(‘type=monthly&show_post_count=1’); ?>
<?php wp_list_pages(‘sort_column=menu_order&exclude=24&title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>
-
<h2 class=”sidebar-title”>
<?php _e(‘Links’); ?>
</h2>
-
<?php get_links(‘-1’, ‘
- ‘, ‘
‘, ‘
‘); ?>-
<h2>
<?php _e(‘Meta’); ?>
</h2>
-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- “><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/rss.gif” width=”80″ height=”15″ border=”0″ alt=”Subscribe to RSS feed”/>
- “><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/rsscomments.gif” width=”80″ height=”15″ border=”0″ alt=”The latest comments to all posts in RSS”/>
- “><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/atom.gif” width=”80″ height=”15″ border=”0″ alt=”Subscribe to Atom feed”/>
- <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/xhtml.gif” width=”80″ height=”15″ border=”0″ alt=”Valid XHTML code”/>
- <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/css.gif” width=”80″ height=”15″ border=”0″ alt=”Valid CSS code”/>
<?php wp_meta(); ?>
<?php endif; ?>
</div>
- ‘,
- The topic ‘Trying to move widgets to footer’ is closed to new replies.