< ?php /** * Template Name: Bilderbuch Page Template * * Description: A page template that provides a key component of WordPress as a CMS * by meeting the need for a carefully crafted introductory page. The front page template * in Twenty Twelve consists of a page content area for adding text, images, video -- * anything you'd like -- followed by front-page-only widgets in one or two columns. * * @package WordPress * @subpackage Twenty_Twelve_Child * @since Twenty Twelve Child 0.2 */ get_header(); ?>

Das Bilderbuch

Alle Bilder der Beitr├Ąge linken auf den Beitrag, in dem sie verwendet werden

... ist jetzt schon ein Haufen Holz - wenn Du den Footer siehst, hast du etwa 11 MB heruntergeladen - nach und nach ...

< ?php $args = array( 'numberposts' => 2300, 'offset' => 0, 'category' => 0, 'orderby' => 'post_date', 'order' => 'DESC', 'include' => '', 'exclude' => '', 'meta_key' => '', 'meta_value' =>'', 'post_type' => 'post', 'post_status' => 'publish', 'suppress_filters' => true ); $recent_posts = wp_get_recent_posts( $args, ARRAY_A ); foreach ( $recent_posts as $posting ) { $args = array( 'post_type' => 'attachment', 'posts_per_page' => 50, 'post_parent' => $posting['ID'] ); $attachments = get_posts( $args ); if ( $attachments ) { foreach ( $attachments as $attachment ) { $url = wp_get_attachment_thumb_url( $attachment->ID ); $title = $posting['post_title'] ; $buffer = "". PHP_EOL; echo str_replace('http://fahrradund.typo3imtal.de', '', $buffer); } } } ?>
< ?php get_sidebar( 'front' ); ?> < ?php get_footer(); ?>