0
我试图打印与此代码的类别,它不断打印数组?打印类别打印数组?
<?php $posts = get_posts('category=1&orderby=desc'); foreach($posts as $post) { ?>
<a href="<?php the_permalink() ?>" target="_parent"><?php the_title(); ?></a><br /><?php print(get_the_category($id)); ?>
<?php } ?>
谢谢...