Wordpress the_author_posts_link

1 Cevap php

Ben SQL Query w / yazarların listesini yayınlamak bir döngü var, ben de yazar sayfalarına bağlantılar ile the_author_posts_link göndermek gerekiyor. Ben döngü içine koyduğunuzda her yineleme için sadece 4 girdi vermektedir.

foreach ($all_users_id as $i_users_id ) :


$user = get_userdata( $i_users_id );

the_author_posts_link();

$email = $user->user_email;
echo $email;
?>

<?php endforeach; ?>

1 Cevap

Neden mevcut bir wordpress şablonu etiketi ile çalışmak değil:? Template Tags/wp list authors « WordPress Codex

Edit: Gravatarları: Search WordPress Plugins >> gravatars