Wtyczka nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa. Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością z nowszymi wersjami WordPressa.

WP jQuery Pager

Opis

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.

Zrzuty ekranu

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

Instalacja

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.

Najczęściej zadawane pytania

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.

Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

Kontrybutorzy i deweloperzy

„WP jQuery Pager” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.

Zaangażowani

Rejestr zmian

1.4.0

  • Updated to work with WordPress 3.5’s slick new Media manager
  • Specify image order in shortcode

1.03

  • In output-view.php changed message seen if JavaScript is turned off.
  • Corrected filename conventions

1.02

  • Fixed bug causing pages not to load.

1.01

  • Updated readme.txt, plugin header.