Home › Forums › Backend Issues (wp-admin) › Using ACF with the Genesis Framework › Reply To: Using ACF with the Genesis Framework
Hey mediawerk
I changed the code to:
<article itemtype=”http://schema.org/CreativeWork” itemscope=”itemscope” class=”post-<?php print $pageid; ?> page type-page status-publish entry”>
<div class=”entry-content” itemprop=”text”>
<div class=”movie-content”>
<?php if(have_posts()) : while(have_posts()) : the_post();
/* Custom meta boxes */
echo ‘<div class=”intro-tekst”> ‘ . get_field(‘intro_tekst’) . ‘ </div>';
echo ‘<div class=”images”> ‘ . get_field(‘images’) . ‘ </div>';
echo ‘<div class=”trailer”> ‘ . get_field(‘trailer’) . ‘ </div>';
echo ‘<div class=”teknisk-info”> ‘ . get_field(‘teknisk_info’) . ‘ </div>';
echo ‘<div class=”synopsis”> ‘ . get_field(‘synopsis’) . ‘ </div>';
endwhile; endif;
?>
</div></div></article>
It seems to work just fine.
Why use schema? I thought Genesis has this built in?
Thanks for adjusting!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.