Linux 软件免费装

Plugin Name

开发者 bltavares
更新时间 2011年1月22日 09:00
PHP版本: 2.0.2 及以上
WordPress版本: 2.1

标签

pages pagination wpquery

下载

详情介绍:

Dynamic paginator for WpQeuries. Generate your own loop with an easy paginator.

安装:

  1. Upload pgnator to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Create a PgNator
$pgnator = new Pgnator(); ou $pgnator = new Pgnator("path/to/your/own/style.css")
  1. Generate your queries using Pgnator
$posts = $pgnator->content("normal=arguments&like=WPQuerie"); ou $posts = $pgnator->content("SELECT * FROM wp_posts",true);
  1. Create your loop
while($posts) { $posts->the_post(); /// Create your own code ... /// }
  1. Generate page links
echo $pgnator->createMenu();
  1. Done

常见问题:

Where to get full description?

GitHub

更新日志:

0.6 0.5