Support

Account

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!