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 »

[SOLVED] Hide left sidebar on just one custom php page that isn't in the options list


  #1  
Old Feb 18, 2010, 04:23 AM
marced
 
60 posts · Feb 2010
Lightbulb [SOLVED] Hide left sidebar on just one custom php page that isn't in the options list

Hi guys,

I created a search.php page to show Google Search results on my page within my Atahualpa website, all works fine.

Now I don't want to show the left sidebar on this search.php page. Although, the script is taking the variable $bfa_ata['left_col'] I guess, which is "on" because I am on the homepage then, and in Atahualpa theme options I chose to show left sidebar on homepage, so it also shows up on the search result page. I want it on the homepage, but not on the search.php page. How do I do that? It's not in the Atahualpa sidebar options because that's all standard Atahualpa pages, not my custom search.php.

Can I just change the $bfa_ata['left_col'] variable, and if so, how? How do I do all this. My php and theme knowledge only goes so far....

Your help would be very much appreciated, thanks in advance!
  #2  
Old Feb 18, 2010, 05:04 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
did you try unchecking ATO->Style & configure SIDEBARS->LEFT sidebar: Display on:->Search Results
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 18, 2010, 06:53 AM
marced
 
60 posts · Feb 2010
Yes, I did, didn't work. Doesn't match it with the search.php page, because it is customized to google search I guess...
  #4  
Old Feb 18, 2010, 07:41 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
?? odd, I just created a search page and unchecking those items worked for me. It must have to do with your code. If you send it I'll take a look.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 18, 2010, 07:50 AM
marced
 
60 posts · Feb 2010
thanks for wanting to help out. Here is my code:

<?php
require('./wp-blog-header.php');
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header();

?>

<!-- Google CSE Search Box Begins -->

<!-- Google CSE Search Box Ends -->

<!-- Google Search Result Snippet Begins -->

<!-- Google Search Result Snippet Ends-->
<?php
get_footer();
?>
  #6  
Old Feb 18, 2010, 07:52 AM
marced
 
60 posts · Feb 2010
Maybe it is because my search.php is in the root, not in the atahualpa theme folder??

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bullets, Circles, Icons instead of left border on widget list items MacMacGA Sidebars & Widgets 62 Jul 30, 2010 11:46 AM
link Page options in menu bar to custom URL cway Page & Category Menu Bars 2 Jan 15, 2010 09:56 AM
[SOLVED] Plug-in, CSS or PHP Code for Expanding Definition List in Atahualpa ? RAMilewski Atahualpa 3 Wordpress theme 1 Aug 16, 2009 02:44 AM
[SOLVED] Comments are directed to a page that isn't there? kevandali Comments, trackbacks & pings 3 Jul 27, 2009 06:06 AM
Move left left sidebar to bottom of page sisiblum Sidebars & Widgets 2 May 5, 2009 11:25 PM


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


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