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

This package is auto-updated.

Last update: 2024-03-30 00:32:22 UTC


README

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

See sage9-onepager-themefiles for the theme related files.

Installation

  1. Install this helper library
$ composer require strarsis/sage9-onepager-lib
  1. Require this helper library In setup.php:
add_action( 'after_setup_theme', '\strarsis\Sage9Onepager\Controls::init' );
  1. 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.