I search here and on Google and I can't find answer to my question, just hope you will find it relevant.
I'm doing a magazine website and I need to display names of contributors as a byline. I'm taking the information from the taxonomy 'Contributor' to display their names.
<?php echo get_the_term_list( $post->ID , 'contributors', 'By ',' and '); ?>
That gives me, By contributor1 and contributor2 and contributor3 and contributor4
But I would like to have something like that instead:
By contributor1, contributor2, contributor3 and contributor4
Maybe it's not possible, let me know.
Thanks in advance,