The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

how to make multi themes in my program like wordpress

  • # November 27, 2012 at 6:02 am

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

    how this ?

    # December 5, 2012 at 5:59 am

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed