Pages

Manage Pages

Creating a Static Page

  1. Login to your Osclass admin

  2. Navigate to pages on the left menu

  3. Add new

  4. Enter your page title and description

  5. Give the internal name to you identify the page

  6. make sure the "Show a link in footer" checkbox checked if you want to show page on menu

Creating a Template Page

Template pages helps you to make your own page, style, structure and functions that you want. the concept is you need to create your own .php file and link to the pages.

How to create a custom template page?

Create a PHP file and name it with template-mypage.php Include the header and footer by pasting this functions

<?php
osc_current_web_theme_path("header.php");
//Write your contents here
osc_current_web_theme_path("footer.php");
?>

Save it and upload in to your active theme folder ex: www.yoursite.com/oc-content/themes/your_active_theme/

‚Äč

  1. Now login to your Osclass admin

  2. Navigate to pages on the left menu

  3. Add new

  4. Enter your title and internal name

  5. Choose your template in drop-down menu

  6. Leave empty the description

  7. make sure the "Show a link in footer" checkbox checked if you want to show page on menu

  8. Save it.