You are using a very old browser.niagaratex.com has advanced browsing technologies that will not work on your browser. We highly recommand that you download one of the following free browser: Internet Explorer 9, Goolge Chrome or Mozilla Firefox

'; } ?>

NaigaraTextile Ltd

'innerslider','post_status' => 'publish'); $inner_sliders = new WP_Query( $args ); if(!$inner_sliders->posts){ foreach($inner_sliders->posts as $home_pic){ $home_pic_src=getImageFromPost($home_pic->ID,'large'); echo ''.$home_pic->post_title.''."\n"; } }else{ for($i=1;$i<11;$i++){ $banner_url=get_bloginfo( 'template_url' ).'/images/small_banner/'.$i.'.jpg'; echo 'banner'.$i.''."\n"; } } ?>

Products

'galleryimage', 'post_status' => 'publish', 'paged' => $paged, 'posts_per_page' => $posts_per_page, 'tax_query' => array( array( //general or products 'taxonomy' => 'gallerytype', 'field' => 'slug', 'terms' => 'products' ) ) ); $wp_query = new WP_Query( $args ); $gallery=$wp_query; #echo count($gallery->posts); $gallery_html =''; if($gallery->posts){ foreach ( $gallery->posts as $post){ $post_id = $post->ID; $post_title = str_replace('"', '', stripslashes($post->post_title)); $post_link = get_permalink($post->ID); $post_content = trunck_string($post->post_content,180,true); $ori_img_src=getImageFromPost($post_id,'large'); $post_image= getPostImage($post_id,180,105,'medium'); # $service_html .='
  • '.getPostImage($post_id,416,245,'large').'
  • ' ."\n"; $gallery_html .='
    '.$post_image.' '. $post_title .' '.$post_content.'
    ' ."\n"; }//foreach } echo $gallery_html; ?>