Theme Settings

The theme settings handle the configuration items that are unique to each site and may change over time. I set all of these fields in the _options table using the dwp23_theme prefix. These should be pretty easy to use.

Mode

This setting handles switching out the production and development builds. It is not available on a live site.

Logo

The site logo uses the default WordPress custom logo and it appear on the login page, anytime you don’t have a specified featured image in the metadata, and occasionly in other places. It should be sized at 1200 x 630px.

Comments

I provide an option to disable comments site wide. This option goes beyond what the discussion settings offer by removing all the relevant fields from the admin, post, and pages. It also disables the trackback and pingback features.

XML-RPC/WP-API

I’ve added three options here to disable the xml-rpc, disable the wp-api header, and require wp-api authorization. These are all designed for security and I recommend enabling all of them.

Contact Information

I’m using these fields to store the phone, email, and mailing address for the publisher. It makes it easier to both format them and to obfuscate them to stop spammers.

Meta

The meta data settings handle the Twitter username and Facebook APP IDs.

Analytics

The Analytics setting is to add the bit of Javascript needed for various providers. I’ve added two fields here to accommodate multiple providers.

Chat Box

Everyone wants a new fangled chat box, so I’ve added an additional field to load a provider’s JavaScript to server the chat box.


References:

Relevant Posts: