Aquesta extensió no s'ha actualitzat en 2 anys. Possiblement ningú hi està treballant i, per tant, pot ser que apareguin problemes de compatibilitat quan es faci servir en versions més recents del WordPress.

Simple Pagination

Descripció

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

Captures

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

Instal·lació

  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();
} ?>

PMF

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

Col·laboradors i desenvolupadors

"Simple Pagination" és programari de codi obert. La següent gent ha contribuït en aquesta extensió.

Contribuïdors

Tradueix “Simple Pagination” a la teva llengua.

Interessats en el desenvolupament?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registre de canvis

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.