strarsis / sage9-onepager-lib
Single page support for Sage 9 based themes. – Helper library (Adopted from WordPress Twenty Seventeen theme.)
v5.0.0
2023-10-01 01:33 UTC
Requires
- php: ^5.3.3 || ^7.0 || ^8
README
This library contains helpers to be used by sage 9 based theme.
See sage9-onepager-themefiles for the theme related files.
Installation
- Install this helper library
$ composer require strarsis/sage9-onepager-lib
- Require this helper library
In
setup.php
:
add_action( 'after_setup_theme', '\strarsis\Sage9Onepager\Controls::init' );
- Go to the theme files and README in sage9-onepager-themefiles and follow step 3 and below.
Credits
Code has been adopted from WordPress Twenty Seventeen theme.