WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Plugin AZIndex (2 posts)

  1. lobos55
    Member
    Posted 5 years ago #

    I am setting up a bibliography site. Each publication has multiple authors (custom field).
    I would like to show an index of all publications of each author. AZIndex only takes the first value of the custom field.
    Is there a way to solve this, i.e. using all values of the custom field?

  2. Ginocolada
    Member
    Posted 4 years ago #

    I guess this is what you'r looking for?

    <?php
    $songs = get_post_meta($post->ID, 'songs', false);
    ?>
    	<?php foreach($songs as $song) {
    			echo '<li>'.$song.'</li>';
    
    			} ?>
    	</ul>

    More here

    Have fun, I did!

    Gino

Topic Closed

This topic has been closed to new replies.

About this Topic