Gallerix is a WordPress plugin that allows you easy and fast to create image galleries.
- Installation
From your Admin Panel go to Plugins -> Add New -> Upload -> Browse and pick the Gallerix archive file.
Click “Install Now” button.
Click “Active Now” after the plugin has been installed.
A new menu should now appear in your Admin Menu called “Gallerix”.
- Adding categories
From your Admin Panel go to Gallerix-> Categories -> Add Category.
Enter category name and click “Save Changes”.
- Adding Images
From your Admin Panel go to Gallerix -> Images.
You will see a list with categories you have created and button to the right “Add image to this category”.
Add the image details and click Save Changes.
- Displaying the plugin on the front-end.
The plugin uses the shortcode [gallerix] to display the front-end content.
From your Admin Panel create new Page or Post and type [gallerix].
If you want to call it directly through “do_shortcode” use: <?php echo do_shortcode(“[gallerix]”); ?>
Note:
If you intend to call the shortcode with “echo do_shortcode(“[gallerix]”);” make sure you have loaded the scripts first by using:
<?php Gallerix::enqueue_scripts(); ?>
Shortcode examples:
[gallerix cat="1,2,3" defaultcat="1"]
- cat – Category ids to display separated by commas (optional)
- defaultcat – The id of the category to display as a default (optional)
Shortcode default usage:
[gallerix]
Please note the images used in this preview are for demo purpose only and are not included in the package!