Changeset 616693
- Timestamp:
- 10/24/2012 06:17:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mosaic-generator/tags/1.0.4/mosaic_generator.class.php
r616689 r616693 120 120 //$posts_array = get_posts($args); 121 121 122 $args = array('post_type' => 'attachment', 'numberposts' => -1, 'orderby' => 'rand', 'post_status' => null, 'post_parent' => null , 'post_mime_type' => array('image/jpeg'));122 $args = array('post_type' => 'attachment', 'numberposts' => -1, 'orderby' => 'rand', 'post_status' => null, 'post_parent' => null); 123 123 $attachment_array = get_posts($args); // echo "<pre>"; 124 124
Note: See TracChangeset
for help on using the changeset viewer.