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 »

Need to change just home page ad banner


  #1  
Old Nov 7, 2011, 11:53 PM
Disciplyne
 
5 posts · Oct 2011
I'm using an ad network script to serve ads in the head portion of my website, www.thegamereviews.com . I've used the Header Image Overlay option to add the script and position it. All is well with the banner that is there, but I need to add the ability to have the script for the home page be slightly different from the rest of the website. Closest solutions I've found on the forums are:
http://forum.bytesforall.com/showthr...hlight=horbar1
AND
http://forum.bytesforall.com/showthr...nner#post73478
Neither seem to be exactly what I'm looking for. The widget solution in the logo area either moves other elements around and shows a border or doesn't show up at all. So I've hidden the logo area and just used the image area along with the image overlay, which works great as far as it goes. But since I cannot put php in the overlay test area, I'm unable to use wordpress conditionals. The ideas discussed in the first link seem to be promising, but I haven't been able to get the banner to position were I need it. The current position is what I'm shooting for.

The Dynamic Headers plugin appear not to be an option as it only works with image file formats. I'm looking into the Widget Logic plugin, but that seems to be tied more closely into posts. All I need is for the 728 x 90 banner on the home page to run a different script than the rest of the website in the location it is in now (if possible).

Currently using Atahualpa 3.7.1 with Wordpress 3.2.1 Any thoughts, suggestions, critique, etc are welcome.

Cheers!
~DW
  #2  
Old Nov 10, 2011, 09:05 PM
Disciplyne
 
5 posts · Oct 2011
Any thoughts at all on this? Is it impossible to accomplish with this theme?

~DW
  #3  
Old Nov 11, 2011, 05:24 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
can't you code the script to check the page?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Nov 13, 2011, 12:42 PM
Disciplyne
 
5 posts · Oct 2011
Juggledad, thanks for the response. In 3.7.1 version of Atahualpa I'm no longer able to use php in the text box; before I'd typically use a php if / else statement with the conditional is_home. I'm not that familiar enough Javascript, it's possible that could done. I thought perhaps someone else here had already dealt with something like this so I didn't have to re-invent it.

~DW

Bookmarks

Tags
banner ad, header ad, home page, scripts



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I change my home page from the default setting PM Natural Atahualpa 3 Wordpress theme 1 Feb 21, 2011 01:01 AM
[SOLVED] How can I change the number of posts on home page? JulieBMack Center area post/pages 6 Dec 3, 2010 09:34 PM
[SOLVED] ATO text color change bug for Home page? juandrah Atahualpa 3 Wordpress theme 2 Jul 18, 2009 10:47 PM
Front/Home Page (only) not working after domain change prophet224 Atahualpa 3 Wordpress theme 1 May 12, 2009 03:17 PM
How do I change the home page top menu text and background box colors? bella123 Page & Category Menu Bars 4 Feb 13, 2009 08:07 AM


All times are GMT -6. The time now is 12:03 PM.


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