Full Width Image
Simple shortcode to control full width responsive images
// Add Shortcode function fw_image_shortcode( $atts ) { // Attributes extract( shortcode_atts( array( 'image' => 'http://site.com/img.jpg', ), $atts ) ); // Code return '<div class="full_width_img"><img src="' . $content . '" ></div>'; } add_shortcode( 'full_width_image', 'fw_image_shortcode' );