Linux 软件免费装
Banner图

Page navi slider

开发者 Iznogood1
stranger-jp
Erida
StepanovM
更新时间 2021年11月12日 18:14
PHP版本: 2.7 及以上
WordPress版本: 5.8.1
版权: GPLv2 or later
版权网址: 版权信息

标签

pages responsive slider jQuery navigation pagination paging pagenavi touch jQuery ui

下载

1.2.1 1.3.5 1.3.4 1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.2 1.0 1.0.1 1.1 1.1.1

详情介绍:

Unsatisfied by the most common navigation plugins? Need a cool one, fully and easyly customizable with direct preview in setting page... Want an actually responsive plugin... Just get it! This plugin generates cool pagination links

安装:

You can either install it automatically from the WordPress admin, or do it manually.
  1. Unzip the archive and put the page-navi-slider folder into your plugins folder (/wp-content/plugins/)
  2. Activate the plugin through the Plugins menu in WordPress
  3. Keep defaults settings or customize and preview through the Setting / Page navi slider menu
  4. Place <?php if(function_exists('page_navi_slider')){page_navi_slider();}?> in your templates.
  5. Or activate the auto display feature in the settings (not recommanded).

屏幕截图:

  • Standard settings
  • Rounded pages
  • Gradient background
  • Preview options
  • General settings
  • Caption
  • Step by step font definition
  • Easy colors settings
  • Easy borders definition
  • Autodisplay

升级注意事项:

1.2.2
  • Just update
1.2.1
  • Just update
1.2
  • Update
  • Check fonts setttings
1.1.1
  • Deactivate
  • Update
  • Reactivate
1.1
  • DEACTIVATE previous version in order to keep your settings.
  • Download, install and reactivate.
  • Unfortunately, some settings are losts! Check fonts and colors. This will be improved in the next release.
1.0.1 Just upgrade and check your settings (page numbers width can now be set up).

常见问题:

Where must I insert the code?

Page navi slider is displayed by the following instruction : <?php if(function_exists('page_navi_slider')){page_navi_slider();}?> You should think to insert that code in every templates likely to display several pages:

  • index.php
  • category.php
  • tag.php
  • search.php
  • pages.php...
Example : In the twentythirteen theme, file index.php, replace the line 28 (<?php twentythirteen_paging_nav(); ?>) by the code above. In the twentytwelve theme, replace both the following lines: <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">?</span> Older posts', 'twentyten' ) ); ?></div> <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">?</span>', 'twentyten' ) ); ?></div>

Page numbers are displayed. But not the slider!

The slider does appear only when page numbers exceed the plugin width! Look at the following FAQ to reduce the plugin width.

How to set the plugin width?

Just set the margin in the settings.

  • e.g. : 1em 20% -> top and bottom margins of 1em / left and right margins of 20%
  • e.g. : 10px 50px 10px 0 -> top margin of 10px / right margin of 50 px / right margin of 10px / no bottom margin
You can also define a width or max-width for the wpns_wrapper class in the CSS.

Why do page numbers move when I hover them?

You have specified different font sizes for "normal" numbers and "on hover" numbers in the settings. Then total width is changing.

I have a multilingual site - How do I localize the caption text?

  1. Just copy your customized caption in the 'you_strings_to_translate.php' file as follow : $a=__('you cusomized string','page-navi-slider');
  2. Copy the /lang/page-navi-slider-fr_FR.mo to /lang/page-navi-slider-ISOSTANDARD.mo (ISOSTANDARD = language code)
  3. Open it with PoEdit, Update, find your customized string, translate, Validate and Save!
You can just translate you customized caption and let the other strings empty as they are only used in the setting panel. But if you want to translate all the strings, share your file!

How does the Auto Display work?

Auto display adds an action that will echo the plugin. The action can be hooked at the get_footer event or at the wp-footer event. If the first case, the plugin is displayed at the top of the footer. If the second, the plugin is displayed at the end top of the footer. Note that Wordpress recommends plugins not to echo with theses actions!

How to use icons as page number background?

  1. Save your icons files in /wp-content/plugins/page-navi-slider/style
  2. In the settings, set the background colors (for page and/or current and/or on hover) to url('your_file.ext')
Of course change your_file.ext to the actual file name.

更新日志:

1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.1 1.3 1.2.2 1.2.1 1.2 1.1.1 1.1 Unfortunately, some settings are lost! Check fonts and colors.This will be improved in the next release. 1.0.1 1.0