This is WordPress plugin contains custom functionality for the Ruth Chafin Interior Design WordPress Block Theme. The concept is to keep features of a site that are theme independent, such as custom post-types, taxonomies, and roles separate from the UCSC 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-rpcand removes from<head>to prevent brute force attacks on admin usernames and passwords per WordPress best practices. -
general.php-- for any general general theme-independent functions -
gtm.php-- adds Google Tag Manager and Analytics -
post-types.php-- for registering custom post types -
security-headers.php-- adds security headers such as Content Security Policy -
shortcodes.php-- for custom custom shortcodes