Awesome plugin! Thrilled with how easy it is to use.
<?php /* Template Name: Archive page */ ?> <?php $posts_to_show = 1000; //Max number of articles to display $debut = 0; //The first article to be displayed ?> <?php while(have_posts()) : the_post(); ?> <h2><?php the_title(); ?></h2> <ul> <?php $myposts = get_posts( "numberposts=$posts_to_show&offset=$debut" ); foreach($myposts as $post) : ?> <li><?php the_time('d/m/y') ?>: <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?> </ul> <?php endwhile; ?>
I have discovered that using UCE to exclude a category from the home page results in also excluding it from this custom archives page. I can’t figure out why.
Not a big deal and totally not your problem, but figured I’d mention it in case there is an easy solution.
- The topic ‘Exclusion from home page results in exclusion from custom archives page’ is closed to new replies.