Edit ://
try this:
<?php
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
function sk_display_custom_fields() {
/*Wordpress loop*/
global $wp_query;
query_posts(array(
'post_type' => 'sammenligne'
));
while(have_posts()) : the_post(); ?>
$navn = get_field( 'navn' );
$type = get_field( 'type' );
echo '<p>',$navn , '__', '$type','</p>');
endwhile;
wp_reset_query();
}
add_action( 'genesis_entry_header', 'sk_display_custom_fields' );
genesis();
UPDATE://
Ok I tested ACF’s now. With the following code you can target custom fields of posts from a custom post type without being on an archive site!
<?php
// create custom loop to query the custom posttype
$arg = array(
'post_type' => 'sammenligne',
'posts_per_page' => 10,
'order' => 'DESC',
'post_status' => 'publish'
);
$query = new WP_Query($arg);
// then start the query
if ( $query->have_posts() ) :
while ( $query->have_posts() ) : $query->the_post();
// now go get the fields you want !
$field1 = get_field('test1');
// output the fields in the format you want
echo $field1;
endwhile;
endif;
wp_reset_query(); // reset query