该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Kings Caption Hover

描述

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:

  1. Install the plugin. (Find the instructions in the “Installation” section.)
  2. Find the custom post “Hover Captions” in your WordPress dashboard and click on it’s submenu: Add New.
  3. 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”.
  4. 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"]

安装

This section describes how to install the plugin and get it working.

e.g.

Installing the plugins is just like installing other WordPress plugins. If you don’t know how to install plugins, please review the two options below:

  • Install by ZIP File
  1. From your WordPress dashboard, choose ‘Add New’ under the ‘Plugins’ category
  2. Select ‘Upload’ from the set of links at the top of the page (the second link)
  3. From here, browse for the zip file you downloaded ‘kings-caption-hover.zip’ and click the ‘Install Now’ button
  4. Once installation is complete, activate the plugin to enable its features.
  • Install by FTP
  1. Find the directory titled ‘kings-caption-hover’ and upload it and all files within to the plugins directory of your WordPress install (/WORDPRESS-DIRECTORY/wp-content/plugins/) [e.g. www.yourdomain.com/wp-content/plugins/]
  2. From your WordPress dashboard, choose ‘Installed Plugins’ option under the ‘Plugins’ category
  3. Locate the newly added plugin and click on the ‘Activate’ link to enable its features.

常见问题

How do I install the plugin

Installing this plugin is just like installing in other plugin. Please, check the “Installation” page for more details.

All posts are shown, I want to show only 6 of them, what should I do?

You can do this by adding a shortcode attribute named “show”. Please, refer to the “documentation” section for instructions.

Does this plugin have a short-code button in the TinyMCE Editor?

Currently this plugin doesn’t have a short-code button, you can copy the short-code example from documentation tab and use it as your like.

评价

此插件暂无评价。

贡献者及开发者

“Kings Caption Hover” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Kings Caption Hover”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial Release

1.1

  • Updated components to work on WordPress 4.0 and fixing a few bugs.

2.0

  • Introducing the “category” attribute of the shortcode, so that you can control which posts to show, which one’s not to show.