使用wordpress循环禁用带有模板的页面上的wp-pagenavi

How can i disable wp-pagenavi on pages using templates and the wordpress loop? It seems that wp-pagenavi adds itself automatically wherever the wordpress loop is used, not counting that it is a page or not.

My bad..the theme called wppagenavi(), thus pagenavi is not added automagically.

By removing that call from templates of choice i can achieve what i wanted. :-)

Remove the function call out off it