
內容簡介
這個外掛可以利用短碼和自訂文章,在你的 WordPress 網站的投影集/畫廊項目的說明文字中添加多個美觀響應式的滑鼠懸停效果。
使用方式:
以下是使用者手冊的逐步說明:
安裝外掛(請查看「安裝」部分中的說明)。
在你的 WordPress 儀表板中找到自訂文章「Hover Captions」,並點擊它的子選單:新增。
在文章的「標題」欄中輸入項目的標題。在內容方塊中寫下描述。在「特色圖片」框中添加圖片(建議圖片大小為400像素寬和300像素高)。通過添加名為「作者」的自訂欄位,你也可以添加作者的名字或副標題。
使用以下短碼來在 WordPress 網站的任何地方顯示所有懸停效果的投影集項目/畫廊項目。
[caption-hover]
你可以通過使用短碼的「show」屬性來控制顯示多少項目。默認情況下,它顯示所有項目。例如:
[caption-hover show="5"]
你可以通過使用短碼的「category」屬性來對項目進行分類。(請確保你在短碼中以大小寫和空格相同的方式輸入分類名稱。)默認情況下,它顯示所有項目。例如:
[caption-hover category="fish"]
外掛標籤
開發者團隊
原文外掛簡介
This plugin will add multiple awesome responsive hover effects for the captions of your portfolio/ gallery items in your WordPress site using shortcodes and custom post.
Usage:
Here’s a step by step user manual:
Install the plugin. (Find the instructions in the “Installation” section.)
Find the custom post “Hover Captions” in your WordPress dashboard and click on it’s submenu: Add New.
Put the title of the item in the “Title” field of the post. Write your description in the content box. Add the image in the “featured image” box (preferred image size: 400px width and 300px height). You can add the author’s name or a sub heading too, by adding a custom field named “author”.
Use the following shortcode to show all your hover effect portfolio items/gallery items anywhere in your WordPress site.
[caption-hover]
5. You can control how many items to be shown by using the “show” attribute of our shortcode. By default, it shows all the items. Example:
[caption-hover show="5"]
6. You can categorize the items by using the “category” attribute of our shortcode. (Make sure you type the category name exactly the same in the shortcode, including caps and spaces.) By default, it shows all the items. Example:
[caption-hover category="fish"]
