PluginProbe
Borderless – Addons and Templates for Elementor / 1.4.9
Borderless – Addons and Templates for Elementor v1.4.9
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 All 78 releases
← All changes | borderless.php +28 -10 trunk1.4.9 View file →
@@ -3,9 +3,9 @@
3 3 /*
4 4 Plugin Name: Borderless
5 5 Plugin URI: https://visualmodo.com/borderless/
6 6 Description: One service packed with powerful tools to help you reach your purposes.
7 -Version: 1.8.0
7 +Version: 1.4.9
8 8 Author: Visualmodo
9 9 Author URI: https://visualmodo.com
10 10 License: GPLv3 or later
11 11 Text Domain: borderless
@@ -19,9 +19,9 @@
19 19 /*-----------------------------------------------------------------------------------*/
20 20 /* *. Borderless Constants
21 21 /*-----------------------------------------------------------------------------------*/
22 22
23 -define( 'BORDERLESS__VERSION', '1.8.0' );
23 +define( 'BORDERLESS__VERSION', '1.4.9' );
24 24 define( 'BORDERLESS__DIR', plugin_dir_path( __FILE__ ) );
25 25 define( 'BORDERLESS__URL', plugins_url( '/', __FILE__ ) );
26 26 define( 'BORDERLESS__INC', BORDERLESS__DIR . '/includes' );
27 27 define( 'BORDERLESS__ASSETS', BORDERLESS__URL . 'assets/' );
@@ -115,15 +115,19 @@
115 115
116 116 require_once( BORDERLESS__INC . "/templates/dashboard.php" );
117 117
118 118 /**
119 - * License Manager Page.
119 + * License Manager.
120 120 */
121 121
122 - require_once( BORDERLESS__INC . "/templates/license/license.php" );
123 -
124 - require_once( BORDERLESS__INC . "/admin/api-settings.php" );
122 + if ( ! class_exists( 'BORDERLESS__LICENSE' ) ) {
123 + require_once( BORDERLESS__INC . '/license/client.php' );
124 + }
125 125
126 + if ( class_exists( 'BORDERLESS__LICENSE' ) ) {
127 + $borderless_license = new BORDERLESS__LICENSE( __FILE__, 168804, BORDERLESS__VERSION, 'plugin', 'https://visualmodo.com', 'Borderless' );
128 + }
129 +
126 130 /**
127 131 * The class responsible for orchestrating the actions and filters of the
128 132 * core plugin.
129 133 */
@@ -137,21 +141,36 @@
137 141
138 142 require_once( BORDERLESS__INC . "/templates/system-info.php" );
139 143 require_once( BORDERLESS__INC . "/icon-manager/icon-manager.php" );
140 144 require_once( BORDERLESS__INC . "/custom-post-types/custom-post-types.php" );
145 + require_once( BORDERLESS__INC . "/svg/svg.php" );
141 146 require_once( BORDERLESS__BLOCK_EDITOR . "/contact-information/contact-information.php" );
142 147 require_once( BORDERLESS__BLOCK_EDITOR . "/social-icons/social-icons.php" );
143 148 require_once( BORDERLESS__BLOCK_EDITOR . "/spacer/spacer.php" );
144 149 require_once( BORDERLESS__ELEMENTOR . "/elementor.php" );
145 150 require_once( BORDERLESS__WPBAKERY . "/wpbakery.php" );
151 + require_once( BORDERLESS__INC . "/widgets/button.php" );
152 + require_once( BORDERLESS__INC . "/widgets/contact-info.php" );
153 + require_once( BORDERLESS__INC . "/widgets/divider.php" );
154 + require_once( BORDERLESS__INC . "/widgets/search.php" );
155 + require_once( BORDERLESS__INC . "/widgets/social-media.php" );
156 + require_once( BORDERLESS__INC . "/widgets/spacer.php" );
146 157 require_once( BORDERLESS__INC . "/helper.php" );
147 - require_once( BORDERLESS__INC . "/custom-post-types/templates.php" );
148 - require_once( BORDERLESS__LIBRARY__DIR . "templates/templates.php" );
149 - require_once( BORDERLESS__LIBRARY__DIR . "importer.php" );
150 158
151 159 if ( isset( $options['related_posts'] ) ) {
152 160 require_once( BORDERLESS__RELATED_POSTS . "/related-posts.php" );
153 161 }
162 +
163 + if ( $theme == 'Anzu' ) {
164 + require_once( BORDERLESS__INC . "/custom-post-types/anzu-templates.php" );
165 + }
166 +
167 + if ( $theme != 'Aesir' && $theme != 'Architect' && $theme != 'Beyond' && $theme != 'Cafe' && $theme != 'Church' && $theme != 'Construction' && $theme != 'Cryptocurrency' && $theme != 'Dark' && $theme != 'Edge' && $theme != 'Education' && $theme != 'Employment' && $theme != 'Financial' && $theme != 'Fitness' && $theme != 'Food' && $theme != 'Forum' && $theme != 'Gym' && $theme != 'Hotel' && $theme != 'Ink' && $theme != 'It' && $theme != 'Marvel' && $theme != 'Mechanic' && $theme != 'Medical' && $theme != 'Minimalist' && $theme != 'Music' && $theme != 'Nectar' && $theme != 'Nonprofit' && $theme != 'Peak' && $theme != 'Petshop' && $theme != 'Photography' && $theme != 'Politic' && $theme != 'Rare' && $theme != 'Realestate' && $theme != 'Resume' && $theme != 'Salon' && $theme != 'Seller' && $theme != 'Spark' && $theme != 'Sport' && $theme != 'Stream' && $theme != 'Traveler' && $theme != 'Visualmentor' && $theme != 'Wedding' && $theme != 'Winehouse' && $theme != 'Zenith' ) {
168 +
169 + require_once( BORDERLESS__LIBRARY__DIR . "templates/templates.php" );
170 + require_once( BORDERLESS__LIBRARY__DIR . "importer.php" );
171 +
172 + }
154 173
155 174 $this->loader = new Borderless_Loader();
156 175
157 176 }
@@ -168,9 +187,8 @@
168 187 $plugin_public = new Borderless_Public( $this->get_plugin_name(), $this->get_version() );
169 188
170 189 $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
171 190 $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
172 -
173 191
174 192 function borderless_settings_colors() {
175 193 $options = get_option( 'borderless' );
176 194