| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* |
| 5 |
* Tento plugin je venovan me zene Veronice, synu Alexovi a dceri Agatce. |
| 6 |
* |
| 7 |
* |
| 8 |
* @link www.scrollsequence.com |
| 9 |
* @since 0.7.0 |
| 10 |
* @package Scrollsequence |
| 11 |
* |
| 12 |
* @wordpress-plugin |
| 13 |
* Plugin Name: Scrollsequence |
| 14 |
* Plugin URI: www.scrollsequence.com |
| 15 |
* Description: Create stunning image animation that play and rewind on scroll. Make your website come alive with just few clicks. |
| 16 |
* Version: 1.5.6 |
| 17 |
* Author: Scrollsequence |
| 18 |
* Author URI: www.scrollsequence.com |
| 19 |
* License: GPL-2.0+ |
| 20 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 21 |
* Text Domain: scrollsequence |
| 22 |
* Domain Path: /languages |
| 23 |
*/ |
| 24 |
if ( !defined( 'ABSPATH' ) ) { |
| 25 |
exit; |
| 26 |
} |
| 27 |
if ( function_exists( 'freemius_scrollsequence' ) ) { |
| 28 |
freemius_scrollsequence()->set_basename( false, __FILE__ ); |
| 29 |
} else { |
| 30 |
// DO NOT REMOVE THIS IF, IT IS ESSENTIAL FOR THE `function_exists` CALL ABOVE TO PROPERLY WORK. |
| 31 |
if ( !function_exists( 'freemius_scrollsequence' ) ) { |
| 32 |
// ... Freemius integration snippet ... |
| 33 |
// FREEMIUS COPY START |
| 34 |
if ( !function_exists( 'freemius_scrollsequence' ) ) { |
| 35 |
// Create a helper function for easy SDK access. |
| 36 |
function freemius_scrollsequence() { |
| 37 |
global $freemius_scrollsequence; |
| 38 |
if ( !isset( $freemius_scrollsequence ) ) { |
| 39 |
// Include Freemius SDK. |
| 40 |
require_once dirname( __FILE__ ) . '/includes/freemius/start.php'; |
| 41 |
$freemius_scrollsequence = fs_dynamic_init( array( |
| 42 |
'id' => '5856', |
| 43 |
'slug' => 'scrollsequence', |
| 44 |
'premium_slug' => 'scrollsequence-pro', |
| 45 |
'type' => 'plugin', |
| 46 |
'public_key' => 'pk_ea24bea874c80814ebc58bc230264', |
| 47 |
'is_premium' => false, |
| 48 |
'has_addons' => false, |
| 49 |
'has_paid_plans' => true, |
| 50 |
'trial' => array( |
| 51 |
'days' => 14, |
| 52 |
'is_require_payment' => false, |
| 53 |
), |
| 54 |
'has_affiliation' => 'all', |
| 55 |
'menu' => array( |
| 56 |
'slug' => 'edit.php?post_type=scrollsequence', |
| 57 |
'first-path' => 'admin.php?page=scrollsequence-dashboard', |
| 58 |
'support' => false, |
| 59 |
), |
| 60 |
'is_live' => true, |
| 61 |
) ); |
| 62 |
} |
| 63 |
return $freemius_scrollsequence; |
| 64 |
} |
| 65 |
|
| 66 |
// Init Freemius. |
| 67 |
freemius_scrollsequence(); |
| 68 |
// Signal that SDK was initiated. |
| 69 |
do_action( 'freemius_scrollsequence_loaded' ); |
| 70 |
} |
| 71 |
// FREEMIUS COPY END |
| 72 |
} |
| 73 |
// ... Your plugin's main file logic ... |
| 74 |
// If this file is called directly, abort. |
| 75 |
if ( !defined( 'WPINC' ) ) { |
| 76 |
die; |
| 77 |
} |
| 78 |
/** |
| 79 |
* Currently plugin version. |
| 80 |
* Start at version 0.7.0 and use SemVer - https://semver.org |
| 81 |
* Rename this for your plugin and update it as you release new versions. |
| 82 |
*/ |
| 83 |
define( 'SCROLLSEQUENCE_VERSION', '1.5.6' ); |
| 84 |
/** |
| 85 |
* The code that runs during plugin activation. |
| 86 |
* This action is documented in includes/class-scrollsequence-activator.php |
| 87 |
*/ |
| 88 |
function activate_scrollsequence() { |
| 89 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-scrollsequence-activator.php'; |
| 90 |
Scrollsequence_Activator::activate(); |
| 91 |
} |
| 92 |
|
| 93 |
/** |
| 94 |
* The code that runs during plugin deactivation. |
| 95 |
* This action is documented in includes/class-scrollsequence-deactivator.php |
| 96 |
*/ |
| 97 |
function deactivate_scrollsequence() { |
| 98 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-scrollsequence-deactivator.php'; |
| 99 |
Scrollsequence_Deactivator::deactivate(); |
| 100 |
} |
| 101 |
|
| 102 |
register_activation_hook( __FILE__, 'activate_scrollsequence' ); |
| 103 |
register_deactivation_hook( __FILE__, 'deactivate_scrollsequence' ); |
| 104 |
/** |
| 105 |
* The core plugin class that is used to define internationalization, |
| 106 |
* admin-specific hooks, and public-facing site hooks. |
| 107 |
*/ |
| 108 |
require plugin_dir_path( __FILE__ ) . 'includes/class-scrollsequence.php'; |
| 109 |
/** |
| 110 |
* Begins execution of the plugin. |
| 111 |
* |
| 112 |
* Since everything within the plugin is registered via hooks, |
| 113 |
* then kicking off the plugin from this point in the file does |
| 114 |
* not affect the page life cycle. |
| 115 |
* |
| 116 |
* @since 1.0.0 |
| 117 |
*/ |
| 118 |
function run_scrollsequence() { |
| 119 |
$plugin = new Scrollsequence(); |
| 120 |
$plugin->run(); |
| 121 |
} |
| 122 |
|
| 123 |
run_scrollsequence(); |
| 124 |
} |