WordPress.org

Ready to get started?Download WordPress

Forums

WP-Paginate
pagination (3 posts)

  1. maicrompton
    Member
    Posted 2 years ago #

    Hi I have (WordPress paginate) plug in for pagination page, but tried to paste the code in the theme,did not work i use (Suffusion Options) theme can you tell me where to paste the code for this theme?

    hope to get answer soon.

    http://wordpress.org/extend/plugins/wp-paginate/

  2. Eric Martin
    Member
    Plugin Author

    Posted 2 years ago #

    It looks like you want to at least edit the custom\pagination-posts.php file:

    Change:

    <?php
    	}
    	else {
    ?>
    	<div class="page-nav fix">
    		<span class="previous-entries"><?php next_posts_link('<span class="icon">&nbsp;</span>'.__('Older Entries', 'suffusion')); ?></span>
    		<span class="next-entries"><?php previous_posts_link('<span class="icon">&nbsp;</span>'.__('Newer Entries', 'suffusion')); ?></span>
    	</div><!-- page nav -->
    <?php
    	}
    }
    ?>

    To:

    <?php
    	}
    	else if (function_exists("wp_paginate")) {
    		wp_paginate('before=<div class="page-nav fix">');
    	}
    	else {
    ?>
    	<div class="page-nav fix">
    		<span class="previous-entries"><?php next_posts_link('<span class="icon">&nbsp;</span>'.__('Older Entries', 'suffusion')); ?></span>
    		<span class="next-entries"><?php previous_posts_link('<span class="icon">&nbsp;</span>'.__('Newer Entries', 'suffusion')); ?></span>
    	</div><!-- page nav -->
    <?php
    	}
    }
    ?>
  3. maicrompton
    Member
    Posted 2 years ago #

    My website is: http://www.maistore.co.uk ,I have done what you told swap the code in pagination-posts.php file still did not work

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic