Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃

Chris Koerner ckoerner

🙃
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am ckoerner on github.
  • I am ckoerner (https://keybase.io/ckoerner) on keybase.
  • I have a public key whose fingerprint is E43E 0A19 48D0 D78C 3EBF D207 8B43 5372 88E8 979E

To claim this, I am signing this object:

View ACF Example 4
<div class="swiper-container">
<div class="swiper-wrapper">
<?php
// check if the repeater field has rows of data
if( have_rows('gallery_images') ):
// loop through the rows of data
while ( have_rows('gallery_images') ) : the_row(); ?>
<!--First Slide-->
View ACF Example 3
<h2>NOSH</h2>
<?php
// check if the repeater field has rows of data
if( have_rows('app') ):
// loop through the rows of data
while ( have_rows('app') ) : the_row(); ?>
<p><strong><?php the_sub_field('item'); ?></strong> <strong>{<?php the_sub_field('price');?>}</strong><br/>
View ACF Example 2
<div class="grid_6 spotlight project" style="background-color:<?php the_field('background_color'); ?>">
<a href="<?php the_permalink(); ?>">
<img src="<?php the_field( 'homepage_slider_image' ); ?>">
</a>
<h4>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h4>
<?php the_field( 'description'); ?>
View ACF Example 1
<?php
$args = array(
'post_type' => 'services'
);
$the_query = new WP_query( $args );
?>
<?php if ( have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post() ;?>
You can’t perform that action at this time.