Adding attached images to a WordPress page
Posted: March 2nd, 2011 | Tags: PHP • Tutorials • Wordpress | Posted in: PHP, Tutorials, WordpressIf you want to display images attached to a WordPress page/post all you need to do is copy the code below to your theme’s functions.php file: /* Sizes can be thumbnail, full, medium, large */ function getAttachedimages($size=’full’, $before = ”, $after = ”) { global $post; $qty = …
Read more…