php - Media Upload URL or URL-loop -Wordpress -


i have created custom gallery slider connect media upload gallery function that's inside post , pages creator.

the problem cant seem understand how raw url-loop media upload gallery, because if add images media upload function, gives me output looks this.

<div id="gallery-1" class="gallery galleryid-81 gallery-columns-9 gallery-size-thumbnail"><dl class="gallery-item">             <dt class="gallery-icon landscape">                 <a href="url.com" title="jay-z+2"><img width="150" height="150" src="#" class="attachment-thumbnail" alt=""></a>             </dt></dl><dl class="gallery-item">             <dt class="gallery-icon landscape">                 <a href="#" title=""><img width="150" height="150" src="#" class="attachment-thumbnail" alt=""></a>             </dt></dl><dl class="gallery-item">             <dt class="gallery-icon landscape">                 <a href="url.com" title=""><img width="150" height="150" src="#" class="attachment-thumbnail" alt=""></a>             </dt></dl> </div> 

and have like

<img width="150" height="150" src="#" class="attachment-thumbnail" alt=""> <img width="150" height="150" src="#" class="attachment-thumbnail" alt=""> <img width="150" height="150" src="#" class="attachment-thumbnail" alt=""> 

is possible ? don't want use plugins

to url - run query

$query_images_args = array(     'post_type' => 'attachment', 'post_mime_type' =>'image', 'post_status' => 'inherit', 'posts_per_page' => -1, );  $query_images = new wp_query( $query_images_args ); $images = array(); foreach ( $query_images->posts $image) {     $images[]= wp_get_attachment_url( $image->id ); } 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -