• Skip to primary navigation
  • Skip to main content
  • Skip to footer

TECHXT

simple extendable solutions

  • Home
  • WordPress Tutorial
  • SEO
  • How to
  • Forum
  • Knowledge Base
    • Domain Name Generator
    • My Tech Projects
    • News
    • Security
  • About
  • Search
Home › Wordpress Tutorial › How to add footer widget area in Thesis Theme for Wordpress
Wordpress Tutorial

How to add footer widget area in Thesis Theme for WordPress

By Sudipto

0

In this article I will show you how to add a footer widget area in Thesis theme for WordPress. The objective of this article is to create three footer widget areas with minimal code required. So let see how to get our footer widget area. The following code will creates 3 footer widget area. I have add the required CSS code to arrange the widget areas. You can add your own CSS to adjust the styling and color if the background and text.

Update: Check out this Ultimate Thesis Options Plugin. This will help you customize your Thesis Theme too easily. Like centering menu, Right Align menu, adding a second menu, adding Footer widget areas and many more options.

The code to create the footer widget area

The below code creates a 3 column footer widget area. Put this just after the first line of your custom_functions.php file i.e just after <?php

//Add hook to thesis footer to display the Widgetized footer
add_action('thesis_hook_footer', 'customFooter');

//3 column footer widget area
function customFooter() {
?>
<div id="footerwrap">
<div>
<ul>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer1')){ } ?>
</ul>
</div>
<div>
<ul>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer2')) { }?>
</ul>
</div>
<div>
<ul>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer3')){ } ?>
</ul>
</div>
<div id="clear"></div>
</div>
<?php
}

//Register the footer widget areas
register_sidebar(array('name'=>'Footer1','before_title'=>'<h3>','after_title'=>'</h3>'));
register_sidebar(array('name'=>'Footer2','before_title'=>'<h3>','after_title'=>'</h3>'));
register_sidebar(array('name'=>'Footer3','before_title'=>'<h3>','after_title'=>'</h3>'));

Styling the code

.custom .footercol {
    float: left;
    padding: 10px;
    text-align: left;
    width: 31%;
}
.custom #footer {
    background: none repeat scroll 0 0 #DDDDDD;
    border-top: 2px solid #888888;
    text-align: center;
}

Where to Insert the code

All you need to do is copy the code to create the footer widget area in your custom_functions.php file of your Thesis theme and copy the styling code in your custom.css file.

Steps

  1. Login to your WordPress Dashboard
  2. Goto Thesis > Custom File editor
  3. Paste the styling CSS in custom.css file and save it
  4. Select custom_functions.php file from the drop down and paste the code to create the footer here and then save it
  5. Now if you go to Appearance > Widgets, you will see that 3 extra widget area has been created names Footer1, Footer2 and Footer3

I am the founder and developer at TECHXT. Over the decade I have helped hundreds build their own site. All plugins I develop are made have a common goal: Make it as simple as possible and as easy to use as possible.
Sudipto
View all posts by Sudipto
Sudipto's Website / Google+

Do you like this article?

footer Thesis

About Sudipto

I am the founder and developer at TECHXT. Over the decade I have helped hundreds build their own site. All plugins I develop are made have a common goal: Make it as simple as possible and as easy to use as possible.

Follow me

Footer

Subscribe by email

FOLLOW US :

Tools & Apps

  • Domain Names Generator
  • Our Wordpress Plugins
  • HTML Code Table

TechXT Network

  • www.seecoupons.com – Just another Deals & Coupons site
  • pincodes.techxt.com – A search engine for Indian Pincode.
  • stdcode.techxt.com – A search engine for Indian STD Codes
  • mobileinfo.techxt.com – A search engine for Indian Mobile Codes
  • bankifsccode.techxt.com – A search engine for Indian Bank IFSC Codes.

Info

  • Contact us
  • Privacy Policy

  •   simple extendable solutions

© Copyright 2025 TECHXT.COM

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.