Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Simple Pagination

Beskrivning

Simple Pagination allows to set up an advanced pagination for posts and comments. You have an easier navigation on your WordPress.

Simple Pagination has 6 stylesheets for the pagination : CSS 3, Flickr, Digg, Sabrus.us, Green and Grey

Translation: English, French

Skärmdumpar

  • Default appearance
  • Admin Section : Texts for navigation links
  • Admin Section : HTML/CSS Advanced Settings
  • Admin Section : Posts Advanced Settings
  • Help Section

Installation

  1. Upload the complete simple-pagination folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Go to ’Simple Pagination’ under the ’Settings’ tab and configure the plugin

Usage for posts

In your theme, open the theme files where you’d like pagination to be used.
You need to find calls to next_posts_link() and previous_posts_link() and replace them.

Usually this is the loop.php file.

You would replace those two lines with this:

<?php if(function_exists('wp_simple_pagination')) {
    wp_simple_pagination();
} ?> 

Usage for comments

In your theme, open the theme files where you’d like pagination to be used.
You need to find calls to next_comments_link() and previous_comments_link() and replace them.

Usually this is the comments.php file.

You would replace those two lines with this:

<?php if(function_exists('wp_simple_comments_pagination')) {
    wp_simple_comments_pagination();
} ?>

Vanliga frågor

Installation Instructions
  1. Upload the complete simple-pagination folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Go to ’Simple Pagination’ under the ’Settings’ tab and configure the plugin

Usage for posts

In your theme, open the theme files where you’d like pagination to be used.
You need to find calls to next_posts_link() and previous_posts_link() and replace them.

Usually this is the loop.php file.

You would replace those two lines with this:

<?php if(function_exists('wp_simple_pagination')) {
    wp_simple_pagination();
} ?> 

Usage for comments

In your theme, open the theme files where you’d like pagination to be used.
You need to find calls to next_comments_link() and previous_comments_link() and replace them.

Usually this is the comments.php file.

You would replace those two lines with this:

<?php if(function_exists('wp_simple_comments_pagination')) {
    wp_simple_comments_pagination();
} ?>
How to change the css of Simple Pagination with my own css file?

You can uncheck the ”Simple Pagination CSS file” option from the settings page and add your own styles to your theme’s style.css

Bidragsgivare och utvecklare

”Simple Pagination” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Simple Pagination” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

2.1.7

  • Fixed 7 PHP errors notices

2.1.6

  • Fixed bug with URL pagination between 10 to 19

2.1.5

  • Fixed double // in CSS file URL
  • Fixed Notice: Undefined variable: dots in /wp-content/plugins/simple-pagination/simple-pagination.php on line 874

2.1.4.1

  • Fixed stupid error with Plugin URI

2.1.4

  • Fixed bug when URL contains $_GET variables
  • Fixed all PHP notices errors
  • The options aren’t removed when disabling the plugin, it’s only if the plugin is deleted

2.1.3

  • Fixed a bug with duplicate content on the first page

2.1.2

  • Fixed a bug when you do a search with multiple words

2.1.1

  • Fixed a bug for the pagination render
  • Tested on WordPress 3.3.1

2.1

  • Add option : ”Always Show Page Navigation”

2.0

  • Add function wp_simple_comments_pagination()

1.0.3

  • Fixed a bug for search results.

1.0.2

  • Add 2 new stylesheets.

1.0.1

  • Fixed a bug for configuration with no permalink.

1.0

  • Initial release.