Support

Account

Home Forums General Issues Getting ACF to work with Pagelines DMS Reply To: Getting ACF to work with Pagelines DMS

  • Here is the code that is as far as I could get. Still unable to display the custom taxonomies in the side
    <?php
    global $post;
    $postid = $post->ID;
    $systemon = get_field(“played_on”, $postid);
    $genres = get_field(“genres”, $postid);
    $esrb = get_field(“esrb”, $postid);
    $publishers = get_field(“publishers”, $postid);
    $developer = get_field(“developer”, $postid);
    $players = get_field(“players”, $postid);
    $release_date = get_field(“release_date”, $postid);
    $price = get_field(“price”, $postid);
    $score = get_post_meta($postid, ‘editor_score’, true);

    echo ‘<div class=”system”>’;
    echo __(‘Payed On: ‘).’ ‘.$systemon[0];
    echo ‘</div>’;
    echo ‘<div class=”system”>’;
    echo __(‘Systems: ‘,’taxonomies-filter-widget’).’ ‘.$term->name;
    echo ‘</div>’;
    echo ‘<div class=”genre”>’;
    echo __(‘Genre: ‘,’taxonomies-filter-widget’).’ ‘.$genres;
    echo ‘</div>’;
    echo ‘<div class=”esrb”>’;
    echo __(‘ESRB: ‘,’taxonomies-filter-widget’).’ ‘.$esrb;
    echo ‘</div>’;
    echo ‘<div class=”publishers”>’;
    echo __(‘Publisher: ‘,’taxonomies-filter-widget’).’ ‘.$publishers;
    echo ‘</div>’;
    echo ‘<div class=”developers”>’;
    echo __(‘Developer: ‘,’taxonomies-filter-widget’).’ ‘.$developer;
    echo ‘</div>’;
    echo ‘<div class=”players”>’;
    echo __(‘Players: ‘,’taxonomies-filter-widget’).’ ‘.$players;
    echo ‘</div>’;
    echo ‘<div class=”editorscore”>’;
    echo __(‘Editor Score: ‘,’taxonomies-filter-widget’).’ ‘.$score;
    echo ‘</div>’;

    ?>