开发者

Wordpress: Print all (entire) pages on page.php instead of loading them individually

I’m creating a site in wordpress which are using the jQuery scrolling function for the page layout. It have to scroll vertical. But for doing this I need all the pages to be displayed on the page.php site instead of loading each page开发者_如何学运维 separately.

Is it possible to do some kind of foreach loop and print out all the pages in wordpress?

I hope you understand otherwise please let me know and I’ll elaborate.

Sincere - Mestika


<?php
$args = array(
  'post_type' => 'page'
  );
query_posts($args);
?>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜