psivait
El Presidente
Just Getting Started
Member Likes (0)
Hi,
How to add footer widgets in bp-social theme? I have seen themes containing footer1 to footer4 (totally 4 widgets). I want to have that kind of stuffs in bp-social.. Pls guide me on this.
Thanks in advance.

Responses (7)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hi there psivait,
Perhaps the following tutorial from one of our own incredible theme developers would help:
http://buddydress.com/2010/04/add-a-widget-anywhere-in-3-simple-steps/
It's very easy to follow, including a video walk-through as well as code examples. If you'd like to start there and let us know where you might need some help, we'll be glad to see what we can do!
Cheers,
David
Member (joined April 2009) Likes (0)
Marking this one as resolved.
Thanks guys!
Member (joined October 2011) Likes (0)
Could someone help me with a little trouble shooting?
I'm using the theme Edu Clean. I <strike>added</strike> tried to add three footer widgets. I followed the instructions at these two pages http://www.tipsandtricks-hq.com/how-to-add-widgets-to-wordpress-themes-footer-1033 and http://www.sueblimely.com/add-widget-ready-sidebars-to-wordpress-footers/. (they're essentially the same. I tried looking at the video here http://buddydress.com/2010/04/add-a-widget-anywhere-in-3-simple-steps/ but there's an error with the video.
First I registered my three widget areas by adding this under the code for other widget area in functions.php:
I noticed that Edu Clean's other four widget areas do not use
countbeforearray(, so I didn't use it either. I think they didn't use a count because they registered each widget area separately so that they could give each one a unique name.Next in footer.php, underneath
I added my code:
I used the numbers 5, 6, and 7 because that what number widget area they are. This seemed to be the model used by the tutorials.
Finally, I went to style.css and added:
Here's what happened.
I can see my three new widget areas in
wp-admin/widgets.phpand I can add widgets to themHowever, on my page itself, the footer is just a lot taller now, probably an extra 250px taller, but the widgets I added to my new widget areas do not show up.
Here's what I tried:
I was a little suspicious those numbers I put into:
So I looked at the codex under dynamic_sidebar. I tried experimenting, based on how I understood the codex. I replaced the number with the id name, and with sidebar-[id name]. Neither of these worked.
I feel like I probably missed something really obvious. Can anyone guess what it is?
Thanks!
Member (joined October 2011) Likes (0)
FYI
I didn't actually use strong tags in the code, I just bolded it here to call attention to it...
!dynamic_sidebar(7) ) : ?>
Member (joined October 2011) Likes (0)
Does anybody know what I did wrong?
Geeky Developer (joined June 2009) Likes (0)
hi
try use the widget id instead..like this
Member (joined October 2011) Likes (0)
Richie! Thanks again! I had tried the widget id, but I had forgotten about the single quotes! That made all the difference.
Become a member