/* Set default timezone to the UK for the products by time of day section ============================================================================= */ date_default_timezone_set('UTC'); /* Custom Actions ============================================================================= */ require_once('functions/actions.php'); /* Custom Filters ============================================================================= */ require_once('functions/filters.php'); /* Add menu support ============================================================================= */ if (function_exists('add_theme_support')) { add_theme_support('menus'); } add_action('init', 'register_my_menus'); function register_my_menus() { register_nav_menus( array( 'main' => __('Main Menu'), 'footer' => __('Footer Menu') ) ); } /* Image sizes ============================================================================= */ if ( function_exists( 'add_image_size' ) ) { add_image_size( 'staff', 200, 224, true ); add_image_size( 'staff-plus', 400, 448, true ); } add_filter('image_size_names_choose', 'my_image_sizes'); function my_image_sizes($sizes) { $addsizes = array( "staff" => __( "Staff Member"), "staff-plus" => __( "Staff Member @2x") ); $newsizes = array_merge($sizes, $addsizes); return $newsizes; } /* ACF Options Page ============================================================================= */ if(function_exists('acf_add_options_page')) { acf_add_options_page(); } /* ACF Google Maps API Key ============================================================================= */ add_filter('acf/settings/google_api_key', function () { return 'AIzaSyBdxEpWmzEThVUh5fUUrsxjpuvQ7MsAhXM'; }); ?> get_header(); ?>
We're sorry, we can't seem to find the page you're looking for. Please try the navigation above to get to your destination. Happy travels!