SHARE
TWEET

Untitled

a guest Mar 18th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php elseif ( get_row_layout() == 'chefs_layout' ) : ?>
  2.             <?php $ = get_sub_field( '' ); ?>
  3.             <?php if ( $ ): ?>
  4.                 <?php foreach ( $ as $post ):  ?>
  5.                     <?php setup_postdata ( $post ); ?>
  6.                         <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  7.                 <?php endforeach; ?>
  8.             <?php wp_reset_postdata(); ?>
  9.             <?php endif; ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top