Repeater Template Disappears
-
Hello,
My template code for my repeater template keeps getting deleted every few weeks. Here is my code:<?php $featured_image_vertical = get_field('featured_image_vertical'); ?> <?php $featured_image_horizontal = get_field('featured_image_horizontal'); ?> <div class="single-blog pl-lg-0 col-sm"> <a class="h-100" href="<?php the_permalink(); ?>"> <figure class="" style="background-position: <?php echo $featured_image_vertical; ?> <?php echo $featured_image_horizontal; ?>;background-image:url('<?php the_post_thumbnail_url(); ?>');"></figure> <div class="right-text"> <div class="category"> <?php get_template_part( 'template-parts/helpers/primary-category', 'helper' ); ?> </div> <h4><?php the_title(); ?></h4> </div> </a> </div>
And then every few weeks, this code is gone and it’s just blank. Why is this happening?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Repeater Template Disappears’ is closed to new replies.