Skip to content

Instantly share code, notes, and snippets.

View anthonyfajardo's full-sized avatar

Anthony Fajardo anthonyfajardo

View GitHub Profile
@anthonyfajardo
anthonyfajardo / gist:05aabe66400ad28935a35991b537268e
Created March 9, 2018 20:11
Bootstrap 4 Carousel on WordPress ACF Pro Gallery
<?php
/* FRONT-PAGE SLIDER WITH ACF GALLERY AND BOOTSTRAP 4 CAROUSEL */
$images = get_field('banner_images');
$count=0;
$count1=0;
if($images) : ?>
<div id="slider">