| 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/drogentest-kaufen/ |
Upload File : |
<div class="container" id="slideshow">
<div class="col-md-12 slideshow">
<div class="wrapper">
<ul class="slides">
<?php
global $post;
$tmp_post = $post;
$args = array('post_type' => 'slideshow', 'posts_per_page' => 12, 'orderby' => 'date', 'order' => 'ASC');
$myposts = get_posts( $args );
foreach($myposts as $post) {
$sImageURL = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
echo '
<li class="slide-area">
<img src="'.$sImageURL.'" alt="'.$post->post_title.'" class="img-responsive" />
<div class="slide-container">
<div class="slide-content">
<h2>'.$post->post_title.'</h2>
<p>'.$post->post_excerpt.'</p>
</div>
</div>
</li>';
}
?>
</ul>
</div>
</div>
</div>