Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

how do I put a %bar2 in the footer

Old Jan 20, 2010, 05:47 PM
24 posts · Jul 2009
How do I enable %bar1 and %bar2 in bfa_footer.php so that I can enter them into Appearance=>ATA=>Footer=>Style and Edit Footer=>Footer Content to make the header and footer stylings match?

Old Jan 21, 2010, 07:03 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
there is no automatic way, but if you look at the generated code, you could find the code that is created and put that in the footer
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Feb 2, 2010, 07:01 PM
24 posts · Jul 2009
OK, here's my answer. It is a hard code change which allows me to enter %bar1 and %bar2 into ATO=>Footer=>Style and Edit Footer=>Footer Content

In ATO=> Appearance=> Editor=> bfa_footer.php

add the following code anywhere (I preferred at the top just after “global $bfa.ata, $post”)

// Horizontal bar 1

if ( strpos($footer_content,’%bar1′) !== FALSE ) {
$horizontal_bar1 = ‘<div>&nbsp;</div>’;

// Horizontal bar 2

if ( strpos($footer_content,’%bar2′) !== FALSE ) {
$horizontal_bar2 = ‘<div>&nbsp;</div>’;

$footer_item_numbers = array(

$footer_output = array(

$footer_content = str_replace($footer_item_numbers,  $footer_output, $footer_content);
New, different style bars (%bar3, %bar4, etc) can be created by defining them in css.

Also note that by adding any of :


$footer_item_numbers = array(
and correspondingly adding:


$footer_output = array(
any of those features become available as options in ATO=>Footer=>Style and Edit Footer=>Footer Content as well


On first try %page-center and %cat-center are broken and needs a tweek, however, I see no need to repeat these menu bars in the footer. This is, however, a good springboard to add a separate custom navigation bar in the footer if needed/desired by creating a new function using bfa_hor_cats.php or bfa_hor_pages.php as a template.

While they are NOT broken, the same goes for $logo_area and $header_image. They can be used as templates to create an advertising space in the footer where clickable link images can be placed. Also using $logo_area allows for the RSS feed with icons in the footer as well.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to put two clickable images, side-by-side, in &quot;%bar2&quot;? jjguitar Header configuration & styling 3 Jan 10, 2010 02:30 PM
Put Links in Post Footer haroldandzooey Post-Kicker, -Byline & -Footer 1 Dec 7, 2009 09:54 PM
Using bar1 or bar2 for Javascript? paulae Header configuration & styling 3 Sep 30, 2009 11:47 AM
[SOLVED] Bar2 Navigation: How To Impliment rockport Header configuration & styling 4 Jun 12, 2009 10:59 AM
Minimum size for bar1 / bar2 in windows? mcphoto Header configuration & styling 2 May 11, 2009 03:36 PM

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

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