Hallo zusammen,
ich entwickel gerade eine WP Seite und befinde mich auch schon in den letzten Zügen.
An einem Punkt scheine ich einfach nicht weiterzukommen und benötige eure Hilfe.
Die Startseite spielt einen Slider ab, d.h. es wird eine Auswahl von Bildern als Slideshow abgespielt. Ich würde gerne über diese Fotoslideshow gerne parallel zu den laufenden Bilder Text einblenden, so ungefähr wie in diesem Beispiel:
http://livedemo00.template-help.com/wordpress_43105/
Der PHP-Code der für das Abspielen der Slideshow zuständig ist sieht folgendermaßen aus:
[COLOR=#000000]
[/COLOR][COLOR=#000000]<?php[/COLOR]
[COLOR=#000000]/**[/COLOR]
[COLOR=#000000] * Template Name: Home Page[/COLOR]
[COLOR=#000000] */[/COLOR]
[COLOR=#000000]
[/COLOR]
[COLOR=#000000]get_header(); ?>[/COLOR]
[COLOR=#000000]
[/COLOR]
[COLOR=#000000]
[/COLOR]
[COLOR=#000000]<script type="text/javascript">[/COLOR]
[COLOR=#000000] jQuery(function($){[/COLOR]
[COLOR=#000000] $.supersized({[/COLOR]
[COLOR=#000000] // Functionality[/COLOR]
[COLOR=#000000] slide_interval : <?php echo of_get_option('sl_pausetime'); ?>,[/COLOR]
[COLOR=#000000] transition : <?php echo of_get_option('sl_effect'); ?>,[/COLOR]
[COLOR=#000000] transition_speed : <?php echo of_get_option('sl_animation_speed'); ?>,[/COLOR]
[COLOR=#000000] [/COLOR]
[COLOR=#000000] // Components [/COLOR]
[COLOR=#000000] slide_links : 'blank', // Individual links for each slide (Options: false, 'num', 'name', 'blank')[/COLOR]
[COLOR=#000000] slides : [ // Slideshow Images[/COLOR]
[COLOR=#000000] <?php $temp = $wp_query;[/COLOR]
[COLOR=#000000] $wp_query= null;[/COLOR]
[COLOR=#000000] $wp_query = new WP_Query(); ?>[/COLOR]
[COLOR=#000000] <?php $wp_query->query("post_type=portfolio&showposts=-1"); ?>[/COLOR]
[COLOR=#000000] <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>[/COLOR]
[COLOR=#000000] <?php[/COLOR]
[COLOR=#000000] $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large-thumbnail' );[/COLOR]
[COLOR=#000000] $thumb_small = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'small-thumbnail' );[/COLOR]
[COLOR=#000000] $url = $thumb['0'];[/COLOR]
[COLOR=#000000] $url_small = $thumb_small['0'];[/COLOR]
[COLOR=#000000] ?>[/COLOR]
[COLOR=#000000] [/COLOR]
[COLOR=#000000] {image : '<?php echo $url?>', title : '<?php the_title(); ?>', thumb : '<?php echo $url_small?>', url : '<?php the_permalink(); ?>'}<?php if(($wp_query->current_post + 1) == ($wp_query->post_count)) { echo ''; } else { echo ','; } ?>[/COLOR]
[COLOR=#000000] <?php endwhile; ?>[/COLOR]
[COLOR=#000000] <?php $wp_query = null; $wp_query = $temp;?>[/COLOR]
[COLOR=#000000] ] [/COLOR]
[COLOR=#000000] });[/COLOR]
[COLOR=#000000] });[/COLOR]
[COLOR=#000000]</script>[/COLOR]
[COLOR=#000000]<?php get_footer(); ?>[/COLOR]
[COLOR=#000000]
Alles anzeigen
[FONT=Verdana]Im Grunde genommen werden hier die im Portfolio hinterlegten Fotos verwendet und nach den eingegebenen Speed- und Effektoptionen abgespielt. Wie und wo könnte ich denn im Code hinterlegen wie zeitgleich zum Foto Text mit angezeigt werden soll? Es sind ca. 8 Fotos und pro Foto soll ein Satz angezeigt werden.Gibt es da ein Plugin was die Anforderungen erfüllt?Vorab vielen Dank!![/FONT][/COLOR]