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 »

Rotating banners in Sub Pages Only


  #1  
Old Apr 14, 2012, 04:22 PM
SharonJ's Avatar
SharonJ
 
644 posts · Sep 2010
Duncan BC Canada
I have a customer who wants to do a directory website. He is planning to sell one page websites to small businesses. He wants three rotating banners for each of their sites. There may end up being several hundred if he is successful.

Using Juggledad's code:

body.page-id-2 div#imagecontainer {
background-image: url('http://yourdomain.com/wordpress/wp-content/hdr_images/page_2.jpg') !important;
}

I can see having a special header for one page. Will it work for more than one image? i.s.
body.page-id-2 div#imagecontainer {
background-image: url('http://yourdomain.com/wordpress/wp-content/hdr_images/page_2.jpg, http://yourdomain.com/wordpress/wp-c...es/page_2a.jpg, http://yourdomain.com/wordpress/wp-c...es/page_2b.jpg') !important;
}

I can see the HTML/CSS file becoming enormous!
  #2  
Old Apr 14, 2012, 04:34 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the rotating headers are done in a jscript so you would have to do some coding with it.

I would suggest looking at some of the header image plugins and put in a widget area in the header in place of the %image. You might find one that will do what you want. 'cimy header image rotator' is one 'dynamic headers' is another, though I don't know if they will do what you want...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 15, 2012, 01:00 PM
SharonJ's Avatar
SharonJ
 
644 posts · Sep 2010
Duncan BC Canada
Can you suggest a good thread which talks about how to add a widget to the header area? The information I have been able to find seems very technical and likely beyond my ability.

If I can figure out how to do that and use a dynamic header widget, then I can use the Display Widgets plugin to place it on selected pages.
  #4  
Old Apr 15, 2012, 01:56 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
1) add the following to 'Configure Header Area'
HTML Code:
<?php bfa_widget_area('name=Header widget area'); ?>
2) go view the front page of your sie
3) go to dashboard->appearances->widgets you should see your new widget area
4) put the widget you want into it.
Done
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rotating Header Images link to Different pages instead of home page? WordPressZen.com Header configuration & styling 10 Oct 13, 2010 12:41 PM
Different image banners on the different post/pages of the WP sidebar shbsnt Sidebars & Widgets 4 Apr 24, 2010 09:40 AM
Can the banners be changed? killerbee Header configuration & styling 3 Apr 20, 2010 03:05 PM
separate linking for rotating banners starloft New Versions, & Updating 1 Jul 22, 2009 10:54 AM
Help with Flash banner, static banners on remaining pages krystyna Header configuration & styling 7 Jun 5, 2009 08:14 AM


All times are GMT -6. The time now is 05:02 AM.


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