Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.33 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.33 KB
Newfold Logo

WordPress Help Center Module

Help Center

Installation

1. Add the Newfold Satis to your composer.json.

composer config repositories.newfold composer https://newfold-labs.github.io/satis

2. Require the newfold-labs/wp-module-help-center package.

composer require newfold-labs/wp-module-help-center

3. Instantiate the Features singleton to load all features.

Features::getInstance();

More on Newfold WordPress Modules

More on the Newfold Features Modules

Launching the Help Center from the anywhere in the plugin

To launch the help center with a click on a text or an element containing text:

Simply add data-openNfdHelpCenter or data-openNfdHelpCenter=true attribute to your HTML/JSX element. For example:

<div data-openNfdHelpCenter>Click me to open help center.</div> OR for JSX
<span data-openNfdHelpCenter={true}>Click me to open help center in JSX.</span>