• futurosity

    (@futurosity)


    I’m working on a new theme based on The Sandbox. My theme will be in a separate folder and the style.css file will call the Sandbox as the parent theme.

    I know how to edit the Sandbox header.php and footer.php files using this sample functions.php file, but I don’t know how to make Sandbox use my own custom home.php file that would reside in my theme folder.

    This should be fairly easy with a filter to change home_template to use my home.php, or something similar, but I’m at the limit of my skills here. I may also want to use my version of another Sandbox template file (archive.php, for example), and need a function that can call my custom template files in my theme folder to override the Sandbox.

    Any ideas?

    Since the Sandbox can be used by more than one theme, I don’t want to ask users to put my custom home.php file into the Sandbox folder. Also, I want to my customized template files in my theme folder to make it easier to upgrade.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Function to use different home.php with Sandbox’ is closed to new replies.