Thread Starter
scferg
(@scferg)
I think I’ve answered part of my question. As documented here:
$default_attr = array(
'src' => $src,
'class' => "attachment-$size",
'alt' => trim(strip_tags( $attachment->post_excerpt )),
'title' => trim(strip_tags( $attachment->post_title )),
);
I’m just now unsure of where to place that snippet of code to get it to work. Or I could be off completely.