Linux 软件免费装
Banner图

pagebar

开发者 Lutz Schroeer
更新时间 2017年4月21日 21:15
捐献地址: 去捐款
PHP版本: 3.3 及以上
WordPress版本: 4.7.4

标签

page comments navigation navi

下载

pagebar133 pagebar252 pagebar200 pagebar201 pagebar215 pagebar216 pagebar217 pagebar218 pagebar219 pagebar220 pagebar221 pagebar250 pagebar251 pagebar253 pagebar257 pagebar258 pagebar259

详情介绍:

Pagebar adds a nice page bar to your blog posts, multipaged posts and paged comments:

安装:

+Manual installation If the automatic insertion is not suitable for your blog because your theme has more than one posting loop you can add postbar manually to your blog by editing some of your themes files. Simply add the following code directly behind The Loop in your index.php and search.php: if (function_exists('postbar')) postbar(); Of course you may want to configure postbar to your needs using the option page and by editing the pagebar.css style file. wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); (The code does not have to look necessarily exactly the same, this example is from the WordPress default theme.) Then you can add the multipagebar to your pages: if (function_exists('multipagebar')) multipagebar(); You can customize the display of your multipagebar by editing the settings in the Multipagebar tab on the pagebar option page. * Adding pagebar to your paged comments This pagebar can not be added automatically (there is no action indicating the end of the comment loop) so you have to edit the file "comments.php". If your theme contains the standard navigation for paged comments you first have to delete the following code: (The code does not have to look necessarily exactly the same, this example is from the WordPress default theme.) Then you can add the commentbar to your pages: if (function_exists('commentbar')) commentbar(); pagebar v2.5+ introduces a new database structure for its settings. Formerly there was only one entry in "wp_options" called "pagebar". Since there are now three different pagebars ("postbar", "commentbar" and "multipagebar"), the options are splitted into three entries ("postbar", "commentbar" and "multipagebar" respectively). After installation (either through WordPress update or manually per FTP) pagebar copies the settings stored in "pagebar" to the new "postbar" entry and sets "commentbar" and "multipagebar" to inherit the settings so everything should look fine without manual interference. The "commentbar" and "multipagebar" have to be installed manually though.

更新日志:

2.61 2.60.1 2.60 2.59.1 2.59 2.58 2.57 2.56 2.55 2.54 2.53 2.52 *fixed: non administrators could change settings 2.51 2.50 2.21 2.20 2.19 2.18 2.17 2.16 2.15 2.01 2p4 2p3 2p2 2p1 1.3.2 1.3.1a 1.3.1 1.3 1.2 1.1.1 1.1 1.0