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 »

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

Old Aug 5, 2009, 10:52 AM
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
Old Aug 8, 2009, 06:27 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
The Featured Content Gallery should be working, have you tried that one?
Old Aug 9, 2009, 01:54 PM
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:
<div id="header-container" class="header-image-container">
    <?php bfa_widget_area('name=Header Widget Area'); ?>
Add HTML/CSS Inserts->CSS Inserts
/* Adjust the height to accommodate your slideshow */ 
Then just add and configure your widget in your new widget area.
Old Mar 30, 2010, 01:43 AM
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
Old Mar 31, 2010, 01:53 AM
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.


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 03:34 PM.

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