Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Adding Widgets to Footer


  #1  
Old Jan 7, 2010, 02:31 PM
MyJourneytoMillions
 
46 posts · Sep 2009
I have 3 columns working out in my footer right now.
http://www.myjourneytomillions.com

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

Thanks!
  #2  
Old Jan 7, 2010, 02:52 PM
juggledad's Avatar
juggledad
 
23,765 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
  #3  
Old Jan 7, 2010, 03:12 PM
MyJourneytoMillions
 
46 posts · Sep 2009
I already have CSS for the current set up. Can I use that? My current footer code looks like this:


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



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

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



</span>

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

</span>
</div>
</td>
<td style="list-style:none;">
<h4 style="color:#777777;">Recent Comments</h4>
<div class="footercol2">
<span style="list-style:none;line-height:1.5em;">
<?php
global $wpdb;
$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID,
comment_post_ID, comment_author, comment_date_gmt, comment_approved,
comment_type,comment_author_url,
SUBSTRING(comment_content,1,30) AS com_excerpt
FROM $wpdb->comments
LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID =
$wpdb->posts.ID)
WHERE comment_approved = '1' AND comment_type = '' AND
post_password = ''
ORDER BY comment_date_gmt DESC
LIMIT 7";
$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)
."&hellip;</a></li>";
}
$output .= "\n";
$output .= $post_HTML;
echo $output;?>
</div>
</span>

</td>
<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!
</span>
</div>
</td>
</tr>
</table>
And wow! Juggle head you are on top of this stuff! It is appreciated.

Bookmarks

Tags
footer, widgets



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 07:39 PM
[SOLVED] Adding a border-radius around widgets Nourdmrolnmt1 Sidebars & Widgets 4 Oct 14, 2009 09:58 AM
[SOLVED] Adding line breaks to footer ctenos Post-Kicker, -Byline & -Footer 0 Aug 4, 2009 06:53 AM
Adding ShareThis Code to Post Footer clearlygold Post-Kicker, -Byline & -Footer 4 Jun 4, 2009 10:54 AM
Adding a link to the Footer of my post Hamlet Post-Kicker, -Byline & -Footer 2 May 21, 2009 07:50 PM


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


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