Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

conditional header image code location


  #1  
Old Jun 5, 2013, 12:43 PM
jrobie23's Avatar
jrobie23
 
63 posts · Feb 2011
Boulder, CO
I'm upgrading a client's site from 3.4.6 to current. As part of this process, I'm cleaning up the previous developers "mess" as he didn't put anything in the css inserts, etc. The image enclosed is the difference between the old and new "header.php" files.
I'd like to know where to put this chunk of code (on the left) that displays conditional headers... I tried in the "head" section under css inserts, but it didn't show. I'm guessing I just grabbed too much of the code (maybe the <td> messed me up?)
what I'm doing is transferring all of these changes to the existing site and then plan to update since they will all be then stored in the db. A little scared from some of the comments i've seen on this particular section of the forum, but we'll give it a shot!
any direction would be greatly appreciated.

Last edited by jrobie23; Jul 23, 2013 at 01:08 PM.
  #2  
Old Jun 5, 2013, 01:05 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Based on what I see on your site I would put a new widget area in the Style and Configure Header area box in place of %images and then use a slideshow plugin in that widget area. Then I would use a plugin such as Display Widget to set what page it displays on.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jun 5, 2013, 01:08 PM
jrobie23's Avatar
jrobie23
 
63 posts · Feb 2011
Boulder, CO
Yeah. I think you're right. I just tried adding it to "above the loop" under center column, but it ended up putting it next to the menu and pushing the images over to the right of the main site.
At least I'd have some control w/ a widget.
Thank you, as always!
  #4  
Old Jun 5, 2013, 01:24 PM
jrobie23's Avatar
jrobie23
 
63 posts · Feb 2011
Boulder, CO
after some further digging, it appears that that particular chunk of code is written to call up an image slider plugin "showtime". I'm guessing I would be able to add this code to the header.php of the updated ata theme and it (should) work??
I understand it won't be happy with future updates, but it'll work for now. I can mess around with a custom widget once the site is back up and happy???
i also understand i'm asking you if doing the "wrong" thing will work!!
  #5  
Old Jun 5, 2013, 02:00 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
Put the new widget code in the same spot as %image
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Jun 5, 2013, 04:11 PM
jrobie23's Avatar
jrobie23
 
63 posts · Feb 2011
Boulder, CO
will give that a shot.... thanks again!

Bookmarks

Tags
css inserts, header code

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
The code needed to customize location of header images geir New Versions, & Updating 2 Feb 4, 2013 05:56 PM
Changing the header image location in Atahualpa Kevin Grenier New Versions, & Updating 7 Dec 12, 2012 03:09 PM
Ansense and other code with php conditional in byline mariusanhalt Atahualpa 3 Wordpress theme 14 Jul 25, 2011 05:37 AM
Conditional Logic for %logo and %image control cab262 Header configuration & styling 1 May 5, 2010 08:24 AM
Location for php code for SOCIABLE widget? strangelove Post-Kicker, -Byline & -Footer 1 Feb 18, 2009 06:04 PM


All times are GMT -6. The time now is 10:19 PM.


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