Skip to content

Instantly share code, notes, and snippets.

@juarezpaf
Created July 7, 2009 18:27
Show Gist options
  • Save juarezpaf/142266 to your computer and use it in GitHub Desktop.
Save juarezpaf/142266 to your computer and use it in GitHub Desktop.
<?php while (have_posts()) : the_post();
$nome = get_the_author_meta('nickname');
$autor = get_the_author_meta('display_name');
$logo = get_cimyFieldValue(get_the_author_ID(), 'LOGO');
$descricao = get_the_author_meta('user_description');
$email = get_the_author_meta('user_email');
$site = get_the_author_meta('user_url');
$imagem1 = get_cimyFieldValue(get_the_author_ID(), 'IMAGEM1');
$imagem2 = get_cimyFieldValue(get_the_author_ID(), 'IMAGEM2');
$imagem3 = get_cimyFieldValue(get_the_author_ID(), 'IMAGEM3');
$imagem4 = get_cimyFieldValue(get_the_author_ID(), 'IMAGEM4');
$googlemaps = get_cimyFieldValue(get_the_author_ID(), 'GOOGLEMAPS');
if (isset($imagem4) && $imagem4 != "") {
$imagem4 = '<li><a href="{$imagem4}" rel="lightbox[{$nome}]"><img src="{$imagem4}"/></a></li>';
}
echo
"<h3>".$autor."</h3>
<img src='".$logo."' class='logo' />".$descricao."
<ul>
<li><a href='".$imagem1."' rel='lightbox[".$nome."]'><img src='".$imagem1."'/></a></li>
<li><a href='".$imagem2."' rel='lightbox[".$nome."]'><img src='".$imagem2."'/></a></li>
<li><a href='".$imagem3."' rel='lightbox[".$nome."]'><img src='".$imagem3."'/></a></li>
{$imagem4}
</ul>
<p class='links'>
<a href='mailto:".$email."' target='_blank'>".$email."</a><br />
<a href='".$site."' target='_blank'>".$site."</a>
</p>
".$googlemaps
;
break;
?>
<?php endwhile; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment