Close

Layers Help & Support

Layers 2.0.10 Update

Layers 2.0.10 Update

Removing the Envato Marketplace listings.

  • Fixed Image Ratio button in the Post widget
  • Removed redundant Envato Market listings

UPDATE LAYERS View on GitHub

WooCommerce: After updating to 3.0 Product Lightbox is Not Working

Troubleshooting  Since: 1.6.6 Last Updated: Time to Read: Less than a minute

WooCommerce removed their former lightbox in 3.0 and added new functionality that must be enabled in your theme specifically. If you use StoreKit, please update it to the latest version to restore the lightbox function.

  1. Ensure you have the latest Layers version
  2. Update StoreKit
  3. If you do not use StoreKit, update functions:

Note, the below fix is intended for custom child themes or as a temporary solution for users of Layers 1.6.6. Do not implement this code in commercial child themes.

  1. Go to Appearance > Editor
  2. Click Theme Functions on the right
  3. Scroll to the bottom and place your cursor at the very end of the existing content and hit enter once to add a new blank line. No brackets or content should be below or after your cursor.
    • This is extremely important!
  4. Copy and paste the following:

5. Click Update File

6. The lightbox icon should now appear on your product post once refreshed.

Did you know?

Our friends at Jetpack are doing some incredible work to improve the WordPress experience. Check out Jetpack and improve your site's security, speed and reliability.

Jetpack