How do I display a wordpress page content?

前端 未结 7 795
悲&欢浪女
悲&欢浪女 2021-01-31 03:08

I know this is really simple but it just isn\'t coming to me for some reason and google isn\'t helping me today.

I want to output the pages content, how do I do that?

7条回答
  •  耶瑟儿~
    2021-01-31 03:48

    @Sydney Try putting wp_reset_query() before you call the loop. This will display the content of your page.

    
    

    EDIT: Try this if you have some other loops that you previously ran. Place wp_reset_query(); where you find it most suitable, but before you call this loop.

提交回复
热议问题