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

inner right sidebar still showing up even when putting post id


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 Jul 26, 2010, 10:23 AM
kachaloo
 
5 posts · Jul 2010
inner right sidebar still showing up even when putting post id

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
 
21,704 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
so what did you try?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
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
 
21,704 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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() ) {
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
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 03:09 PM.


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