craig
Hey Craig, I'm having trouble getting the script to retrieve the user_custom_field image for the article's author. For some reason it's only pulling in whatever 1 of the authors in my account has for an image.
I've got the following:
function user_custom_field($key = 'authorimage', $default = '', $id = null)
{
if ($id == null) {
$id = user_authed_id();
}
if ($extend = Extend::field('user', $key, $id)) {
return Extend::value($extend, $default);
}
return $default;
}