[WordPress] 外掛分享: jqDock Post Thumbs

首頁外掛目錄 › jqDock Post Thumbs
10+
安裝啟用
尚無評分
5239 天前
最後更新
問題解決
WordPress 3.2.1+ v2.0 上架:2011-11-13

內容簡介

內容:

任何熟悉 Mac 的人都知道 Dock 是一組圖示,當滑鼠滑過時會展開。這個外掛程式使用 WordPress 文章縮圖來模仿這種行為,建立一組外觀引人注目的鏈接到任何文章或頁面的其他博客文章。在 2.0 版本中,它還可以用於創建圖像庫!

jqDock Post Thumbs 可用於顯示文章、頁面或自定義文章類型,前提是在當前主題中啟用了文章縮圖。它也可以用於顯示附加到當前文章的圖像,或者按帖子 ID。

使用方法

[jqdpostthumbs]

此短碼將創建一個帶有五個隨機文章縮圖鏈接的 Dock。

控制縮圖數量

[jqdpostthumbs qty="10"]

qty 選項可以設置為您喜歡的任何數字。您的頁面寬度將幫助您確定您的最大數量。作為參考點,沒有側邊欄的頁面在 qty="14" 時看起來很好。

顯示自定義文章類型

[jqdpostthumbs type="my-custom-post-type"]

type 選項可以設置為 page,或任何自定義文章類型的名稱。

隱藏文章標題(2.0 版本以來)

[jqdpostthumbs notitle="true"]

使用此短碼防止帖子標題出現在縮圖上。

控制帖子順序(2.0 版本以來)

[jqdpostthumbs order="ASC" orderby="title"]

使用這些選項控制帖子縮圖顯示的順序。 order 的唯一有效選擇是 ASC,預設值為 DESC。對於 orderby,您可以選擇:none、ID、author、title、date、modified、parent、comment_count、
或 menu_order;預設值為 rand。

顯示圖像庫(2.0 版本以來)

[jqdgallery]

顯示附加到當前文章的 5 張隨機圖像縮略圖,鏈接到全尺寸圖像。

控制縮圖數量

[jqdgallery qty="10"]

與帖子縮圖一樣,qty 選項可以設置為您喜歡的任何數字。您的頁面寬度將幫助您確定您的最大數量。作為參考點,沒有側邊欄的頁面在 qty="14" 時看起來很好。

顯示來自特定文章的圖像(2.0 版本以來)

[jqdgallery id="10"]

設置帖子 ID 以顯示附加到特定文章/頁面的圖像。默認為當前帖子/頁面。

隱藏圖像標題(2.0 版本以來)

[jqdgallery notitle="true"]

與帖子縮圖一樣,使用此短碼可防止圖像標題出現在縮圖上。

設置圖像鏈接屬性(2.0 版本以來)

[jqdgallery target="blank" class="my-class" rel="my-rel"]

如果您想將 jqDock 圖像庫與需要特殊的 class 或 rel 的 Lightbox 外掛結合使用,則此選項可能很有用。

關於此外掛程式

有關此外掛程式的更多信息,請訪問:http://mynewsitepreview.com/jqdpostthumbs/

要查看實時演示,請訪問:http://mynewsitepreview.com/jqdpostthumbs-wordpress-plugin-live-demo

關於 jqDock

jqDock,為此 WordPress 外掛提供動力,是一個由 Roger Barrett 開發和 Isaac Rocca 的「iconDock」插件啟發的神奇 jQuery 插件。

Do

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「jqDock Post Thumbs」→ 直接安裝(推薦)

原文外掛簡介

The Dock – as anyone familiar with a Mac knows – is a set of icons that expand when rolled over with the cursor. This plugin
mimics that behavior with WordPress post thumbnails, creating a visually-stunning set of links to other blog posts on any post
or page. New in version 2.0, it can also be used to create an image gallery!
jqDock Post Thumbs can be used to display posts, pages, or custom post types, provided post thumbnails are enabled in the current
theme. It can also be used to display images attached to the current post, or by post ID.
How To Use
[jqdpostthumbs]

This shortcode will create a Dock with five random post thumbnail links.
Control Number of Thumbnails
[jqdpostthumbs qty="10"]

The qty option can be set to any number you like. Your page width will help you determine your maximum. As a point of reference,
a page that is 850px wide with no sidebar looks good at qty="14".
Show Custom Post Type
[jqdpostthumbs type="my-custom-post-type"]

The type option can be set to page, or to the name of any custom post type.
Hide Post Titles (Since 2.0)
[jqdpostthumbs notitle="true"]

Prevent the title of the post from appearing over the thumbnail using this shortcode.
Control Order of Posts (Since 2.0)
[jqdpostthumbs order="ASC" orderby="title"]

Control the order in which post thumbnails are displayed using these options. The only valid choice for order is ASC;
default is DESC. For orderby, you can choose: none, ID, author, title, date, modified, parent, comment_count,
or menu_order; default is rand.
Show Image Gallery (Since 2.0)
[jqdgallery]

Show a random set of 5 image thumbnails attached to the current post, which link to the full size images.
Control Number of Thumbnails
[jqdgallery qty="10"]

Same as with post thumbnails, the qty option can be set to any number you like. Your page width will help you determine your
maximum. As a point of reference, a page that is 850px wide with no sidebar looks good at qty="14".
Show Images From Specific Post (Since 2.0)
[jqdgallery id="10"]

Set the post ID to show images attached to a specific post/page. Defaults to the current post/page.
Hide Image Titles (Since 2.0)
[jqdgallery notitle="true"]

Same as with post thumbnails, prevent the title of the image from appearing over the thumbnail using this shortcode.
Set Image Link Attributes (Since 2.0)
[jqdgallery target="blank" class="my-class" rel="my-rel"]

This may be useful if you want to combine jqDock Image Gallery with a Lightbox plugin that requires a special class or rel.
About This Plugin
For more information about this plugin, visit: http://mynewsitepreview.com/jqdpostthumbs/
To see a live demo, visit: http://mynewsitepreview.com/jqdpostthumbs-wordpress-plugin-live-demo
About jqDock
jqDock, which powers this WordPress plugin, is an awesome jQuery plugin developed by Roger Barrett and inspired by Isaac Rocca’s “iconDock” plugin.
Documentation for jqDock can be found at: http://www.wizzud.com/jqDock/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon