Linux 软件免费装
Banner图

WP jQuery Pager

开发者 ivycat
dgilfoy
sewmyheadon
更新时间 2013年2月24日 01:25
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

image gallery book browser magazine booklet pager page flipper

下载

1.4.0

详情介绍:

This plugin is a lightweight way to easily add an booklet to a page or post using the built-in WordPress gallery to upload and organize your booklet images/pages. This is a minimal plugin, function over form. If you would like to extend it, or would like us to extend it in later versions, please post feature suggestions in the plugin's support forum or contact us. Give us feedback and contribute to this plugin on its GitHub page.

安装:

The easiest way to install is from within WordPress using the Plugin/Add New feature, or if you wish to manually install:
  1. Download the plugin.
  2. Upload the entire wp-jquery-paged directory to your plugins folder.
  3. Click to Activate the plugin in your WordPress Dashboard's Plugin page.
How to add a pager to a page or post Currently there are a few ways to go about adding a pager to a post. The end goal is to use a shortcode that specifies the IDs of the images you'd like in your booklet, in order, similar to the following: [wp-jquery-paged ids="21,26,27"] If you happen to know the IDs of your images, you're all set to handcraft your shortcode and you can be on your way. If you don't know your image IDs, we'll show you how to get them in WordPress 3.5, along with a little cheat that can make constructing your shortcode a bit easier. Placing Your Shortcode Manually
  1. Browse to, or create the post in which you'd like to embed the booklet.
  2. Using WordPress's Media manager to upload your images. Click the Add Media button above the post.
  3. Upload all of the images you'd like to show in your booklet.
  4. In the WordPress editor, place in your shortcode.
  5. Save the post.
  6. View the post to make sure your booklet is loading as expected.
Finding Image IDs in WordPress 3.5
  1. After you've uploaded media, visit the media gallery in the WordPress Dashboard. You can do this by either clicking Media/Library in WordPress main navigation, or by clicking the Add Media button when viewing a page or post.
  2. Click on the image you want. The sidebar with Gallery Settings will pop up on the right side.
  3. Hover your mouse over the Edit Image link.
  4. Look in your browser's status bar for the link to the image. It might look something like: yourdomain.com/wp-admin/post.php?post=21&action=edit&image-editor
  5. Find the post number (in the above case, the '21') - that's your image ID.
Placing Your Shortcode - Cheat
  1. Follow steps 1 through 3 above in Placing Your Shortcode Manually
  2. Click the Create Gallery link in the upper left of the Insert Media screen.
  3. Click on each image that will comprise your booklet.
  4. Click the Create Gallery button. This will take to Edit Gallery where you can edit the gallery order.
  5. If needed, drag and drop your images to match the order you'd like them to appear in your booklet.
  6. Once you've got your images uploaded and ordered, click the Insert Gallery button. This will insert a normal WordPress gallery into your post.
  7. In the WordPress editor, switch to HTML view. You'll see the shortcode generated by the gallery. It should look something like [gallery ids="21,26,27"]
  8. In this shortcode, change the word gallery to wp-jquery-paged. Now your shortcode should look more like [wp-jquery-paged ids="21,26,27"]
  9. Save your post.
  10. View the post to make sure your booklet is loading as expected.

屏幕截图:

  • Here's the plugin in action.
  • Clicking the page or forward button will flip the page.
  • Finding your image ID in WordPress 3.5

升级注意事项:

1.4.0
  • Critical update if you wish to create new galleries in WordPress 3.5.x
1.02 If version 1.01 isn't working for you, upgrade to 1.02. 1.01 No critical updates; just housekeeping.

常见问题:

Your instructions are tailored for WordPress 3.5+, does the plugin still work with 3.4?

Yes, it's backwards compatible. In WP 3.4, you can assign the images an order to control their order, or you can simply specify their order in the shortcode per installation instructions! Oh, and why the heck don't you upgrade to WordPress 3.5 already?

Can I upload PDFs instead of images

You can, but it won't work. :) The 'pages' of your booklet are comprised of ordered images only.

Will you add X feature?

Maybe. Let us know how you think we can improve the plugin by posting your suggestions in the plugin's support forum.

更新日志:

1.4.0 1.03 1.02 1.01