This is WordPress plugin contains custom functionality for the Jason Chafin WordPress website. The concept is to keep features of a site that are theme independent, such as custom post-types, taxonomies, and roles separate from the theme code. This will ensure that future theme changes do not affect a site's functionality.
This plugin can be expanded as use-cases arise. It currently features the following:
-
disable-xmlrpc.php
-- disablesxml-rpc
and removes from<head>
to prevent brute force attacks on admin usernames and passwords per WordPress best practices. -
general.php
-- general theme-independent functions -
gtm.php
-- Google Tag Manager and Analytics -
security-headers.php
-- security headers such as Content Security Policy