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 »

[SOLVED] Dynamic widget area

Old Jul 6, 2015, 02:05 AM
43 posts · Dec 2012
I have discovered that I have two widget areas set up in the header area and I want to remove one of them. I see the section where it lists the Dynamic Widget Areas and the instruction for deleting any of them. The bit that is causing me problems is in deleting the piece of code that is required.

I have gone to the section Style & Edit header Area - this is the code in there,

%logo %pages
<?php bfa_widget_area('name=Banner&cells=2&align=1&align _2=9&align_3=7&width_4=700&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
<?php bfa_widget_area('name=Header widget area'); ?> %bar2

Should some of this be deleted to remove Banner 2 from the header area.

If you look at the site http://careersnews.ie you will see the Banner 2, it has "222" written in it at the moment. Because it is there it is causing problems with the layout in this area for Banner 1 which is pushed to the left.

I can arrange a log in if you need it.

As usual thanks for your help.
Old Jul 6, 2015, 11:37 AM
juggledad's Avatar
23,617 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
First do a database backup

To delete a dynamic widget area
1) go to the dashboard->apperances->widgets and remove any widget from the area you want to delete
2) Make note of the widget in your 'Header widget area' since it will be made inactive
3) change the code for the Banner from
HTML Code:
<?php bfa_widget_area('name=Banner&cells=2&align=1&align _2=9&align_3=7&width_4=700&before_widget=<div id="%1$s" class="header-widget %2$s">&after_widget=</div>'); ?>
HTML Code:
<?php bfa_widget_area('name=Banner 1'); ?>
4) go visit the front page of the site
5) go to dashboard->appearances->ATO->Add DYNAMIC WIDGET AREAS->Delete Dynamic Widget Areas and check off 'Banner 2' and delete it (you may need to refresh the page to see it is gone)
6) go back to the widget area and you should see 'Banner 1' with it's widgets and 'Header widget area' without it's widget but if you look thru the inactive widgets, you should fnd it and can drag it back in.

And that's all you should need to do - looks complicated, but just take it a step at a time.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jul 7, 2015, 03:02 AM
43 posts · Dec 2012
As usual it worked perfectly first time.

Thank you for the step by step guide.
Tom Farrell


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Hide Dynamic Widget Area for One Page? tamdoll Header configuration & styling 2 Jul 17, 2015 12:31 PM
Can't find area named "Footer: Content" in Add Dynamic Widget areas JimTrail Sidebars & Widgets 3 Mar 31, 2015 10:43 AM
[SOLVED] Dynamic Widget Areas gr870sfunk Sidebars & Widgets 2 Sep 4, 2014 09:19 AM
Dynamic Ads into Widget - How? Regist Sidebars & Widgets 9 Aug 29, 2012 12:53 PM

All times are GMT -6. The time now is 10:35 PM.

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