2012-08-28, 18:42:04
@shawn_a It should be getPageContent, not get_page_content
@trysky This is the way it has been suggested before:
- Create your editable blocks as private pages (take note of their slugs or change them to what you want)
- Insert this code in your template file or component:
If you want some block to be shown only on some page, e.g. the index page, use this code instead:
@trysky This is the way it has been suggested before:
- Create your editable blocks as private pages (take note of their slugs or change them to what you want)
- Insert this code in your template file or component:
Code:
<?php getPageContent('block-slug'); ?>
If you want some block to be shown only on some page, e.g. the index page, use this code instead:
Code:
<?php if (return_page_slug()=='index') { getPageContent('block-slug'); } ?>