It's easy to think about just hacking a template to add some code to a website, but creating a module is easy enough, and much easier to maintain.
To illustrate how simple a module is:
For a plugin called 'simple':
To illustrate how simple a module is:
For a plugin called 'simple':
Create a directory called 'simple'.
File 1 is simple.php - contains the plugin info
File 2 is simple.site.php contains the code
No comments:
Post a Comment