| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/web20/web/wp-content/themes/old_backup/ |
Upload File : |
<?php
global $post;
global $dynamic_featured_image;
$aImages = $dynamic_featured_image->get_featured_images($post->ID);
// Wenn kein Bild für Unterseite, dann nimm von der Hauptseite
if(empty($aImages)) {
$ancestor_id=get_main_page_id();
$aImages = $dynamic_featured_image->get_featured_images($ancestor_id);
}
$aImageURL = wp_get_attachment_image_src(get_post_thumbnail_id($ancestor_id), 'full');
?><div class="flex-format" id="slideshow">
<div class="slideshow">
<ul class="slides">
<?php foreach($aImages as $k => $v) { ?>
<li>
<img src="<?php echo $v['full']; ?>" class="img-responsive" />
</li>
<?php } if(empty($aImages)) { ?>
<li>
<img src="<?php echo get_template_directory_uri(); ?>/images/template/winterlager_titel.jpg" class="img-responsive" />
</li>
<?php } ?>
</ul>
</div>
</div>