You’ll probably enjoy that code which allow you to retrieve all images from post content and display it. To use this code on your blog, simply paste the following code on one of your theme files. <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <?php $szPostContent = $post->post_content; $szSearchPattern = '~<img [^>]* [...]
↧