action parent themestarter WP child theme for use with the
Most customizations can be made via action or filter hooks. Use the /subaction/functions.php file (or plugins) to add or remove actions or filters.
WP hook references
Developers can override parent theme (/action) files by creating a file of the same name in the child theme (/subaction) folder.
For example, if you create
/subaction/branding.php, it will override
Never edit files in the parent theme folder. Override them from the child theme folder as described.
Copying files from
/subaction for editing there is fine.
Scripts and styles
The proper way to add scripts or styles in WordPress is via the queue system. See functions.php for example. Avoid hardcoding
script[src] tags in templates.
Releasing your theme
Feel free to rename
subaction to a custom name. To do so, simply change the folder name and the theme name in style.css. Happy theming =)
Fund development with tips to @ryanve =)