Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Rotating banners in Sub Pages Only


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 14, 2012, 04:22 PM
SharonJ's Avatar
SharonJ
 
520 posts · Sep 2010
Duncan BC Canada
Rotating banners in Sub Pages Only

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
 
21,937 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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...
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Apr 15, 2012, 01:00 PM
SharonJ's Avatar
SharonJ
 
520 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
 
21,937 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
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
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
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 11:36 PM.


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