2011-09-06, 15:47:56
Derek Wrote:I am doing a site that has multiple pages on one page....is there a way I can load the home page via get_page_content and then use another function to get an about page or something like that?
If you use the I18N Plugin, you can use
Code:
<?php get_i18n_content('my-page-slug'); ?>
If you want to include the content of one page within another,
- create a component named content:
Code:
<?php
global $args;
if (count($args) > 0) get_i18n_content($args[0]);
?>
- install the DynPages plugin
- include the text {% content my-page-slug %} in a page where you want to include the content of page my-page-slug