• Hi,

    I’ve been going at this for the last couple of hours. Maybe someone here can help me?

    I want to show specif posts from a custom taxonomy in a loop.
    This is the situation:

    – custom taxonomy: feestlocaties
    – And the the posts i want to show have Amsterdam selected (checked) (like categories).

    Code i tried:

    <?php  $args=array(
        'taxonomy' => 'feestlocaties',
        'terms' => array('Amsterdam'),
        'field' => 'slug',
        'orderby'=> 'rand',
        );
    ?>

    But nothing is showing. Any help would be great. Thanks!

The topic ‘Show posts from custom taxonomy’ is closed to new replies.