Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Adding Widgets to Footer

Old Jan 7, 2010, 01:31 PM
46 posts · Sep 2009
I have 3 columns working out in my footer right now.

Would it be cleaner to do with widgets? If so, how do I set up the css to look similar?

Old Jan 7, 2010, 01:52 PM
juggledad's Avatar
23,617 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I don't know if it would be cleaner soince I don't know how you did what you did. ut to do it you could use
HTML Code:
<?php bfa_widget_area('name=footer_widgets area&cells=3&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
and put it in ATO->Style & edit FOOTER->Footer: Content then style it with CSS inserts
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jan 7, 2010, 02:12 PM
46 posts · Sep 2009
I already have CSS for the current set up. Can I use that? My current footer code looks like this:

span style="background:#333333;">
<div class="bblock">
<table id="myfooter" border="0" cellspacing="0" cellpadding="0">

<h4 style="color:#777777;">Popular Posts</h4>
<div class="footercol1">
<span style="list-style:none;line-height:1.5em;">

<?php popularPosts('count=7'); ?>


<h4 style="color:#777777;">Tags</h4>
<div class="footercol1">
<span style="list-style:none;line-height:1.5em;">
<?php ctc(25); ?>

<td style="list-style:none;">
<h4 style="color:#777777;">Recent Comments</h4>
<div class="footercol2">
<span style="list-style:none;line-height:1.5em;">
global $wpdb;
$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID,
comment_post_ID, comment_author, comment_date_gmt, comment_approved,
SUBSTRING(comment_content,1,30) AS com_excerpt
FROM $wpdb->comments
LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID =
WHERE comment_approved = '1' AND comment_type = '' AND
post_password = ''
ORDER BY comment_date_gmt DESC
$comments = $wpdb->get_results($sql);
$output = $pre_HTML;
$output .= "\n";
foreach ($comments as $comment) {
$output .= "\n<li>".strip_tags($comment->comment_author)
.": " . "<a href=\"" . get_permalink($comment->ID) .
"#comment-" . $comment->comment_ID . "\" title=\"on " .
$comment->post_title . "\">" . strip_tags($comment->com_excerpt)
$output .= "\n";
$output .= $post_HTML;
echo $output;?>

<td style="list-style:none;">
<h4 style="color:#777777;"> Progress Bars </h4>
<div class="footercol3">
<span style="list-style:none;line-height:1.5em;">
Credit Card Debt:
<script type="text/javascript">drawProgressBar('#0000ff', 200, 100);</script>
$16,884 of $16,884 Done!
And wow! Juggle head you are on top of this stuff! It is appreciated.


footer, widgets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Adding image to footer does not work. help? crashley1784 Post-Kicker, -Byline & -Footer 6 Dec 1, 2010 06:39 PM
[SOLVED] Adding a border-radius around widgets Nourdmrolnmt1 Sidebars & Widgets 4 Oct 14, 2009 08:58 AM
[SOLVED] Adding line breaks to footer ctenos Post-Kicker, -Byline & -Footer 0 Aug 4, 2009 05:53 AM
Adding ShareThis Code to Post Footer clearlygold Post-Kicker, -Byline & -Footer 4 Jun 4, 2009 09:54 AM
Adding a link to the Footer of my post Hamlet Post-Kicker, -Byline & -Footer 2 May 21, 2009 06:50 PM

All times are GMT -6. The time now is 12:16 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.