• Hi All,

    I’m blogging at: http://www.soundofruins.net using the Ultralight theme.

    Unfortunately, the stripped-back theme does not include pagination functionality – creating pages for posts in sets of ten and including a previous/next link down the bottom of each page.

    It’s also missing any RSS feed that I can tell off – even though the theme comes with a default RSS link in the top right, when you try to add the url to a reader it says no feed exists.

    Now I’m quite new to coding, so I would appreciate any help – but just bare in mind I’m a bit of a newbie – I’ve copied in the index.php code below as I suspect that’s where I might be able to get pages somehow? The theme designer suggested this in the comments to the post linked about, but his solution did not work at all for me.

    Thanks so much for any assistance in advance, really hoping I can get this sorted out as I’ve spent so much time customising bits of the theme already it would suck to have to start anew with another one.

    Cheers!

    <?php
    /*
    Template Name: Index
    */
    ?>
    
    <?php get_header(); ?>
    
    		<!-- Maincontent start -->
    		<div id="maincontent">
    
    <?php query_posts("showposts=10&paged=$paged"); while (have_posts()) : the_post(); ?>
    			<div class="post">
    				<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent lenke til: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    
    				<?php the_content(''); ?>
    				<div class="postmeta">
    					<span class="left"><?php if (function_exists('the_tags')) the_tags('Tags: '); ?></span>
    					<span class="right"><?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'comments'); ?></span>
    				</div>
    			</div>
    <?php endwhile; ?>
    <?php if (is_paged()) : ?>
    			<div id="pagination" class="clear">
    				<span class="left"><?php posts_nav_link('','&laquo; Back','') ?></span>
    				<span class="right"><?php posts_nav_link('','','More &raquo;') ?></span>
    			</div>
    <?php endif; ?>
    
    		</div>
    		<!-- Maincontent end -->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
Viewing 1 replies (of 1 total)
  • Thread Starter lwsn

    (@lwsn)

    Sorry – I worked out the RSS issues – would still love help re pagination and previous/next buttons!

    Cheers.

Viewing 1 replies (of 1 total)
  • The topic ‘Incorporating previous/next links and RSS into theme’ is closed to new replies.