at path:
ROOT
/
wp-content
/
themes
/
whizz
/
functions.php
run:
R
W
Run
assets
DIR
2025-08-14 14:58:42
R
W
Run
include
DIR
2025-08-14 14:58:42
R
W
Run
one-click-import
DIR
2025-08-14 14:58:42
R
W
Run
templates
DIR
2025-08-14 14:58:42
R
W
Run
vc_templates
DIR
2025-08-14 14:58:42
R
W
Run
vendor
DIR
2025-08-14 14:58:42
R
W
Run
woocommerce
DIR
2025-08-14 14:58:42
R
W
Run
404.php
1.1 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
archive.php
9.18 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
author.php
10.53 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
category.php
9.08 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
comments.php
2.46 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
composer.json
65 By
2025-08-14 14:58:42
R
W
Run
Delete
Rename
composer.lock
1.95 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
error_log
39.65 KB
2026-06-03 17:30:53
R
W
Run
Delete
Rename
footer.php
4.47 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
functions.php
4.38 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
header.php
13.09 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
index.php
12.99 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
page-hovers.php
16.44 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
page.php
6.16 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
page_with_sidebar.php
7.31 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
readme.txt
1.46 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
screenshot.png
82.91 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
searchform.php
363 By
2025-08-14 14:58:42
R
W
Run
Delete
Rename
single-events.php
12.41 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
single-portfolio.php
16 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
single.php
13.46 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
style.css
2.56 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
tag.php
8.81 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
taxonomy-portfolio-category.php
3.88 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
taxonomy-portfolio-client.php
5.62 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
taxonomy-whizzy-category.php
3.73 KB
2025-08-14 14:58:42
R
W
Run
Delete
Rename
error_log
up
📄
functions.php
Save
<?php /** * The template includes necessary functions for theme. * * @package whizz * @since 1.0 */ if (!isset($content_width)) { $content_width = 1200; /* pixels */ } defined('WHIZZ_T_URI') or define('WHIZZ_T_URI', get_template_directory_uri()); defined('WHIZZ_T_PATH') or define('WHIZZ_T_PATH', get_template_directory()); // Include functions require_once WHIZZ_T_PATH . '/include/class-tgm-plugin-activation.php'; require_once WHIZZ_T_PATH . '/include/helper-functions.php'; require_once WHIZZ_T_PATH . '/include/actions-config.php'; require_once WHIZZ_T_PATH . '/include/custom-header.php'; require_once WHIZZ_T_PATH . '/include/filters.php'; require_once WHIZZ_T_PATH . '/include/customizer.php'; require_once WHIZZ_T_PATH . '/include/menu-walker.php'; require_once WHIZZ_T_PATH . '/include/custom-menu.php'; require WHIZZ_T_PATH . '/vendor/autoload.php'; // One Click Import Integration require_once(WHIZZ_T_PATH . '/one-click-import/oneclick_demo_function.php'); /** * Initialize the plugin tracker * * @return void */ function appsero_init_tracker_whizz() { if (!class_exists('Appsero\Client')) { require_once WHIZZ_T_PATH . '/vendor/appsero/client/src/Client.php'; } $client = new \Appsero\Client('315a76cd-51d7-4550-81db-59365cb10665', 'Whizz', __FILE__); // Active insights $client->insights()->init(); // Active automatic updater $client->updater(); } appsero_init_tracker_whizz(); // after setup if (!function_exists('whizz_after_setup')) { function whizz_after_setup() { register_nav_menus(array('primary-menu' => esc_attr__('Primary menu', 'whizz'))); add_theme_support('post-formats', array('video', 'gallery', 'audio', 'quote')); add_theme_support('custom-header'); add_theme_support('custom-background'); add_theme_support('automatic-feed-links'); add_theme_support('html5', array('search-form', 'comment-form', 'comment-list', 'gallery', 'caption')); add_theme_support('post-thumbnails'); add_theme_support('title-tag'); remove_theme_support('html5', 'comment-form'); remove_theme_support('widgets-block-editor'); add_theme_support('woocommerce'); } } add_action('after_setup_theme', 'whizz_after_setup'); if (!function_exists('whizz_child_font')) { function whizz_child_font($fonts) { if (is_array($fonts)) { $fonts[] = 'BebasNeueBook'; } return $fonts; } } add_filter('cs_websafe_fonts', 'whizz_child_font'); function whizz_set_script($scripts, $handle, $src, $deps = array(), $ver = false, $in_footer = false) { $script = $scripts->query($handle, 'registered'); if ($script) { // If already added $script->src = $src; $script->deps = $deps; $script->ver = $ver; $script->args = $in_footer; unset($script->extra['group']); if ($in_footer) { $script->add_data('group', 1); } } else { // Add the script if ($in_footer) { $scripts->add($handle, $src, $deps, $ver, 1); } else { $scripts->add($handle, $src, $deps, $ver); } } } function whizz_replace_scripts($scripts) { $assets_url = WHIZZ_T_URI . '/assets/js/lib/'; //whizz_set_script( $scripts, 'jquery-migrate', $assets_url . 'jquery-migrate.min.js', array(), '1.4.1-wp' ); //whizz_set_script( $scripts, 'jquery', false, array( 'jquery-core', 'jquery-migrate' ), '1.12.4-wp' ); } add_action('wp_default_scripts', 'whizz_replace_scripts'); if (! function_exists('hover_scripts')) { function hover_scripts(){ wp_enqueue_script('hovers-js', get_stylesheet_directory_uri() . '/assets/js/scripts.js?' . time(), array('jquery'), false, true); // register style wp_enqueue_style('hovers-css', get_stylesheet_directory_uri() . '/style.css'); } } add_action( 'wp_enqueue_scripts', 'hover_scripts'); function deprecated_plugin_admin_notice() { if (is_plugin_active( 'booked/booked.php' ) ) { ?> <div data-dismissible="disable-done-notice-forever" class="updated notice notice-success is-dismissible"> <p><?php _e( '<b>Booked plugin has been deprecated since version 2.4.3</b>, instead of using Booked plugin you can use <a href="https://import.foxthemes.me/plugins/premium-plugins/scheduled.zip" target="_blank">Scheduled Plugin.</a>. Please make sure to take a backup before replacing plugin.'); ?></p> </div> <?php } } add_action( 'admin_notices', 'deprecated_plugin_admin_notice' );