Thursday, June 5, 2014

Basic theme development

Borno is a content management system . You can download it form here




You must need below skill for Borno development

  • basic php

  • html

  • CSS


Borno theme Directory : portable/theme


Theme panel : Admin panel > Other menu > Theme




Create a new folder of theme directory

You must need below file

  • index.php (main page)

  • 404.php (404 error)

  • style.css (css)

  • single.php (content page)

  • doc.php (document page)


You  can be add more files :

You can also added sidebar.php , header.php , footer.php রাখা যেতে পারে ।

Add below code on style.css
/*
 *  Theme Name: name of the theme
 * Detail: give a short bio
 *  Author: your name
 */

Of courage-

  • Give <?php header_view()  ;  ?> between <head></head> tag and

  • <?php footer_view() ; ?> on the footer


Sample code -

  • index.php : : code

  • On header You can display title by $title

  • doc.php : code

  • single.php  : code


Official page : Group

No comments:

Post a Comment