Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Widget Area Disappeared (http://forum.bytesforall.com/showthread.php?t=15836)

sleenie Nov 2, 2011 05:00 PM

Widget Area Disappeared
 
Strange thing just happened. Put a 3-celled widget in the header area. Been working fine. All I was doing movethe %page and when I did, the widget stopped showing up. I can't for the life of me figure out what's missing.

This is what's in the header.

%bar1 %pages %bar1 <?php bfa_widget_area('name=Logo area&cells=3&align=1&width_1=410&width_2=250&width _3=250&width_4=200&align_2=1before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?> %bar1 %bar2 %bar2 <?php bfa_widget_area('name=My post slider area'); ?> %bar2 %bar1 %cats %bar1

Here's the site. I took it out of maintenance mode.

Thanks

lmilesw Nov 2, 2011 05:09 PM

Not sure if this means anything but you have a width set for cell 4 and only have a 3 celled widget area.

sleenie Nov 2, 2011 08:18 PM

I'll take a look at that. It's been up for 2 weeks and no problem. Of course it disappeared while I was showing the client what it would look like with his pages above instead of below.

Thanks Larry

lmilesw Nov 2, 2011 08:31 PM

I had a similar thing happen when I put a new widget area in that same spot where there was another multi celled widget area. I didn't bother trying to troubleshoot as I didn't really need the extra widget area.

sleenie Nov 2, 2011 09:45 PM

This is really frustrating. I deleted, added things back in and now for some reason I cannot have both widgets areas. It seems to be either or. I'm going to removethe 3 celled widget and see if I can get it done in a different way. Strange, because it worked just fine for a couple of weeks.

juggledad Nov 3, 2011 04:30 AM

Quote:

<?php bfa_widget_area('name=Logo area&cells=3&align=1&width_1=410&width_2=250&width _3=250&width_4=200&align_2=1before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
you are missing a '&' look at 'align_2=1before_widget' it should be 'align_2=1&before_widget'

(don't you just hate syntax errors :))

also get rid of the '&width_4=200' since you have three cells and I can't tell if there is a space between 'width' and '_3' - if there is, remove it.


All times are GMT -6. The time now is 04:08 PM.

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