Create custom pages

From OSClass

Static custom pages

You could create custom static pages, for example a "Terms of Service" or a help one. To do this, click on 'Create new page from the Pages tab on the admin panel. You have a WYSIWYG editor, everything there will look as the final result. You even have a HTML option if you want to edit the html directly.


Dynamic custom pages

If you need more freedom for your pages, you could create dynamic custom pages, for example to run PHP code and create special pages. This could be easily achieve following the next steps:

  • Go to create new page from the Pages tab on the admin panel
  • Enter a custom internal name, for example my_custom_page
  • Enter a tittle, body could be left empty
  • Create your custom file, call it page-my_custom_page.php
  • Upload it to your theme folder. If your theme folder is modern, upload it to oc-content/themes/modern