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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

Using Php in Footer in Version 3.6.7

Old May 18, 2011, 02:21 AM
9 posts · Mar 2011

I want to try, as described here, to activate "content above LOOP", "Loop", "Content below LOOP", "Content if NOT FOUND" in the index.php again. But the problem remained the same.
Maybe somebody else knows if I in other files also must make changes?

Old May 18, 2011, 02:56 AM
64 posts · Jun 2010
I only use PHP in the footer - and got around it by adding a widget area to the footer and then using one of the many widgets that allow execution of PHP code.

If you could add a widget area where 'Content ABOVE Loop', 'The LOOP' etc. used to be would that work?
Old May 18, 2011, 04:16 AM
9 posts · Mar 2011
Hi GarethP

Thanks for the reply.
Your answer works described in part.
But I can not use variables like %author-nickname%.

Old May 18, 2011, 04:25 AM
64 posts · Jun 2010
I guess that is because items like %author-nickname% are 'theme variables' and the PHP in this sort out widget is 'outside' the theme.

I'm sure there's some PHP way of obtaining this information from the WordPress database directly (some WordPress PHP functions maybe?), maybe a trip to the WordPress Codex?
Old May 18, 2011, 05:54 AM
9 posts · Mar 2011
I have done it.
The tip with WordPress Codex and adding a new widget area was just right

Old May 18, 2011, 06:29 AM
9 posts · Mar 2011
Now the next problem.
I made ​​it, that it appears with a new widget area and the "Shortcode Exec PHP" plugin with Atahualpa 3.6.4.
But in Atahualpa 3.6.7 I do not see anything.
There is only a blank Line.

After I changed the index.php I now see the text.
But the text formatting (Class post-footer) that I use when add the new new widget area is not used.

PHP Code:
<?php bfa_widget_area('name=Footer Area&before_widget=<div id="%1$s" class="post-footer %2$s">&after_widget=</div>'); ?>

Last edited by Nobody15; May 18, 2011 at 06:51 AM.
Old May 18, 2011, 11:01 AM
juggledad's Avatar
23,755 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
are you saying you don't get the footer widget of you don't see the class?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old May 18, 2011, 11:29 PM
9 posts · Mar 2011
If I change the index.php in 3.6.7 i see the text that I generate by "Shortcode Exec PHP" in the new Widget area which I have built in in version 3.6.4.
But the text formatting does not work like in version 3.6.4.
I have used the "post-footer" class so that I can use the settings in the Atahualpa "Style Posts and Pages - FOOTER Box".

Last edited by Nobody15; May 18, 2011 at 11:38 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ata version 3.5.3 (bfa_ata4) compatability issue with php version php 5.2.12 bettykin Atahualpa 3 Wordpress theme 4 Dec 6, 2010 11:53 AM
php in footer.php - links to just show up on homepage chris Atahualpa 3 Wordpress theme 6 May 9, 2010 01:50 PM
[SOLVED] messed up header.php and footer.php monochrome Header configuration & styling 0 Jun 20, 2009 03:16 PM

All times are GMT -6. The time now is 09:31 PM.

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