Forums

Function to use different home.php with Sandbox (2 posts)

  1. futurosity
    Member
    Posted 4 years ago #

    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.

  2. eostrom
    Member
    Posted 3 years ago #

    Did you ever figure out a good solution to this? I've got the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic