If you’re using the WordPress page builder Visual Composer, you can add WooThumbs to your store easily using the Text Block element. In this guide, we’ll show you how.
To a WooThumbs gallery into your Visual Composer layout take the following steps:
- When editing your product page, click the Visual Composer button under the product name.
- Select a Text Block element on the left-hand side of your screen. If you can’t find it, type ‘text block’ into the search bar.
- Then, enter the
[woothumbs-gallery]shortcode into the content area of the Text Block element. By default, this shortcode will display the gallery for the current page. If you want to specify a specific product, use
[woothumbs-gallery id="42"], where
idis the ID of your product.
- Click the update tick icon on the bottom left and the WooThumbs gallery will be added to your product page.
You can use this same technique on any page in your site, just make sure to add the product ID to make sure the right gallery shows.