test-loop

Naglowek

$type,
'post_status' => 'publish',
'paged' => $paged,
'tax_query' => array(
array(
'taxonomy' => 'kategorie_obrazow',
'field' => 'slug',
'terms' => 'pejzarz'
)
),
'order’=>’DESC',
'orderby' => 'date'
);
$temp = $wp_query; // assign ordinal query to temp variable for later use
$wp_query = null;
$wp_query = new WP_Query($args);

/*
$paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
$args = array(’post_type' => 'powierzchnie_wpis',
'tax_query' => array(
array(
'taxonomy' => 'rodzaj_powierzchni',
'field' => 'slug',
'terms' => 'powierzchnie-mieszkalne'
)
),
'posts_per_page’=>’1′,
'paged' => $paged,
'order’=>’DESC',
'orderby' => 'date');
$loop = new WP_Query( $args );*/
?>