WordPress.org

Ready to get started?Download WordPress

Forums

How to package a child theme (4 posts)

  1. billbennett
    Member
    Posted 2 years ago #

    Following my earlier question Convert child theme to a stand-alone theme

    How can I repackage my Twenty-eleven child theme so the basic settings (i.e. background colour etc) are changed to my specifications when someone installs the child theme?

    This may sound petty, but I adding a README file telling people how they can change the settings is second best.

  2. peredur
    Member
    Posted 2 years ago #

    If your theme's style sheet specifies the colours you want, they will automatically be applied when anyone installs the child theme.

    Cheers

    PAE

  3. billbennett
    Member
    Posted 2 years ago #

    OK.

    What about the Default Layout option? How can I force this to one column?

  4. peredur
    Member
    Posted 2 years ago #

    Since twentyeleven allows options for setting the number of columns, it obviously contains some code that sets a variable somewhere, or provides some other way of deciding how many columns to display.

    I took a quick look at functions.php, but couldn't see where it's set.

    You could either look through the code yourself or post another question asking if anyone knows off the top of their heads where this option is set.

    Cheers

    PAE

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.