开发者

How to display "Pages" as posts inside another page (Wordpress)?

开发者 https://www.devze.com 2023-02-05 01:25 出处:网络
Say I have an Front Page, and inside that page I have two sections (probably two divs: tagline and services). Then, I would like to add static content inside those two sections (in form of Pages).

Say I have an Front Page, and inside that page I have two sections (probably two divs: tagline and services). Then, I would like to add static content inside those two sections (in form of Pages).

  1. I'm not very sure how to "classify" these pages: (e.g. tagline and services), because pages don't ahve categories or tags.

  2. I know I have to use get_pages, but I'm not sure how to write the full function.

A开发者_StackOverflow中文版ny suggestions?


You could probably use get_pages();, but this might be easier: http://wordpress.org/extend/plugins/improved-include-page/

Usage instructions: http://wordpress.org/extend/plugins/improved-include-page/installation/

0

精彩评论

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