wpfulcrum/widget

Fulcrum Widget Module - WordPress widgets made easy.

3.0.1 2017-12-12 03:51 UTC

This package is not auto-updated.

Last update: 2024-04-28 02:37:44 UTC


README

Build Status Latest Stable Version License

The Fulcrum Custom Widget Module makes your job easier for adding custom widgets to your project. Pass it a configuration and it handles the rest for you.

Features

  • Registration is handled for you.
  • Widget form is handled for you.
  • Widget rendering is handled for you.

You build:

  • the configuration
  • form view file
  • widget view file

If you need custom processing, use the Widget class as your base class. Then just build what's different to minimize your work.

Installation

The best way to use this component is through Composer:

composer require wpfulcrum/widget

Dependencies

This module requires:

  • at least PHP 5.6
  • WordPress 4.8+
  • Fulcrum 3+

Unlike the other Fulcrum modules, the Widget module is not a standalone module. It is highly dependent upon Fulcrum.

Contributing

All feedback, bug reports, and pull requests are welcome.