PHP echo linking -
how can add link following line?
if ($image) echo $image->resize('w=272&h=170');
i have tried adding
if ($image) echo '<a href="'.get_the_permalink().'">'$image->resize('w=272&h=170')'</a>';
if ($image) { echo '<a href="'.get_the_permalink().'">' . $image->resize('w=272&h=170') . '</a>'; }
Comments
Post a Comment