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 »

Unable to create new widget area


  #1  
Old Sep 13, 2009, 04:30 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
On one site, I'm using Atahualpa 3.4.2 and WP 2.8.4. PHP 5. Firefox 3.5.3, Mac OS 10.6.

In the footer content area of ATA options, I entered
Code:
<?php bfa_widget_area('name=footerarea'); ?>
above the copyright stuff. I saved that. When I go into the Widgets area, I see footerarea1, 2 and 3. To test them, I added text widgets to each one, and they do show up. I guess I don't get how this works. What if I want just one widget in the footer? I did not put 3 cells in the code.

Then I tried the same code above the Loop in the center column.
Code:
<?php bfa_widget_area('name=centerwidget'); ?>
This time, I do not see a new widget area called centerwidget in the widgets admin area.

What am I doing wrong?
  #2  
Old Sep 13, 2009, 06:04 PM
juggledad's Avatar
juggledad
 
23,671 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Paulae,
Your not doing anything wrong. I was playing with the new widgets areas and have discovered there are some problems. You can't have a header and footer widget (or anywhere else I'd guess) at the same time. I dug thru the code a bit and have sent Flynn a note with what I found and am waiting to here from him. I'll post as soon as I get more info.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 13, 2009, 07:07 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Whew! I thought I was going nuts.

Being able to easily create new widget areas without hard coding the theme files is the holy grail, so I hope he can come up with the solution for the next release.

In addition to not being able to create widgets in different places, he needs to look at the creation of 3 areas where one was desired.
  #4  
Old Sep 14, 2009, 02:36 AM
DesignFlute
 
27 posts · Apr 2009
Mumbai, India
I too am unable to create widget areas at 2 different places differently. Maximum no of cell area gets repeated everywhere. So eagerly waiting for solution to this question.

But I have been able to create just one cell in footer area or anywhere like this:

<?php bfa_widget_area('name='whatever'&cells=1&align_1=9 &width_1=1000&before_widget=<div id="%1" class="header-widget %2">&after_widget=</div>'); ?>
  #5  
Old Sep 14, 2009, 05:57 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
So the default string of code creates 3 cells, but you can force it to make just one.
  #6  
Old Sep 14, 2009, 07:42 AM
juggledad's Avatar
juggledad
 
23,671 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
that's one of the bugs I found also the string should read
HTML Code:
<?php bfa_widget_area('name='whatever'&cells=1&align_1=9 &width_1=1000&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
note the '$s' after the %1 and %2

What happens it if you have a header widget or 2 they get loaded, but if you have a footer widget, it loads into the same array occurance wiping out the previous occurance.

I'm looking to see if I can figure out a way to keep both and am still waiting to hear from Flynn
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Sep 14, 2009, 08:32 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
OK, I'll stop messing with it until Flynn comes up with a fix.

I don't see much reason to upgrade other sites to this version of Atahualpa until this bug is fixed, since the extra widget areas feature is the main reason I'd want to make the change.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
WPMU - new widget area(S) ? teros Sidebars & Widgets 3 Sep 5, 2009 04:22 AM
Footer Widget Area aebrigham Sidebars & Widgets 2 Aug 11, 2009 01:26 PM
Create a Page Dropdown Menu on Sidebar via Text Widget mbro Page & Category Menu Bars 1 Jul 15, 2009 06:11 AM
New widget area in header paulae Sidebars & Widgets 10 Jul 3, 2009 01:45 PM
Unable to use autoresponder form code in sidebar text widget TonyLogue Sidebars & Widgets 0 May 8, 2009 03:30 AM


All times are GMT -6. The time now is 11:50 AM.


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