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 = "