New answers tagged theme-options
The answer that yes, the theme_mod functions will be slower, but not significantly, and the benefits outweigh the differences. Theme mods are stored as options. So, in essence, the theme_mod functions are wrappers around the options functions. First, understand that theme_mod settings are stored as an array in a single option, keyed to the specific theme ...
Sanitize and validate before committing any data into your database, that is the most important precaution. That would ensure that you get "clean" data from your database. Escaping data on display would be less of a concern as a result but still an added level of security and highly recommended. Trust nothing and no one, it only takes a single specially ...
Theme Options page under Appearance are added by this function. <?php add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $function ); ?> To make it appear outside as a top level menu page replace it with following. <?php add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function,$icon_url, $position ); ?> ...
I have found the solution that I was (sort of) looking for. I searched for a video tutorial to integrate my settings with the Theme Customization page, which does pretty much what I wanted it to, and I think might actually be more beneficial there.
Top 50 recent answers are included