PHPackages                             mcaskill/sage-theme-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mcaskill/sage-theme-wrapper

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

mcaskill/sage-theme-wrapper
===========================

Standalone version of the Sage theme layout wrapper for WordPress.

8.5.3(8y ago)17.1k↑200%MITPHPPHP &gt;=5.6

Since Jan 5Pushed 8y agoCompare

[ Source](https://github.com/mcaskill/wp-sage-theme-wrapper)[ Packagist](https://packagist.org/packages/mcaskill/sage-theme-wrapper)[ RSS](/packages/mcaskill-sage-theme-wrapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Sage Theme Wrapper for WordPress
================================

[](#sage-theme-wrapper-for-wordpress)

Standalone version of the [Sage Theme Wrapper](https://roots.io/sage/docs/theme-wrapper/) for themes.

Installation
------------

[](#installation)

Require this package, with [Composer](https://getcomposer.org), in the root directory of your project.

```
$ composer require mcaskill/sage-theme-wrapper

```

Usage
-----

[](#usage)

1. Add [`base.php`](base-sample.php) to your theme's directory.
2. Add the following filter to your theme's `functions.php`:

Example #1:

```
