Tag Info

New answers tagged

0

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( ...


0

yes it does work on my other site archive-sammenligne.php, which is the archive file for the slug sammenligne. This is the output from Advanced Custom Fields. I've removed the other fields (I have abut 20). if(function_exists("register_field_group")) { register_field_group(array ( 'id' => 'acf_kredittkort', 'title' => ...


1

EDIT Try this code: remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'sk_do_loop' ); function sk_do_loop(){ global $wp_query; $temp_query = $wp_query; // Fix for the WordPress 3.0 "paged" bug. $paged = 1; if ( get_query_var( 'paged' ) ) { $paged = get_query_var( 'paged' ); } if ( get_query_var( 'page' ) ) { $paged = ...



Top 50 recent answers are included