[WordPress] 外掛分享: Pagebar2

首頁外掛目錄 › Pagebar2
WordPress 外掛 Pagebar2 的封面圖片
1,000+
安裝啟用
★★★☆☆
3.7/5 分(3 則評價)
1327 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v2.70 上架:2007-01-15

內容簡介

Pagebar 將漂亮的頁面條添加到你的博客文章、多頁文章和頁面留言中:

功能

可選自動插入所有文章頁面的頁面 (部落格、搜尋、標籤等等)
通過手動將頁面條插入模板來完全控制頁面條。
更好的多頁文章和頁面分頁
用於多頁文章的「顯示全部」鏈接。
非常可定制。

選項頁面

選項頁面分為三個選項卡 (postbar、multipagebar、commentbar),分別用於三種不同的頁面條類型。你需要在你的瀏覽器中啟用 Javascript 才能使用選項頁面! 它們共享一些基本設置,並有一些特定設置,下一章將加以解釋。

— 共享基本設置 —


顯示在酒吧左側的連結數量。如果這個數字是 0,就完全不顯示左連結。

中間
顯示在酒吧中間的鏈接數量。應該是奇數。如果輸入偶數,頁面欄會顯示比輸入多一個的鏈接。如果這個數字是 0,就完全不顯示左側鏈接。

+ 右
顯示在酒吧右側的連結數量。如果這個數字是 0,就完全不顯示右連結。

引領的文字
在酒吧前顯示的文字。在文本之後自動添加一個空格。在這個字段中,您可以使用令牌。

標準頁面
在當前頁面之外的所有頁面上顯示的文本。您可以使用代幣。

當前頁面
顯示在當前頁面上的文本。您可以使用代幣。

第一頁
要顯示的第一頁的文字。

最後一頁
要顯示的最後一頁的文字。

連接器
左/中和中/右區域之間顯示的文字。如果空置,“…” 網頁將被顯示。

上一頁
顯示上一頁鏈接的文本。如果空置,“<” 網頁將被顯示。您還可以定義上一頁鏈接始終顯示、永不顯示或自動完成的方式。

下一頁
顯示下一頁鏈接的文本。如果空置,“>” 網頁將被顯示。您還可以定義下一頁鏈接始終顯示、永不顯示或自動完成的方式。

工具提示文字
在工具提示中顯示的文本。您可以使用代幣。

顯示
實際顯示工具提示嗎?

樣式表
您可以在兩個地方定義必要的 CSS 定義:

在當前主題的 style.css 文件中
在當前主題目錄中的單獨文件中定義。可以在此處定義文件名。

— 特定的頁面條設置 —

自動插入
如果您希望自動在博客中插入 pagebar,您需要選擇此選項,並另外選擇插入 pagebar 的位置 (請參閱下一節)。

定位
如果您選擇了自動插入,則可以選擇插入 pagebar 的位置:

帖子前面的 -> 第一篇帖子之前的
在帖子後面 -> 在最後一篇帖子之後
頁腳 ->

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.70) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Pagebar2」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

Features

Optional automatic insertion if page on all post pages (blog, search, tags, …)
Full control of pagebar by manual insertion into the templates.
Better pagination for multipaged posts and pages
“Display all” link for multipaged posts.
Extremely customizable.

The option pages
The option page is devided into three tabs (postbar, multipagebar, commentbar) for the three different pagebar types. You need to have Javascript enabled in your browser for the option page to work! They all share some basic settings and got some specific settings, explained in the next chapters.
— Shared basic settings —

Left
Number of links displayed on the left of the bar. If this number is 0 no left links are displayed at all.

Center
The number of links displayed in the middle of the bar. This should be an odd number. If an even number is entered, pagebar will display one more link than entered. If this number is 0 no left links are displayed at all.

+Right
Number of links displayed on the right of the bar. if this number is 0 no right links are displayed at all.

Leading text
Text to be displayed in front of the bar. A space is automatically added after the text. You can use the tokens in this field.

Standard page
Text to be displayed on all pages but the current. You can use the tokens.

Current page
Text to be displayed on the current page. You can use the tokens.

First page
Text to be displayed for the first page.

Last page
Text to be displayed for the last page.

Connector
Text to be displayed between the left/center and center/right area. If left empty, “…” is displayed.

Previous
Text to be displayed for the link to the previous page. If left empty, “<” is displayed. You can additionally define if the Previous link is always displayed, never displayed or if it is done automatically. Next Text to be displayed for the link to the previous page. If left empty, “>” is displayed. You can additionally define if the Next link is always displayed, never displayed or if it is done automatically.

Tooltip text
Text to display in tooltips. You can use the tokens.

Display
Actually display tooltips?

Stylesheet
You can define the necessary CSS definitions in two places:

in the style.css file of the current theme
in a seperate file in the current theme’s directory. The name of the file can be defined here.

— Specific pagebar settings —

Automatic insertion
If you would like to get pagebar inserted in the blog automatically you need to select this option and additionally the position where to insert pagebar (see next section).

Positioning
If you have selected automatic insertion you can select where to insert the pagebar:

Front of postings -> Front of first posting
Behind postings -> After the last posting
Footer -> In the footer (footer.php)
(If “Automatic insertion” is not selected these options are disbled.)

Integration
You can remove the standard wordpress navigation manually or by setting the “remove old navigation” checkbox.
Remove standard navigation: Remove the standard navigation text of WordPress. This only works if the author of your currently used theme hasn’t changed the CSS class of the standard navigation (“.navigation” that is).
(If “Automatic insertion” is not selected these options are disabled.)

— Specific multipagebar settings —

Inherit settings
If you check this option all basic options will be inherited from the postbar settings. Additionally all these options are removed from the multipagebar settings tab.

All pages link
pagebar gives you the possibility to display all parts of a multipaged post. Checking this setting will add a link behind the pagebar allowing the user to display all parts.

All pages label
Text display for the “All pages link”.

— Specific commentbar options —
+Inherit settings
If you check this option all basic options will be inherited from the postbar settings. Additionally all these options are removed from the commentbar settings tab.
— Tokens —
Tokens can be used in any display area of pagebar. If it makes sense where you want to use it, you have to decide by yourself.
{page} -> Page number
{total} -> Total number of pages
{current} -> Current page number
Actions
Since v2.60 pagebar contains some actions: pagebar_before/pagebar_after, postbar_before/postbar_after, multipagebar_before/multipagebar_after,
commentbar_before/commentbar_after:
[pagebar_before]
“>
[postbar_before]
1 2 3 4 5 6 7 8 9
[postbar_after]
[pagebar_after]
Credits

Lester Chan for his initial idea for this plugin.
Lise of liseweb.fr for her French translation.
Michael Preuß for his ” rel = nofollow ” suggestion and for telling me not to include it!
Monika TS for making me aware of the multiple loops problem.
Mike of trash-wissen..de for pointing out the feed problem.
Joern of diekretschmars.de for his various comments and ideas.
Marco of mafia-daily.com for pointing out problem with theme editor.
Thomas (koehntopp.com) for his bug report on name collisions.
chipmint.com for the new default design
Borisa Djuraskovic for his Serbian translation
D. Schilling and B. Kau for their i18n support

延伸相關外掛

文章
Filter
Apply Filters
Mastodon