How to add a widgetized 3 column footer in thesis wordpress theme

by sensehow on January 12, 2010

Post image for How to add a widgetized 3 column footer in thesis wordpress theme

How to add a three column widgetized footer in your thesis wordpress theme?Is that your doubt?Thesis is an awesome wordpress theme and it really has a numerous options.Once it was a problem how to add three columns in the thesis wordpress theme.But now since this option is inbuilt in the thesis 1.6 that doesnt matter.
An awesome looking footer will really improve your website standardness.since the footer we are dealing here is an widgetized footer,we never need to worry about each time going into the codes to add an widget to the footer.Follow the below steps to successfully add a three column footer in the thesis.

steps:
1.Now you have to login to the ftp of your hosting account so that you are able to add the codes required for the footer.I recommend filezilla or your own choice.
2.Now go to the path public_html/domain/wp-content/themes/thesis_16/lib/function/launch.php
3.Now you have to edit the launch.php and to add the following code in that.(you could also do in the custom_function.php) And then save it and reupload.

/*---------------------------------*/
/* WIDGETIZED FOOTER - 3 COLUMNS   */

/* register sidebars for widgetized footer */
if (function_exists('register_sidebar')) {
 $sidebars = array(1, 2, 3);
 foreach($sidebars as $number) {
 register_sidebar(array(
 'name' => 'Footer ' . $number,
 'id' => 'footer-' . $number,
 'before_widget' => '',
 'after_widget' => '',
 'before_title' => '<h3>',
 'after_title' => '</h3>'
 ));
 }
}

/*-----------------------*/
/* set up footer widgets */
function widgetized_footer() {
?>
 <div id="footer_setup">

 <div>
 <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 1') ) : ?>
 <?php endif; ?>
 </div>

 <div>
 <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 2') ) : ?>
 <?php endif; ?>
 </div>

 <div>
 <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 3') ) : ?>
 <?php endif; ?>
 </div>

 </div>
<?php
}

add_action('thesis_hook_footer','widgetized_footer');

4.After you have saved visit the widgets page in your wordpress dashboard,you will see the footer 1,2,3 there.So now you have to tweak the custom.css to show the 3 column footer as required.
5.For that,copy the below code and click custom file editor below the thesis options menu in dashboard.Paste the code in it and save.

#footer{
 background: #eeeeee;
}
.custom #footer {
 height: 100%;
 width: 100%;
 border-top:2em solid #9c9c9c;
 background: #eeeeee;
padding:0em;
}
.custom #footer a{
 border-bottom: 1px none #cccccc;
}
.custom #footer {
 text-align:center;
}
/* footer widget area setup */
#footer_setup {
 /* widgetized footer background (not footer background) */
 background: #444343;
 /* widget padding */
 padding:1.5em;
 /* margin at bottom of widgets */
 margin-bottom: 25px;
 /* do not change this! */
 overflow: hidden;
}

/* widget item setup */
#footer_setup .footer_items {
 /* contents alignment */
 text-align: left;
 /* widget width */
 width: 33.3%;
 /* space between widgets */
 padding-right: 0px;
 /* text color */
 color: #2361A1;
 /* do not change these! */
 display: inline-block;
 float: left;
 height: 100%;
}

/* widget item headers http://adwordsshop.com/wp-admin/admin.php?page=thesis-file-editor*/
#footer_setup .footer_items h3 {
 /* font size */
 font-size: 1.5em;
 /* bold or not */
 font-weight: bold;
 /* uppercase or not */
 text-transform: uppercase;
 /* space out the letters*/
 letter-spacing: 0px;
 /* font color*/
 color: #ffffff;
 /* padding under header text */
 padding-bottom: 3px;
 /* border under header text */
 border-bottom: 3px none #ffdf00;
 /* distance between border and widget text */
 margin-bottom: 5px;
}

/* do not change these! */
#footer_setup .footer_items ul li { list-style:none;
 font-size:1.4em;
 line-height:1.5em;
}
#footer_setup .footer_items ul { margin: 1em; padding: 0px; }

6.Now go back to your widgets page and add some widgets into the footer.

Visit your website….Did you see the 3 column footer?Now if you want to change the appearance of the footer then you have to change the colour scheme and font size in the code you added to the custom.css

Download the code in zip

If you have any problems post a comment,often it works fine and if you have problem do it oncemore and i hope you will get it.

Related posts:

  1. Thesis-how to place ads Above the post title in thesis wordpress theme
  2. How to add social bookmarking icons in thesis and other wordpress themes
  3. How to add clickable header banner in thesis wordpress theme
  4. How to add page navigation in thesis without openhook plugin
  5. Adding author profile box in thesis wordpress theme

{ 2 trackbacks }

You are now listed on FAQPAL
January 12, 2010 at 1:00 pm
Tweets that mention How to add a widgetized 3 column footer in thesis wordpress theme | SENSEHOW.COM -- Topsy.com
January 12, 2010 at 9:09 pm

{ 6 comments… read them below or add one }

1 Vijay January 27, 2010 at 3:48 am

Thanks mate!

this is the best detail on how to set up a footer widget. Never saw such detail.

Could you please help me set this up in a vertical line as it is showing as centered on my page.

My Best Regards,

Reply

2 Socco February 3, 2010 at 7:33 am

Hi,
Thank you! I would now go on this blog every day!

Reply

3 aaslin February 4, 2010 at 11:20 am

Thanks for your comment socco,keep visiting

Reply

4 Lee the Hot flash queen February 3, 2010 at 9:08 am

I love your tutorial and have put it in my thesis site….website above, but the columns are stacked. I am not very proficient at CSS or webdesign, but I can follow directions great. Could you please tell me how to unstack the columns, so they are side by side?? Thanks!

Lee

Reply

5 aaslin February 4, 2010 at 11:21 am

I have checked your site,you have done it correctly

Reply

6 tec February 9, 2010 at 4:12 pm

Thank you! I would now go on this blog every day!

Reply

Leave a Comment

Previous post:

Next post:

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Copyright 2010 © SenseHow.com.

Sitemaps!!!

Internet TopOfBlogsGoLedy.comInternet Blogs