Fetching Image from other post/page with custom type
You can achieve that in many ways , but providing that you use a relatively new wordpress, you should use the_post_thumbnail(). you define it in functions.php , like so : add_theme_support( ‘post-thumbnails’ ); //thumnails set_post_thumbnail_size( 150,230, true ); // defaultpost thumbnails add_image_size( ‘your-custom-name-2’, 400, 9999 ); // some size thumbnail add_image_size( ‘your-custom-name-2’, 400, 300,false ); … Read more