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 » Header configuration & styling »

[SOLVED] How to turn off the header image on all pages except the home page in 3.6.4?


  #1  
Old Mar 15, 2011, 04:44 PM
neondevil
 
29 posts · Sep 2010
I was using <?php if(is_front_page())echo '%image'; ?> on an older version of the theme to get the rotating header only on the front page. I had put it in the configure header area.

I just upgraded wordpress and atahualpa and now I get the error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in bfa://configure_header on line 18


I'm not sure what's up, does anybody have any ideas?
  #2  
Old Mar 17, 2011, 12:09 AM
neondevil
 
29 posts · Sep 2010
Quote:
Originally Posted by STB
Not a solution, but i can confirm im getting the same thing when trying this out on a testserver.

It gives me this error in the apache error log:
PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in bfa://configure_header on line 33


Im not 100% sure, but it could be related to the new way atahualpa parses php code in 3.6.

Hmm would that mean I'm calling a function that isn't there or moved?
  #3  
Old Mar 17, 2011, 05:51 PM
neondevil
 
29 posts · Sep 2010
Quote:
Originally Posted by STB
no, thats not what it means. (you arent calling a function to begin with)

almost sure this is a problem with atahualpa 3.6 stream wrapper

havent found a fix yet
I'm not really knowledgeable on PHP but would it be if(front page is loaded) then %image?


Thanks a lot for the help by the way I really appreciate it.
  #4  
Old Mar 17, 2011, 08:36 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This is an issue with the change to stream wrappers from the eval() function. I've a message into the developer and am awaiting a opinion from him. I do have a partial solution but will wait to hear from Flynn first.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 20, 2011, 12:22 AM
neondevil
 
29 posts · Sep 2010
Quote:
Originally Posted by juggledad
This is an issue with the change to stream wrappers from the eval() function. I've a message into the developer and am awaiting a opinion from him. I do have a partial solution but will wait to hear from Flynn first.

Did he ever get back to you? I'm curious what's causing all this.
  #6  
Old Mar 28, 2011, 02:29 PM
neondevil
 
29 posts · Sep 2010
Has there been any luck?
  #7  
Old Mar 30, 2011, 04:19 PM
neondevil
 
29 posts · Sep 2010
One last bump to see if anything was found out.
  #8  
Old Mar 30, 2011, 04:22 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I'll rattle Flynn's cage again
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Mar 31, 2011, 12:42 PM
neondevil
 
29 posts · Sep 2010
Quote:
Originally Posted by juggledad
I'll rattle Flynn's cage again
Thanks for that.
  #10  
Old Apr 4, 2011, 01:16 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Try this, use
HTML Code:
<?php if (is_front_page()) { ?> %image <?php }; ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Apr 13, 2011, 08:23 AM
neondevil
 
29 posts · Sep 2010
Quote:
Originally Posted by juggledad
Try this, use
HTML Code:
<?php if (is_front_page()) { ?> %image <?php }; ?>

That did it! Thanks!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to turn link of pages in page menu on or off e.g. turn parent off & child on Deansta22 Page & Category Menu Bars 8 Jan 18, 2011 03:01 PM
[SOLVED] Turn off header image, only use logo? Publinaut Header configuration & styling 2 Dec 29, 2010 04:24 PM
[SOLVED] How to turn off the header image on all pages except the home page? neondevil Header configuration & styling 1 Oct 20, 2010 03:06 PM
Header Images - One fixed image for Home Page - Rotate all images on all other pages? ClearlyRobert Header configuration & styling 10 Oct 12, 2010 01:12 PM
Header image displays on all pages BUT the HOME page imabeliever Header configuration & styling 3 Apr 14, 2009 07:05 AM


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


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