Current File : /home/kelaby89/muzza.fit/wp-content/themes/deadlift/functions.php
<?php
/**
 * Deadlift functions and definitions
 *
 * @link https://codex.wordpress.org/Theme_Development
 * @link https://codex.wordpress.org/Child_Themes
 *
 * Functions that are not pluggable (not wrapped in function_exists()) are
 * instead attached to a filter or action hook.
 *
 * For more information on hooks, actions, and filters,
 * {@link https://codex.wordpress.org/Plugin_API}
 *
 * @package    WordPress
 * @subpackage Deadlift
 * @version    1.8.2
 */

defined( 'ABSPATH' ) || exit;

/**
 * Sets up theme defaults and registers support for various WordPress features using the DEADLIFT function
 *
 * @see inc/framework.php
 */
function deadlift_setup_config() {
	/**
	 *  Require the wolf themes framework core file
	 */
	include_once get_template_directory() . '/inc/framework.php';

	/**
	 * Set theme main settings
	 *
	 * We this array to configure the main theme settings
	 */
	$deadlift_settings = array(

		/* Menus */
		'menus'       => array(
			'primary'   => esc_html__( 'Primary Menu', 'deadlift' ),
			'secondary' => esc_html__( 'Secondary Menu', 'deadlift' ),
			'mobile'    => esc_html__( 'Mobile Menu', 'deadlift' ),
		),

		/**
		 *  We define wordpress thumbnail sizes that we will use in our design
		 */
		'image_sizes' => array(

			/**
			 * Create custom image sizes if the Wolf WPBakery Page Builder extension plugin is not installed
			 * We will use the same image size names to avoid duplicated image sizes in the case the plugin is active
			 */
			'deadlift-photo'         => array( 500, 500, false ),
			'deadlift-metro'         => array( 550, 999, false ),
			'deadlift-masonry'       => array( 500, 2000, false ),
			'deadlift-masonry-small' => array( 400, 400, false ),
			'deadlift-XL'            => array( 1920, 3000, false ),
		),
	);

	DEADLIFT( $deadlift_settings ); // let's go.
}
deadlift_setup_config();
Page not found – Hello World !