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.

WP Page Numbers

Beskrivning

User friendly navigation

With page numbers instead of next and previous links users can easily navigate much quicker to the page they want. It is good for SEO (Search Engine Optimization) as well, because it creates a tighter inner link structure. Works with all well known browsers (Internet Explorer, Firefox, Opera and Safari).

Updates 0.5

  • Fixed bug with page numbers disappearing

Updates 0.4

  • Added optional start and end code link wp_page_numbers($start, $end)
  • Changed get_bloginfo(url) to get_bloginfo(wpurl)

Updates 0.3

  • Changed get_settings (deprecated) to get_bloginfo (bugfix)
  • Added missing echos, which should fix the URLs to the preview images in admin
  • Fixed 0 … 1 problem by checking if the page is front page or archive

Updates 0.2

  • 5 page numbers themes – See screenshots for a preview!
  • Put some ”reset”-code in the themes to make it look the same on all themes

Settings / Options

  • Custom texts and arrows
  • Maximum number of pages to show at the same time
  • Custom stylesheet folder (else default is used)
  • Turn stylesheet off
  • Turn off page information (page 3 of 5)
  • Turn off next and previous page
  • Turn off the first and end page numbers
  • Turn off the numbers

Live demo (at the bottom)!

Skärmdumpar

  • This is what the page numbers looks like in default mode.

Installation

  1. Upload the FOLDER ’wp-page-numbers’ to the /wp-content/plugins/
  2. Activate the plugin ’WP Page Numbers’ through the ’Plugins’ menu in admin
  3. Go to ’Options’ or ’Settings’ and then ’WP Page Numbers’ to change the options

Usage

Replace the the ’next_posts_link()’ and ’previous_posts_link()’ with the code below in your theme (archive.php, index.php or search.php).

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

Vanliga frågor

Installation Instructions
  1. Upload the FOLDER ’wp-page-numbers’ to the /wp-content/plugins/
  2. Activate the plugin ’WP Page Numbers’ through the ’Plugins’ menu in admin
  3. Go to ’Options’ or ’Settings’ and then ’WP Page Numbers’ to change the options

Usage

Replace the the ’next_posts_link()’ and ’previous_posts_link()’ with the code below in your theme (archive.php, index.php or search.php).

<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
Hur rapporterar jag en bugg?

Contact me here. Describe the problem as good as you can, your plugin version, WordPress version and possible conflicting plugins and so on.

How can I support this plugin?

Spread the word, report bugs and give med feedback.

Bidragsgivare och utvecklare

”WP Page Numbers” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Översätt ”WP Page Numbers” till ditt språk.

Intresserad av programutveckling?

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