Introduction

Getting started

Digitally Savvy - Landing Pages Plugin also know as DSLP.

The main goal of this plugin is to create dynamic landing pages based on a specific keyword on the URL.

The landing page should show one of many pieces of content based on a keyword.

Ths plugin adds several Gutemberg blocks and patterns to create a new landing page regardless of the site's theme.

The plugin adds a new page template that can be used on any site regardless of the site's theme, and plugins also add several Gutenberg blocks to create a generic landing page.

Quick start

The plugin code is hosted in a private repository on GitHub, and it is highly recommended that the new developer (if any) ask for access to the repository and continue working with the version control.

Installing dependencies

Once the developer has access to the source code, the dependencies need to be installed with the following command

npm install

The plugin only required these dependencies to compile the SCSS files used on the admin and frontend.

There are 3 commands available

npm run frontcss
npm run admincss
npm run commoncss

The command names are self-explanatory; again, these are only to compile the SCSS files.

Dependencies

  • Node
  • NPM or Yarm

Zipping the code source

You shouldn't zip the node-modules folder when you release a new plugin version. To zip the plugin ignoring the node-modules you can run the following command:

zip -r digitallysavvy_landing.zip digitallysavvy_landing -x "*.git*" -x "*.DS_Store"

Getting help

You can always contact me if you need help or guidelines tmeister@gmail.com.