Make bootstrap 5.0 carousel dynamic using ACF and CPT UI [closed]

I found a solution: Make loop everywhere and increment i variable <!– Carousel from bootstrap–> <div id=”carouselBootStrap” class=”carousel slide” data-bs-ride=”carousel”> <?php $loop = new WP_Query(array(‘post_type’ => ‘slider_feature’, ‘orderby’ => ‘ID’, ‘order’ => ‘ASC’ )); ?> <?php if( $loop->have_posts()): $i = 0; ?> <ol class=”carousel-indicators”> <?php while ($loop->have_posts()): $loop->the_post(); ?> <li data-bs-target=”#carouselBootStrap” data-bs-slide-to=”<?php echo $i; ?>” … Read more

Bootstrap 4 Carosuel with ACF Repeater field

Did you check the Advanced Custom Fields documentation? You can check how the repeater fields work here: https://www.advancedcustomfields.com/resources/repeater/ You’ll see that you can do the following to show your ACF repeater images on the front-end: if ( have_rows(‘carousel_repeater’) ) : while ( have_rows(‘carousel_repeater’) ) : the_row(); $yourImage = get_sub_field(‘carosuel_image’); if ( $yourImage ) : echo … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)