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 » Header configuration & styling »

How can I place a rotating/clickable slideshow (SWF etc.) in homepage header (only) ?


  #1  
Old Aug 5, 2009, 10:52 AM
viewdesigninc
 
35 posts · Mar 2009
I've tried editing the "rotating header image" PHP file. But without much PHP experience it's hard to know where to try edits/insertions. Could someone post a snippet of code that shows where one would try putting a file referencing/calling a hosted SWF file, for instance. Also, what is the html that gets inserted to call a SWF file?

I've tried vSlider, no luck. I've tried NextGen gallery, no luck. Same with Dynamic Headers plugin.

Can someone show me a working rotating, clickable slideshow, and how to get it into my Atahualpa header of my homepage? What I also need is a snippet of the actual code showing what and where it gets inserted.

URL: www.viewdesigninc.com
  #2  
Old Aug 8, 2009, 06:27 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The Featured Content Gallery should be working, have you tried that one?
  #3  
Old Aug 9, 2009, 01:54 PM
dan.s.ward
 
4 posts · Aug 2009
I can't help with creating the slideshow but, if you are able to create the slideshow and make it appear somewhere on your page, then you should be able to use the same method I used for a widget overlay. The solution is here http://forum.bytesforall.com/showthread.php?t=2839

Basically, you'll need to replace the %image header item with the code needed to display your slideshow.

If your slideshow displays in a widget, then this should do...

Options->Style and Edit Header Area->Configure Header Area
HTML Code:
%pages
%bar1
<div id="header-container" class="header-image-container">
    <?php bfa_widget_area('name=Header Widget Area'); ?>
</div>
%bar2
Add HTML/CSS Inserts->CSS Inserts
Code:
/* Adjust the height to accommodate your slideshow */ 
#header-container{
position:relative;
margin:0;
padding:0;
height:150px;
}
Then just add and configure your widget in your new widget area.
  #4  
Old Mar 30, 2010, 01:43 AM
andyro
 
19 posts · Dec 2008
california & canada
I was hoping to create a widget to contain a nextgen imagerotator gallery for smoother header image rotation with a little more control - and while I know I can add this line to the header.php:

<?php if (function_exists("nggSlideshowWidget")) { nggSlideshowWidget(5,900,500); } ?>

The problem is that it then breaks the functionality of the %logo %pages, etc. format in the ATO Header Area Styling. Is there a way to get the newly created 'Header Widget' to receive this PHP line above to add the gallery in the right place? Do I still need to use css to style the widget size since the NG line has width and height in it (900 and 500)

Thanks in advance... A
  #5  
Old Mar 31, 2010, 01:53 AM
andyro
 
19 posts · Dec 2008
california & canada
Ok, I gutted through the thing: http://wordpress.org/extend/plugins/php-code-widget/
Added this widget, and then dropped in the nextgen header imagerotator code:

<?php if (function_exists("nggSlideshowWidget")) { nggSlideshowWidget(5,900,500); } ?>

And then I don't have to do anything with css. Phew.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
rotating slideshow with linked images in header (vSlider won't work) viewdesigninc Header configuration & styling 1 Aug 8, 2009 05:53 AM
rotating slideshow with linked images, on the homepage viewdesigninc Plugins & Atahualpa 1 Aug 4, 2009 06:08 PM
Inserting plugins (ie. vSlider slideshow) into header only on homepage viewdesigninc Header configuration & styling 3 Jul 27, 2009 10:02 AM
How to insert swf in place of jpeg!!! Zyama Header configuration & styling 0 Mar 15, 2009 02:42 AM
Flash in place of rotating images in header frankrizzo5150 Header configuration & styling 7 Feb 21, 2009 12:04 PM


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


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