Home › Forums › Back End › How can I feed content from one webpage into another?? › Re: How can I feed content from one webpage into another??
October 7, 2012 at 12:20 pm
#111383
Member
In wordpress prospective:
Pages are just posts, with a post_type of ‘page’ in the database. You can show the content of multiple pages on another page by writing a post query in your pageX template that gets the posts you specify and output them in a Loop.
There are three ways to get post content from the database:
get_posts,
query_posts,
WP_Query.
These links all point to the WordPress Codex. Get_posts and query_posts have an argument available, ‘page_id’, where you can specify the id of the page you’d like to retrieve and display.