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] Help, one specific page with no header & open up on new tab


  #1  
Old Oct 24, 2010, 03:00 PM
levenssfeer
 
30 posts · Oct 2010
Just made a donation, but still no access to gold forum for creating splash page. Don't now why
Or there is another solution for:
One specific page with no header, no navigation menu bar, no category bar that open up on new tab ?
  #2  
Old Oct 26, 2010, 09:38 AM
levenssfeer
 
30 posts · Oct 2010
Whoaa it works, thank you so much!!
But, a small glitch, I got an error message:

Parse error: syntax error, unexpected '{' in C:\inetpub\vhosts\interiorsuperpowers.nl\httpdocs\ wp-content\themes\atahualpa\functions\bfa_header_conf ig.php(376) : eval()'d code on line 2

what should I do? Thanks in advance!
  #3  
Old Oct 26, 2010, 12:02 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
this
HTML Code:
<?php if (! is_page('PAGE YOU WANT TO HIDE STUFF ON'){echo 'PUT YOUR NORMAL HEADER CONTENT HERE ' ; } ?>
should be
HTML Code:
<?php if (! is_page('PAGE YOU WANT TO HIDE STUFF ON') ) {echo 'PUT YOUR NORMAL HEADER CONTENT HERE ' ; } ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 28, 2010, 01:43 AM
levenssfeer
 
30 posts · Oct 2010
OMG!!! It works!
Thanks, juggledad. I will arrange for another donation, thanks again.
  #5  
Old Oct 28, 2010, 03:13 AM
levenssfeer
 
30 posts · Oct 2010
And does anyone know how to add another page?
IF I use: && ('SECOND PAGE')
all pages except home have no header
Thanks!
  #6  
Old Oct 28, 2010, 05:56 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
since this is a NOT test, you need an OR like this
HTML Code:
<?php if ((!is_page('42')) and (!is_page('55'))) {echo 'PUT YOUR NORMAL HEADER CONTENT HERE ' ; } ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Sep 26, 2011 at 05:49 PM.
  #7  
Old Nov 7, 2010, 09:43 AM
levenssfeer
 
30 posts · Oct 2010
It doesn't work at first, ... but then I change the "or" into "and"

AND IT WORKS!!!
  #8  
Old Nov 8, 2010, 04:13 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
oops, your are right - I've changed it in the example.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Sep 26, 2011 at 05:49 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] post-specific header image w/ css insert (page-specific ones work, but not o viewdesigninc Header configuration & styling 10 Oct 1, 2012 03:43 PM
[SOLVED] Posts won't open in single page. Says &quot;Not Found&quot; chipcain Excerpts, Read more, Pagination 2 Aug 18, 2010 07:16 PM
[SOLVED] Confusing &quot;Style Posts and Pages&quot;- there is no main tab &quot;Text &amp; Link Styling treeplant Center area post/pages 4 Apr 5, 2010 07:49 AM
How to put specific SWF files on specific pages as header images? kippiper Header configuration & styling 2 Dec 10, 2009 08:23 AM
Page specific header images jts193 Header configuration & styling 2 Sep 1, 2009 05:40 PM


All times are GMT -6. The time now is 05:01 PM.


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