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] Specific content in logo area for a category


 
Prev Previous Post   Next Post Next
  #1  
Old Mar 25, 2009, 08:34 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
[SOLVED] Specific content in logo area for a category

I am almost able to do this myself, but I'm not sure of the PHP quite yet. Flynn, you helped me make the logo area into 3 table cells so I could put a logo image there plus an ad. I actually turned it into 2 cells.

Now I need to be able to have a different banner ad show in the right table cell just on a certain category. I know I'd do an "if is catgory ()" sort of statement, but I'm not sure where to put it in the header config file. My file right now has this in it:

Code:
// END of title/description
$logo_area .='
    <td colspan="2" rowspan="2" valign="middle" class="header-banner">
        <img src="http://www.larchmontgazette.com/wp27/wp-content/uploads/2009/03/gazebologopj1.jpg" align=left width=600 height=150>
    </td>
    <td rowspan="2" align="right" class="header-banner">
    <script language=javascript src="http://www.larchmontgazette.com/cgi-bin/csBanner2/csBanner.cgi?g=240&js=Y&ss=Y"></script>
    </td>
';
I want to have a different csBanner ad where the code in red is, on my Obituaries and Garden Guide category posts.

The obits page in action now shows a funeral home ad, the sponsor of the section, in the right sidebar, but I want to put a smaller version of it where the Sotheby's/Plates/Coughlin ads are now.

http://larchmontgazette.com/wp27/category/obits/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Banner ad in top bar or logo area? paulae Header configuration & styling 28 Mar 21, 2011 02:17 PM
change the color of the space outside of the content area fcitino Atahualpa 3 Wordpress theme 13 Nov 16, 2009 06:46 AM
Full Post Text on specific category pages spencer Atahualpa 3 Wordpress theme 1 Jul 7, 2009 02:47 PM
How to Switch the Logo Area and Header Image tim5046 Header configuration & styling 1 Jun 2, 2009 12:43 PM
Can I make room for more content in the header area DoverTim Header configuration & styling 2 Apr 5, 2009 12:55 PM


All times are GMT -6. The time now is 09:10 AM.


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