开发者

disable wp-pagenavi on pages with template using the wordpress loop

开发者 https://www.devze.com 2023-02-02 15:03 出处:网络
How can i disable wp-pagenavi on pages using templates and the wordpress loop? It seems that wp-pagenavi adds itself automatically wherever the wordpre开发者_高级运维ss loop is used, not counting that

How can i disable wp-pagenavi on pages using templates and the wordpress loop? It seems that wp-pagenavi adds itself automatically wherever the wordpre开发者_高级运维ss loop is used, not counting that it is a page or not.


Remove the function call out off it


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. :-)

0

精彩评论

暂无评论...
验证码 换一张
取 消