damit zeigt er jetzt sogar etwas an:
Code: Alles auswählen
<div class="wpsg_mod_productindex_description"><?php echo $p['beschreibung']; $args = array (
// Post typ und postID
'post_type' => 'artikel',
'p' => 628,
);
// The Query
$the_query = new WP_Query( $args );
// The Loop
if ( $the_query->have_posts() ) {
while ( $the_query->have_posts() ) {
$the_query->the_post();
echo get_the_term_list( $post->ID, 'artikelnummer', 'Artikelnr: ', ', ', '' );
}
/* Restore original Post Data */
wp_reset_postdata();
} else {
echo 'Nothing found';
}
?>
</div>