Jump to content
Sign in to follow this  
buzzonabudget

Using boxes for widgets

Recommended Posts

buzzonabudget

I'm trying to design my site using the three boxes on the homepage for widgets - one for my blog's RSS feed, one for my Facebook like box, and one for my Twitter stream. I've managed to get the RSS and the Facebook widgets both working by posting the script half of the widget code in the header.php file just before the </header> tag, and the html half of the widget code as text in the corresponding box. I can't get this to work for the Twitter feed though. When I load the page the feed will be there for about a half a second and then will totally disappear.

Is there a way that, rather than fiddling with this code any longer, I could just place an actual widget in the area of the homepage where the boxes are currently?

Share this post


Link to post
Share on other sites
James B

Hi there, take a look at the boxer plugin http://wordpress.org/extend/plugins/boxer/, it works along the same line as our boxes section but will allow you to place the boxes in additional sections via shortcodes and allow you enter additional content such as code. Have you tried looking into a twitter/facebook plugin you can activate via shortcodes? This would eradicate the need to use scripting/codes.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Rob

First, you should never edit core files. On our next update your work will be wiped clean. If you have shortcodes for the widgets you wish to use, those may definitely be added to boxes. Widgets, like the ones found at Dashboard > Appearance > Widgets, cannot be added to boxes.

Editing the header.php is not only unsupported, but a good way to break your site.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×