How can I place a rotating/clickable slideshow (SWF etc.) in homepage header (only) ?
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 |
The Featured Content Gallery should be working, have you tried that one?
|
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 Code:
/* Adjust the height to accommodate your slideshow */ |
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 |
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. |
All times are GMT -6. The time now is 04:37 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.