treehouse : what would you like to learn today?
Web Design Web Development iOS Development

how to make multi themes in my program like wordpress

  • I have been created simple cms script with php and mysql and i want add to it multi themes option

    how this ?

  • Hey amis,

    We're gonna need way more information

    There are a million different ways this could be done.

    Try setting up a table with theme info in it. Store the templates and stylesheets. Then set the theme using the id of the theme in the table.

    The php checks the theme id that is set and pulls the correct theme files. template / css.