first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,110 @@
<?php if ( ! defined( 'ABSPATH' ) ) {
die( 'Direct access forbidden.' );
}
/**
* Theme functions and definitions
*
* Set up the theme and provides some helper functions, which are used in the
* theme as custom template tags. Others are attached to action and filter
* hooks in WordPress to change core functionality.
*
* When using a child theme you can override certain functions (those wrapped
* in a function_exists() call) by defining them first in your child theme's
* functions.php file. The child theme's functions.php file is included before
* the parent theme's file, so the child theme functions would be used.
*
* @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}
*/
define('SOLARIFY_THEME_VERSION', '1.0.0');
//Since WP v4.7 using new functions
//https://developer.wordpress.org/themes/basics/linking-theme-files-directories/#linking-to-theme-directories
define( 'SOLARIFY_THEME_URI', get_parent_theme_file_uri() );
define( 'SOLARIFY_THEME_PATH', get_parent_theme_file_path() );
// You may request this demo id from this theme author to get a colorized demo content.
// See the Theme support service contacts information.
define( 'SOLARIFY_REMOTE_DEMO_ID', '');
define( 'SOLARIFY_REMOTE_DEMO_VERSION', '1.0.0');
/**
* Theme Includes
*/
require_once SOLARIFY_THEME_PATH . '/inc/init.php';
/**
* TGM Plugin Activation
*/
require_once SOLARIFY_THEME_PATH . '/inc/tgm-plugin-activation/class-tgm-plugin-activation.php';
if ( ! function_exists( 'solarify_action_register_required_plugins' ) ):
/** @internal */
function solarify_action_register_required_plugins() {
tgmpa( array (
array (
'name' => 'Unyson',
'slug' => 'unyson',
'required' => true,
),
array(
'name' => 'MWTemplates Unyson Extensions',
'slug' => 'mwt-unyson-extensions',
'source' => SOLARIFY_THEME_PATH . '/inc/plugins/mwt-unyson-extensions.zip',
'required' => true,
),
array (
'name' => 'MWTemplates Theme Addons',
'slug' => 'mwt-addons',
'source' => SOLARIFY_THEME_PATH . '/inc/plugins/mwt-addons.zip',
'required' => true,
'version' => '1.0',
),
array (
'name' => 'MailChimp',
'slug' => 'mailchimp-for-wp',
'required' => true,
),
array(
'name' => 'AccessPress Social Counter',
'slug' => 'accesspress-social-counter',
'required' => false
),
array(
'name' => 'Instagram Feed',
'slug' => 'instagram-feed',
'required' => false
),
array(
'name' => 'Snazzy Maps',
'slug' => 'snazzy-maps',
'required' => false
),
array(
'name' => 'WooCommerce',
'slug' => 'woocommerce',
'required' => false
),
array (
'name' => 'Booked',
'slug' => 'booked',
'source' => esc_url('http://webdesign-finder.com/remote-demo-content/common-plugins-original/booked.zip'),
'required' => false,
),
),
array(
'domain' => 'solarify',
'dismissable' => false,
) );
}
endif;