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 »

Inspired by a post on this forum...


 
Prev Previous Post   Next Post Next
  #1  
Old Aug 20, 2012, 09:58 AM
Jumpy
 
4 posts · Aug 2012
Inspired by a post on this forum...

Hi.

I was inspired by a post on this forum, being able to show something different based on a certain page:

Code:
<?php if ( is_page('A_PAGE') ) { ?>
<!-- Something -->
<?php } ?>
However, i am trying to figure out to use the above on different pages, such as a Else case like

Code:
<?php if ( is_page('A_PAGE') ) { ?>
<!-- Something -->
<?php } ?>
<?php if ( is_page('ANOTHER_PAGE') ) { ?>
<!-- Something -->
<?php } ?>
But only then in one strict code, up to 8 pages. Is anyone here know what i mean and able to answer my question? Basicly in a wordpress layout i am trying to show different CSS headers on different pages, in one code. Thx!
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Atahualpla Theme Doesn't Allow the Post Publishing after instaling Simple Press Forum Ahmad Plugins & Atahualpa 1 Apr 5, 2012 06:14 PM
WP Forum + Atahualpa: User cannot see the forum Janine Plugins & Atahualpa 7 Jan 25, 2010 09:39 AM
Stop! Don't post in the 'HOW TO' forum if.... paulae Forum How-To 4 Oct 19, 2009 12:12 PM
[SOLVED] Cannot post request in donor forum ldsmedia Customization, Design, Programming... 12 Aug 4, 2009 12:34 AM


All times are GMT -6. The time now is 08:35 AM.


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