4
People watching this product now!
GET NOTIFIED WHEN ITEM IS UPDATED
X
The Advanced Custom Fields Gallery Field Addon provides a simple and intuitive interface for managing a collection of images.
$2.41
The Advanced Custom Fields Gallery Field Addon provides a simple and intuitive interface for managing a collection of images.
Multiple images can be added, edited and sorted with ease!
The gallery field will return an array of image data. Each image is itself an array containing information such as title, alt, description, url and more.
This example will loop over the selected images and display a list of thumbnails which each link to the full size image
<?php
$images = get_field('gallery');
if( $images ): ?>
<ul>
<?php foreach( $images as $image ): ?>
<li>
<a href="<?php echo $image['url']; ?>">
<img src="<?php echo $image['sizes']['thumbnail']; ?>" alt="<?php echo $image['alt']; ?>" />
</a>
<p><?php echo $image['caption']; ?></p>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
The Gallery Field can be installed by purchasing a license for Advanced Custom Fields PRO. On payment, you will receive a receipt from Advanced Custom Fields PRO and a user account allowing access to your downloads. Once Advanced Custom Fields PRO is installed, enter your license key to enable plugin updates.
. - Product type | |
---|---|
. - License | |
. - Brands | |
. - Update |
1 YEAR UPDATES |
Only logged in customers who have purchased this product may leave a review.
No account yet?
Create an Account
Reviews
There are no reviews yet.