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 » Sidebars & Widgets »

inner right sidebar still showing up even when putting post id


  #1  
Old Jul 26, 2010, 10:23 AM
kachaloo
 
5 posts · Jul 2010
Hi,
I am using Atahualpa 3.4.9.

I am trying to use the feature to hide my inner side bar for certain posts but when I put it it does not seem to work.

Please help.

Cheers,
kachaloo
  #2  
Old Jul 26, 2010, 10:55 AM
kachaloo
 
5 posts · Jul 2010
I even upgraded to Atahualpa 3.5.3 and even then the problem exists.
  #3  
Old Jul 26, 2010, 11:20 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
so what did you try?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Jul 26, 2010, 11:28 AM
kachaloo
 
5 posts · Jul 2010
I put the post id in the "RIGHT INNER sidebar: Don't display on Pages:" and it did not work.

I then assumped that its a code problem and upgraded to the latest version and even then it did not work.


Please advice what else can I do ?


Cheers,
Kachaloo
  #5  
Old Jul 26, 2010, 12:11 PM
kachaloo
 
5 posts · Jul 2010
I found another thread with the same problem at

http://forum.bytesforall.com/showthr...t=hide+sidebar


apparently we cannot hide side bars for posts. I was wondering if this still holds true as there have been many updates to the theme.


Cheers,
Kachaloo
  #6  
Old Jul 26, 2010, 01:43 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This patch should allow you to specify the POST ID in addition to the PAGE ID so the sidebar will not show on the single post page for the POST ID specified.

This is for version 3.5.3
edit bfa_get_options.php and find lines 370-373 which should be
HTML Code:
if ( is_page() ) {
	global $wp_query;
	$current_page_id = $wp_query->get_queried_object_id();
	}
and chenage then to
HTML Code:
#if ( is_page() ) {
	global $wp_query;
	$current_page_id = $wp_query->get_queried_object_id();
#	}
fine line 384 which should be
HTML Code:
if ( is_page() AND (function_exists('is_front_page') ? !is_front_page() : '') AND !is_home() OR is_single() ) {
and change it to
HTML Code:
if ( is_page() AND (function_exists('is_front_page') ? !is_front_page() : '') AND !is_home() ) {
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jul 26, 2010, 09:59 PM
kachaloo
 
5 posts · Jul 2010
Hi,
Thank you for your prompt answer. I did as you mentioned and its still not working.

I am using Atahualpa 3.5.3 with wp 3.0





Cheers,
Kachaloo

Last edited by kachaloo; Jul 26, 2010 at 11:29 PM. Reason: update and correction
  #8  
Old Jul 27, 2010, 04:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you also add the POST ID to the exclude?
please go to ATO->Export/Import settings and do an EXPORT and attach it to a reply (use the paperclip icon)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting Code/Sign Up Form into Sidebar gradlebum Sidebars & Widgets 14 Apr 26, 2010 03:31 PM
[SOLVED] Right Sidebar not showing up un Post pages Fux Sidebars & Widgets 3 Feb 7, 2010 09:51 AM
Putting an Image in sidebar widgets ChrisPanimation Sidebars & Widgets 1 Jan 20, 2010 11:27 PM
Putting Post Title In Page Menu Bar gradlebum Page & Category Menu Bars 5 Jul 27, 2009 08:52 PM
Putting Adsense or RSS news feed in sidebar Equity Sidebars & Widgets 1 Apr 25, 2009 05:15 AM


All times are GMT -6. The time now is 12:43 AM.


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