WordPress.org

Support

Support » Themes and Templates » How to package a child theme

How to package a child theme

  • billbennett
    Member

    @billbennett

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • peredur
    Participant

    @peredur

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

    Cheers

    PAE

    billbennett
    Member

    @billbennett

    OK.

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

    peredur
    Participant

    @peredur

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to package a child theme’ is closed to new replies.