• Hello All,
    I did a little hack to my index.php file so that i only show 3 most recent post on my homepage, but when i click the older post link it says “Apologies, but no results were found for the requested archive.”
    and it goes to the website/page/2/ address

    Don’t know what i did wrong. Can you all help me

    <?php query_posts('showposts=3'); global $more; $more = 0;
    if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <div id="post_title"><?php the_title(); ?></div>
    <div id="read_more"><?php get_the_content_limit(120, 'read more...'); ?></div>
    <?php endwhile; endif; ?>
    <?php twentyeleven_content_nav( 'nav-below' ); ?>
  • The topic ‘Older post link not working’ is closed to new replies.