Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 21, 2009, 06:11 AM
hapit
 
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...
  #2  
Old Jun 21, 2009, 07:31 AM
juggledad's Avatar
juggledad
 
22,379 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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
  #3  
Old Jun 21, 2009, 07:51 AM
hapit
 
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. :

<?php
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>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
';
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');
?>
<br>
</br>

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...
  #4  
Old Jun 21, 2009, 08:06 AM
hapit
 
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?
  #5  
Old Jun 21, 2009, 08:16 AM
paulae's Avatar
paulae
 
1,332 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?
  #6  
Old Jun 21, 2009, 08:28 AM
hapit
 
6 posts · May 2009
Hi there,

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

  #7  
Old Jun 21, 2009, 11:58 AM
juggledad's Avatar
juggledad
 
22,379 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Hapit,
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
  #8  
Old Jun 21, 2009, 12:51 PM
hapit
 
6 posts · May 2009
it worked! Thank you so so much! You're brilliant!

Bookmarks

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 12:45 AM.


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