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 »

[SOLVED] Right Sidebar missing ...Tried everything! Please help!

Old Jun 21, 2009, 06:11 AM
6 posts · May 2009
Hi there,

I'm tearing my hair out with this problem so would appreciate any suggestions! My right sidebar is missing on my home page. If I click on my sub-pages, it appears just fine! What's going on?? One min it was there and the next, it wasn't!

I've searched the forum and tried to rectify it by what's been suggested to others but I'm complete baffled!

1. I checked the sidebar option in the Atahualpa Theme options and it's all checked.
2. I have my footer.php. It's not missing.
3. I don't write copy and paste my posts from MS Word. I write them straight in the Wordpress user interface.

Please please help...my site is: www.hapit.co.uk I'm more than happy to make a donation via Paypal...
Old Jun 21, 2009, 07:31 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
your getting an error on your home page;
<b>Fatal error</b>: Call to undefined function show_posts_nav() in <b>E:\domains\h\hapit.co.uk\user\htdocs\wp-content\themes\atahualpa.3.2\atahualpa\index.php</b> on line <b>256</b><br />

Have you made any changes to the Atahualpa code?
What version of WP are you using?
Are you in fact using Atahualpa 3.2?
What plugins do you have?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jun 21, 2009, 07:51 AM
6 posts · May 2009
Thanks for your reply.

1. The only changes I've added is the google adsense code I'm implemented with help from the forum. :

function bfa_add_adsense($post_body_content) {
$adsense_ad = '
<div class="bfa-adsense">
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxx";
/* Below posts, 468x60 */
google_ad_slot = "xxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
<script type="text/javascript"
if ( is_single() OR is_home() ) {
if (strpos($post_body_content,'%adsense%')!==FALSE) {
$post_body_content = str_replace('%adsense%', $adsense_ad, $post_body_content);
} else {
$post_body_content = $post_body_content . $adsense_ad;
return $post_body_content;
add_filter('the_content', 'bfa_add_adsense');

2. I'm using WP 2.8

3. I'm using Atahualpa 3.2.

4. Plugins I have are: Akismet, Sociable, All in One SEO Pack, Wordpress.com Stats.

Note: For point 1, I had no problems when I first implemented the google adsense code. Everything was fine. I had my adsense and I had my right sidebar. Today however, I thought I would remove my adsense code and everything went berserk! Right sidebar went missing. It shows on my Pages but just not on my homepage.

The error u're talking about...I haven't seen it...are you saying that you don't even see my site? All you get is an error message? That worries me cause I don't see an error messages...just a normal site page with a missing sidebar on the right on my home page.

Thank you so much for your help...I really really appreciate it...
Old Jun 21, 2009, 08:06 AM
6 posts · May 2009
oh yes...I do see the error now...it's right at the bottom of my site.

I didn't changed index.php at all. I've only tweaked functions.php for my adsense code.

Even after removing the adsense code alltogether, I'm stuck with a missing right sidebar. I've cleared my cache as well.

Should I upgrade to Atahualpa 3.3.3?
Old Jun 21, 2009, 08:16 AM
paulae's Avatar
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I'm wondering, because of the function show_posts_nav() part of the error message, if she has some kind of navigation plugin running that is conflicting with the theme or another plugin? I know a lot of plugins don't work with WP 2.8.

Hapit, have you tried deactivating plugins one by one to see if one of them is the culprit?
Old Jun 21, 2009, 08:28 AM
6 posts · May 2009
Hi there,

yes I just tried that and it makes no difference. Footer and right sidebar still not showing.

Old Jun 21, 2009, 11:58 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did I understand you that your site was running fine with Atahualpa 3.2 and WP 2.8 and then you removed the adsense code and the problem started happening?

I would suggest getting a fresh copy of Atahualpa 3.2 and re-upload functions.php to our site. You may have made a type when removing the adsense code., and this will put the original code back in
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jun 21, 2009, 12:51 PM
6 posts · May 2009
it worked! Thank you so so much! You're brilliant!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] After plugin install, footer is in right sidebar and right sidebar is on lef miscbytes Forum How-To 2 Jun 5, 2009 07:34 AM
sidebar missing gina31 Sidebars & Widgets 9 May 25, 2009 08:12 PM
Missing Save Changes button again, and missing footer area paulae Sidebars & Widgets 1 May 13, 2009 10:46 AM
Content missing Psyman Sidebars & Widgets 3 May 2, 2009 08:44 AM
[SOLVED] Missing my &quot;www&quot;?? Shepherd Jim Web Hosting for WordPress 10 Apr 5, 2009 09:28 AM

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

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