Forum Moderators: coopster
<?php the_author_meta('aim'); ?>
What I would like to do is replace the question mark below with the value from the above code.
<?php
aim_tracks('?', 7, false, true, false, false);
?>
I tried this but it didn't work:
<?php
$aim = the_author_meta('aim');
aim_tracks($aim, 7, false, true, false, false);
?>
Any ideas?
Thanks!
aim_tracks(get_the_author_meta('aim'), 7, false, true, false, false);
The problem was the_author_meta() echo's the data, whereas get_the_author_meta() returns it.