Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter 1rkamin

    (@1rkamin)

    I gave it the old college try and successfully experimented with the iterator

    My implementation may not be the most elegant, but it works:

    <?php $i = new CoAuthorsIterator();
    
    $i->iterate();
    
    echo "<strong>";
    the_author();
    echo "</strong>";
    echo "<br>";
    the_author_email();
    echo "<br>";
    the_author_meta('aim');
    echo "<br>";
    echo "<br>";
    while($i->iterate()){
        print $i->is_last() ? ' ' : ', ';
       	echo "<strong>";
            the_author();
            echo "</strong>";
    	echo "<br>";
    	the_author_email();
    	echo "<br>";
    	the_author_meta('aim');
    }
     ?>

    I’m still wrestling with the syntax/formatting the author email addresses into hyperlinks. There probably is an easy way to do this…

Viewing 1 replies (of 1 total)