Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!
Paste
Pasted by DesignForLife ( 10 years ago )
//Portfolio Image Types Function
function dfl_portfolio_image_type($postmeta, $heading = false, $share_title=true) {
if(isset($postmeta["item_image"][0])):
$img = $postmeta["item_image"][0];
else:
$img = get_template_directory_uri()."/images/no_projectimage.png";
endif;
$value="<a href=\\"".esc_url( get_permalink() )."\"><img /></a>";
return $value;
}
Revise this Paste