Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.)
- Host: GitHub
- URL: https://github.com/strarsis/sage9-onepager-lib
- Owner: strarsis
- Created: 2018-02-21T01:36:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T01:34:25.000Z (about 1 year ago)
- Last Synced: 2024-10-18T23:55:33.840Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).