From ce900a34a42c326bf513fc4f61c7ab7cbf792edc Mon Sep 17 00:00:00 2001 From: Askupa Software Date: Mon, 19 Jan 2015 21:26:07 -0600 Subject: [PATCH] Fixed address --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 783a1be..7e1401e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ # Contributing to Amarkal ### Creating a new widget UI component -- Create a new directory under `Widget/UI/`. The name of the new directory will be used as the component's class name. for example, the directory `Widget/UI/ComponentName/` represents the UI component `ComponentName`. The new component can be instantiated in PHP with the code `new \Amarkal\Widget\UI\ComponentName()`. +- Create a new directory under `Widget/UI/`. The name of the new directory will be used as the component's class name. for example, the directory `Widget/UI/ComponentName/` represents the UI component `ComponentName`. The new component can be instantiated in PHP with the code `new \Amarkal\Extensions\WordPress\Widget\UI\ComponentName()`. - Each component directory contains the files required for the component: - `controller.php` is the php class of the component. The class should have the same name as the directory name (`ComponentName`). - `template.php` is the component's template file.