Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/strarsis/sage9-onepager-lib

Single page support for Sage 9 based themes. – Helper library (Adopted from WordPress Twenty Seventeen theme.)
https://github.com/strarsis/sage9-onepager-lib

Last synced: 13 days ago
JSON representation

Single page support for Sage 9 based themes. – Helper library (Adopted from WordPress Twenty Seventeen theme.)

Awesome Lists containing this project

README

        

This library contains helpers to be used by sage 9 based theme.

See [sage9-onepager-themefiles](https://github.com/strarsis/sage9-onepager-themefiles) for the theme related files.

## Installation

1. Install this helper library
````
$ composer require strarsis/sage9-onepager-lib
````

2. Require this helper library
In `setup.php`:
```php
add_action( 'after_setup_theme', '\strarsis\Sage9Onepager\Controls::init' );
````

3. Go to the theme files and README in [sage9-onepager-themefiles](https://github.com/strarsis/sage9-onepager-themefiles) and follow step 3 and below.

## Credits
Code has been adopted from [WordPress Twenty Seventeen theme](https://github.com/WordPress/WordPress/tree/master/wp-content/themes/twentyseventeen).