Publishing Galleries

Method 1: Using Shortcodes

Shortcodes are special placeholders, which you can paste into the WordPress text editor when editing posts and pages. They will be automatically replaced with the appropriate content on your front-end pages. Shortcodes are one of the most commonly used methods of inserting contents to your site.

Editor helper Utility

We've also added a small utility to the WordPress text editor toolbar. It will pop up a modal window with Galleries. Click onto gallery and it will be into the editor. See the illustrations below.

Illustration of using shortcodes in WP Post and Pages
Illustration of using shortcodes in WP Post and Pages

Illustration of using WOW Gallery ediyot Utility
Illustration of using WOW Gallery ediyot Utility

Method 2: PHP function

Because a gallery can be an integral part of your site, you may want to insert it dynamically from the template files. There is a PHP function to do that.

  • wow_gallery(10) - displays gallery with id = 10.
  • wow_gallery(false 'girls') - displays gallery with gallery name = girls.
  • wow_gallery(10, false, true) - return gallery markup.