Bir tane page_template oluşturun.
Şu yapı ile her kategorinin arşivinden son 5 yazıyı alabilirsiniz.
$catQuery = $wpdb->get_results("SELECT * FROM $wpdb->terms AS wterms INNER JOIN $wpdb->term_taxonomy AS wtaxonomy ON ( wterms.term_id = wtaxonomy.term_id ) WHERE wtaxonomy.taxonomy = 'category' AND wtaxonomy.parent = 0 AND wtaxonomy.count > 0");
$catCounter = 0;
foreach ($catQuery as $category) {
$catCounter++;
$catStyle = '';
if (is_int($catCounter / 2)) $catStyle = ' class="catAlt"';
$catLink = get_category_link($category->term_id);
echo ''.$category->name.'
';
echo '';
query_posts('cat='.$category->term_id.'&showposts=5');?>
- More name; ?>