Elementor Sample Plugin
Clone or download
Latest commit 09839c5 Sep 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/js Update hello-world.js Nov 9, 2017
widgets Merge branch 'v120' Aug 13, 2018
.gitignore Added git ignore file Dec 6, 2016
README.md Update README.md Sep 14, 2018
elementor-hello-world.php support php 5.2 in Elementor_Hello_World class file Aug 13, 2018
index.php Prevent direct access to directories Dec 14, 2016
plugin.php Added Plugin class Aug 13, 2018

README.md

Elementor Hello World Sample Plugin

This is a sample plugin to demonstrate how you can write extentions (plugins) to add custom functionality to Elementor

Plugin Structure:

assets/
      /js   
      /css  Holds plugin CSS Files
      
widgets/
      /hello-world.php
      /inline-editing.php
      
index.php
elementor-hello-world.php
plugin.php
  • assets directory - holds plugin JavaScript and CSS assets
    • /js directory - Holds plugin Javascript Files
    • /css directory - Holds plugin CSS Files
  • widgets directory - Holds Plugin widgets
    • /hello-world.php - Hello World demo Widget class
    • /inline-editing.php - Inline Editing demo Widget class
  • index.php - Prevent direct access to directories
  • elementor-hello-world.php - Main plugin file, used as a loader if plugin minimum requirements are met.
  • plugin.php - The actual Plugin file/Class.

For more documentation please see Elementor Developers Resource.