WP/LR Extensions

Extensions are the glue between WP/LR Sync and gallery plugins or the themes. However, you don’t need those extensions if you are only synchronizing with the Media Library. Make sure you also read the introduction on the main page of WP/LR Sync before reading this.

The extensions are available in your admin in WP/LR Sync > Extensions. You will see a screen that looks like the one below.

Extensions

In the screen above, the Post Type internal extension has been checked. Notice the message at the top of the screen. This extension is loaded and working. Extensions can also automatically be created and loaded by a theme or another plugin, in that case that message will also display that information.

Select one (or more) extension(s) and click Save Changes. Then click on Resync with Extensions. WP/LR Sync will share all the information (about the collections, folders, keywords and so on) to this extension and everything you need will be automatically created. Then, from now on, everything will be kept in sync through those extensions as well.

I noticed a few of my users were selecting all the extensions. Please note that you don’t need any extension at all for WP/LR Sync to work, you only need it if you want something more than just synchronizing with your Media Library. And if you do, you probably need one extension, and this extension is often Post Types.

An extension can add a menu to your WP/LR Sync menu so make sure you check it out. In the case of the Post Types extension (which is a powerful one), there is a new menu. Check the options for it. There is also a little presentation of this extension here.

Not happy with an extension? You can Reset with Extensions to remove all the data created by this extension, switch to another one, save, then Resync with Extensions again. It is very easy to switch between extensions (and therefore, to switch between themes or gallery plugins) with WP/LR Sync. That way, you can also test and play as many themes are you want without having to re-create everything by yourself.

Once you are happy with an extension, just forget about WP/LR Sync. It will keep your WordPress synchronized with your Lightroom naturally.

Internal Extensions are the ones directly available in the plugin. External Extensions are the one developed outside (which also means you can make your own one) and they support specific plugins and themes.

Internal Extensions

Post Types

This extension allows you to link and sync:

  • a LR collection to a WP post type (for example: post, page, product, gallery, portfolio, etc…)
  • a LR folder/set to a WP taxonomy (for example: category, tag, album, product type, etc…)
  • a LR keyword to a WP taxonomy

With this extension, you will be basically able to sync most themes’ post types and taxonomies automatically. That taxonomies can create those post types / taxonomies and even re-use existing ones.

Basic Collections

This extension creates a new post type called Collection. Your collections and sets will be replicated in in WP with the same hierarchy. The title will be be kept synchronized the one you are using in LR. This extension is quite simple and is meant to be used as an example. You can look at its code and adapt it to your needs.

External Extensions

I don’t keep track of all external extensions but some people sometimes ask me for those.

  • WP Media Folder: This plugin is useful to browse your photos more easily. It basically create virtual folders and let you organize your Media Library. The plugin is on Joomunited.com. Extension is available on GitHub.
  • NextGen: Popular (but really ancient / not recommended) gallery plugin. The extension is available on GitHub. This extension might require additional coding, in that case contact the NextGen team.
  • Photo Gallery: I am not sure the extension is working but the code for it is on GitHub. Feel free to hack on it.
  • CosmoThemes: The extension has been tested with the Tripod, Photomarkt and Triablo themes from CosmoThemes. Extension available on GitHub.
  • Pexeto: The extension has been tested with the Expression, Photolux and Story themes from Pexeto. Extension available on GitHub.

A few more things

I recommend you to use the gallery system shipped with the themes and/or in general to use the simple gallery shortcode available in WP instead of gallery plugins (avoid especially heavy un-interchangeable plugin such as NextGen). They have a tendency to do too much, not very well and before you know it you are stuck forever with something that is slow and not good. Keep things simple and clean.

You can create your own extension based on those previous ones. If you are a developer, it can be a lot of fun 🙂

I like to collaborate with other developers to make things even more compatible. Today, WP/LR Sync is very mature and perfectly stable but of course, there is always room for improvement. Let me know if anything crosses your mind. I’ll be always here to help and make things better.

I recommend you to use WPEngine or SiteGround. They are both excellent hosting services and work perfectly with all my plugins.