ID; $list_order_by = get_post_meta(get_the_ID(), "idi_list_order_by", true); if (!$list_order_by){ $list_order_by ="date"; } $list_order = get_post_meta(get_the_ID(), "idi_list_order", true); if (!$list_order){ $list_order ="DESC"; } ?>
loading

loading

'attachment', 'post_mime_type' => 'image', 'numberposts' => $numbers_nivo, 'post_status' => null, 'order' => $slideorder, 'orderby' => $slideorderby, 'post_parent' => $post->ID ); $attachments = get_children( $args ); $arrK = array_keys( $attachments ); $i = 0; foreach ( $attachments as $attachment ) { $ImageTit = apply_filters('the_title', $attachment->post_title); $link = get_post_meta( $arrK[$i], '_link_to', true ); $large_image_url = wp_get_attachment_image_src( $attachment->ID, 'slide' ); $thumb_image_url = wp_get_attachment_image_src( $attachment->ID, 'slide-thumb' ); $i = $i + 1; ?>
$postnums, 'paged' => $paged, 'category__in' => $catID, 'post_type'=>array('post','gallery'), 'order'=>$list_order, 'orderby'=>$list_order_by ); query_posts($args); ?>