Answers for "wordpress wp_get_attachment_image_src"

PHP
2

wp_get_attachment_image class

<?php 
  // ADD CLASS on wp image function 
  echo wp_get_attachment_image( get_the_ID(), array('700', '600'), "", array( "class" => "img-responsive" ) );  
?>
Posted by: Guest on May-26-2021

Code answers related to "wordpress wp_get_attachment_image_src"

Browse Popular Code Answers by Language