Need help in the process of creating your own WordPress theme?
To create an extension:
Create a directory with the name of the extension in any extensions/
directory with a manifest.php file in it.
Internally that will create an instance of
FW_Extension_Default
class. Optionally, you can place a fileclass-fw-extension-{extension-name}.php
with the following contents, in the newly created directory and start create some advanced functionality:<?php if (!defined('FW')) die('Forbidden'); class FW_Extension_{Extension_Name} extends FW_Extension { // ... }
To make the extension visible on the Extensions list page (by default it is hidden) set the manifest display
parameter to true
.
Make sure you understand what the manifest standalone
parameter means.