Version Description
- 2018-03-12
Download this release
Release Info
Developer | themeisle |
Plugin | Page Templater For Elementor |
Version | 1.2.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.4
- CHANGELOG.md +8 -0
- elementemplator.php +2 -2
- readme.md +59 -15
- readme.txt +59 -15
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/full-width-page-templates/composer.json +1 -1
- vendor/codeinwp/full-width-page-templates/themes/actions/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/ashe/inline-style.php +10 -0
- vendor/codeinwp/full-width-page-templates/themes/astra/inline-style.php +10 -0
- vendor/codeinwp/full-width-page-templates/themes/avant/inline-style.php +13 -0
- vendor/codeinwp/full-width-page-templates/themes/colormag/inline-style.php +18 -0
- vendor/codeinwp/full-width-page-templates/themes/consulting/inline-style.php +15 -0
- vendor/codeinwp/full-width-page-templates/themes/edge/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/editorial/inline-style.php +17 -0
- vendor/codeinwp/full-width-page-templates/themes/enlightenment/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/envo-business/inline-style.php +9 -0
- vendor/codeinwp/full-width-page-templates/themes/envy-blog/inline-style.php +13 -0
- vendor/codeinwp/full-width-page-templates/themes/experon/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/flash/inline-style.php +17 -0
- vendor/codeinwp/full-width-page-templates/themes/generatepress/inline-style.php +11 -7
- vendor/codeinwp/full-width-page-templates/themes/genesis/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/hestia/inline-style.php +8 -0
- vendor/codeinwp/full-width-page-templates/themes/hitmag/inline-style.php +30 -0
- vendor/codeinwp/full-width-page-templates/themes/hueman/inline-style.php +21 -0
- vendor/codeinwp/full-width-page-templates/themes/kale/inline-style.php +13 -0
- vendor/codeinwp/full-width-page-templates/themes/lodestar/inline-style.php +8 -0
- vendor/codeinwp/full-width-page-templates/themes/maxstore/inline-style.php +9 -0
- vendor/codeinwp/full-width-page-templates/themes/news-portal/inline-style.php +17 -0
- vendor/codeinwp/full-width-page-templates/themes/nikko-portfolio/inline-style.php +8 -0
- vendor/codeinwp/full-width-page-templates/themes/oceanwp/inline-style.php +8 -0
- vendor/codeinwp/full-width-page-templates/themes/online-shop/inline-style.php +19 -0
- vendor/codeinwp/full-width-page-templates/themes/poseidon/inline-style.php +16 -0
- vendor/codeinwp/full-width-page-templates/themes/primer/inline-style.php +12 -0
- vendor/codeinwp/full-width-page-templates/themes/renden/inline-style.php +16 -0
- vendor/codeinwp/full-width-page-templates/themes/shapely/inline-style.php +21 -0
- vendor/codeinwp/full-width-page-templates/themes/spacious/inline-style.php +41 -0
- vendor/codeinwp/full-width-page-templates/themes/storefront/inline-style.php +4 -1
- vendor/codeinwp/full-width-page-templates/themes/sydney/inline-style.php +3 -2
- vendor/codeinwp/full-width-page-templates/themes/total/inline-style.php +8 -0
- vendor/codeinwp/full-width-page-templates/themes/twentyfifteen/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/twentyfourteen/inline-style.php +2 -3
- vendor/codeinwp/full-width-page-templates/themes/twentyseventeen/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/twentysixteen/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/twentythirteen/inline-style.php +3 -3
- vendor/codeinwp/full-width-page-templates/themes/twentytwelve/inline-style.php +13 -0
- vendor/codeinwp/full-width-page-templates/themes/vantage/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/virtue/inline-style.php +1 -1
- vendor/codeinwp/full-width-page-templates/themes/vogue/inline-style.php +13 -0
- vendor/codeinwp/full-width-page-templates/themes/vt-blogging/inline-style.php +10 -0
- vendor/codeinwp/full-width-page-templates/themes/writee/inline-style.php +9 -0
- vendor/codeinwp/full-width-page-templates/themes/zerif-lite/functions.php +9 -0
- vendor/codeinwp/full-width-page-templates/themes/zerif-lite/inline-style.php +13 -0
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-endpoints.php +2 -2
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php +6 -6
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-logger.php +10 -10
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php +90 -10
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php +106 -92
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +8 -8
CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
### v1.2.3 - 2018-02-08
|
3 |
**Changes:**
|
4 |
* Made plugin structure more modular
|
1 |
|
2 |
+
### v1.2.4 - 2018-05-15
|
3 |
+
**Changes:**
|
4 |
+
* Adding Phlox theme to "Supported Themes" section - readme.md
|
5 |
+
|
6 |
+
### v1.2.4 - 2018-03-12
|
7 |
+
**Changes:**
|
8 |
+
* Added Compatibility with a lot of themes.
|
9 |
+
|
10 |
### v1.2.3 - 2018-02-08
|
11 |
**Changes:**
|
12 |
* Made plugin structure more modular
|
elementemplator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Page Templater For Elementor
|
4 |
* Plugin URI: https://themeisle.com/
|
5 |
* Description: A helper plugin for users of Elementor Pagebuilder. Adds 2 new templates for complete full width experience while using the page builder - support for a number of popular themes is built-in.
|
6 |
-
* Version: 1.2.
|
7 |
* Author: ThemeIsle
|
8 |
* Author URI: https://themeisle.com/
|
9 |
* Requires at least: 4.4
|
@@ -22,7 +22,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
22 |
------------------------------------------ */
|
23 |
|
24 |
/* Set plugin version constant. */
|
25 |
-
define( 'ET_VERSION', '1.2.
|
26 |
|
27 |
/* Set constant path to the plugin directory. */
|
28 |
define( 'ET_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
3 |
* Plugin Name: Page Templater For Elementor
|
4 |
* Plugin URI: https://themeisle.com/
|
5 |
* Description: A helper plugin for users of Elementor Pagebuilder. Adds 2 new templates for complete full width experience while using the page builder - support for a number of popular themes is built-in.
|
6 |
+
* Version: 1.2.4
|
7 |
* Author: ThemeIsle
|
8 |
* Author URI: https://themeisle.com/
|
9 |
* Requires at least: 4.4
|
22 |
------------------------------------------ */
|
23 |
|
24 |
/* Set plugin version constant. */
|
25 |
+
define( 'ET_VERSION', '1.2.4' );
|
26 |
|
27 |
/* Set constant path to the plugin directory. */
|
28 |
define( 'ET_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
readme.md
CHANGED
@@ -22,25 +22,64 @@ Adds 2 new templates for complete full width experience while using the page bui
|
|
22 |
- Template 2: Full width and no header or footer : Builder Fullwidth Blank
|
23 |
|
24 |
## Supported Themes ##
|
25 |
-
The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
|
26 |
|
27 |
* [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
|
28 |
-
* [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by
|
29 |
-
* [
|
30 |
-
* [
|
31 |
-
* [
|
32 |
-
* [
|
33 |
-
* [
|
34 |
-
* [
|
35 |
-
* [
|
36 |
-
* [
|
37 |
-
* [
|
38 |
-
* [
|
39 |
-
* [
|
40 |
-
* [
|
|
|
|
|
|
|
|
|
|
|
41 |
* [Enlightenment](https://wordpress.org/themes/enlightenment/) - by Daniel Tara
|
42 |
* [Actions](https://wordpress.org/themes/actions/) - by WPDevHQ
|
43 |
* [ActionsPro](https://wpdevhq.com/themes/actions-pro/) - by WPDevHQ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
If you are a theme author and would like to have your theme added to our supported list please provide details and we'll see what we can do.
|
46 |
|
@@ -90,6 +129,11 @@ Further details will be available near the time of the release.
|
|
90 |
2. Fullwidth no Header no Footer
|
91 |
|
92 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
93 |
### 1.2.3 - 2018-02-08 ###
|
94 |
|
95 |
* Made plugin structure more modular
|
@@ -160,4 +204,4 @@ Further details will be available near the time of the release.
|
|
160 |
* NEW: Added support to use the custom menu widget on full width blank template - ideal for anchor menus
|
161 |
|
162 |
### 1.0.0 ###
|
163 |
-
* Initial release.
|
22 |
- Template 2: Full width and no header or footer : Builder Fullwidth Blank
|
23 |
|
24 |
## Supported Themes ##
|
25 |
+
The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
|
26 |
|
27 |
* [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
|
28 |
+
* [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by ThemeIsle
|
29 |
+
* [Zerif Lite](https://themeisle.com/themes/zerif-lite) - by ThemeIsle
|
30 |
+
* [ShopIsle](https://wordpress.org/themes/shop-isle/) - by ThemeIsle
|
31 |
+
* [Orfeo](https://themeisle.com/themes/orfeo) - by ThemeIsle
|
32 |
+
* [Phlox](http://phlox.pro/) - by Averta
|
33 |
+
* [Edge](https://wordpress.org/themes/edge/) - By themefreesia
|
34 |
+
* [Experon](https://wordpress.org/themes/experon/) - ThinkUpThemes
|
35 |
+
* [Genesis](http://my.studiopress.com/themes/genesis/) - By StudioPress
|
36 |
+
* [GeneratePress](https://wordpress.org/themes/generatepress/) - By Tom Usborne
|
37 |
+
* [Storefront](https://wordpress.org/themes/storefront/) - by WooThemes/Automattic
|
38 |
+
* [TwentyTwelve](https://wordpress.org/themes/twentytwelve/) - by WordPress.org
|
39 |
+
* [TwentyThirteen](https://wordpress.org/themes/twentythirteen/) - by WordPress.org
|
40 |
+
* [TwentyFourteen](https://wordpress.org/themes/twentyfourteen/) - by WordPress.org
|
41 |
+
* [TwentyFifteen](https://wordpress.org/themes/twentyfifteen/) - by WordPress.org
|
42 |
+
* [TwentySixteen](https://wordpress.org/themes/twentysixteen/) - by WordPress.org
|
43 |
+
* [TwentySeventeen](https://wordpress.org/themes/twentyseventeen/) - by WordPress.org
|
44 |
+
* [Vantage](https://wordpress.org/themes/vantage/) - by Greg Priday
|
45 |
+
* [Virtue](https://wordpress.org/themes/virtue/) - by Kadence Themes
|
46 |
* [Enlightenment](https://wordpress.org/themes/enlightenment/) - by Daniel Tara
|
47 |
* [Actions](https://wordpress.org/themes/actions/) - by WPDevHQ
|
48 |
* [ActionsPro](https://wpdevhq.com/themes/actions-pro/) - by WPDevHQ
|
49 |
+
* [Kale](https://wordpress.org/themes/kale/) - by lyrathemes
|
50 |
+
* [InVogue](https://wordpress.org/themes/invogue) - by Kaira
|
51 |
+
* [Universal-Store](https://wordpress.org/themes/universal-store/) - by Themes4WP
|
52 |
+
* [Editorial](https://wordpress.org/themes/editorial/) - by Mystery Themes
|
53 |
+
* [Renden Business](https://wordpress.org/themes/renden-business/) - by ThinkUpThemes
|
54 |
+
* [Spacious](https://wordpress.org/themes/spacious/) - by ThemeGrill
|
55 |
+
* [Flash](https://wordpress.org/themes/spacious/) - by ThemeGrill
|
56 |
+
* [Writee](https://wordpress.org/themes/writee/) - by Scissor Themes
|
57 |
+
* [VT Blogging](https://wordpress.org/themes/vt-blogging/) - by VolThemes
|
58 |
+
* [One Page Express](https://wordpress.org/themes/one-page-express/) - by horearadu
|
59 |
+
* [Primer](https://wordpress.org/themes/primer/) - by GoDaddy
|
60 |
+
* [Vantage](https://wordpress.org/themes/vantage/) - by SiteOrigin
|
61 |
+
* [Customizr](https://wordpress.org/themes/customizr/) - by Nicolas Guillaume
|
62 |
+
* [Nikko Portfolio](https://wordpress.org/themes/nikko-portfolio/) - by Colormelon
|
63 |
+
* [Poseidon](https://wordpress.org/themes/poseidon/) - by ThemeZee
|
64 |
+
* [Envo Business](https://wordpress.org/themes/envo-business/) - by EnvoThemes
|
65 |
+
* [Hueman](https://wordpress.org/themes/hueman/) - by Nicolas Guillaume
|
66 |
+
* [News Portal](https://wordpress.org/themes/news-portal/) - by Mystery Themes
|
67 |
+
* [Illdy](https://wordpress.org/themes/illdy/) - by Silkalns
|
68 |
+
* [Envy Blog](https://wordpress.org/themes/envy-blog/) - by Precise Themes
|
69 |
+
* [Avant](https://wordpress.org/themes/avant/) - by Kaira
|
70 |
+
* [OceanWP](https://wordpress.org/themes/oceanwp/) - by oceanwp
|
71 |
+
* [Astra](https://wordpress.org/themes/astra/) - by Brainstorm Force
|
72 |
+
* [Mesmerize](https://wordpress.org/themes/mesmerize/) - by horearadu
|
73 |
+
* [Sydney](https://wordpress.org/themes/sydney/) - by athemes
|
74 |
+
* [Ashe](https://wordpress.org/themes/ashe/) - by Royal Flush
|
75 |
+
* [Lodestar](https://wordpress.org/themes/lodestar/) - by Automattic
|
76 |
+
* [Total](https://wordpress.org/themes/total/) - by Hash Themes
|
77 |
+
* [Consulting](https://wordpress.org/themes/consulting/) - by ThinkUpThemes
|
78 |
+
* [ColorMag](https://wordpress.org/themes/colormag/) - by ThemeGrill
|
79 |
+
* [OnePress](https://wordpress.org/themes/onepress/) - by FameThemes
|
80 |
+
* [Shapely](https://wordpress.org/themes/shapely/) - by Silkalns
|
81 |
+
* [HitMag](https://wordpress.org/themes/hitmag/) - by ThemezHut
|
82 |
+
* [Divi](https://www.elegantthemes.com/gallery/divi) - by Elegant Themes
|
83 |
|
84 |
If you are a theme author and would like to have your theme added to our supported list please provide details and we'll see what we can do.
|
85 |
|
129 |
2. Fullwidth no Header no Footer
|
130 |
|
131 |
## Changelog ##
|
132 |
+
### 1.2.4 - 2018-03-12 ###
|
133 |
+
|
134 |
+
* Added Compatibility with a lot of themes.
|
135 |
+
|
136 |
+
|
137 |
### 1.2.3 - 2018-02-08 ###
|
138 |
|
139 |
* Made plugin structure more modular
|
204 |
* NEW: Added support to use the custom menu widget on full width blank template - ideal for anchor menus
|
205 |
|
206 |
### 1.0.0 ###
|
207 |
+
* Initial release.
|
readme.txt
CHANGED
@@ -22,25 +22,64 @@ Adds 2 new templates for complete full width experience while using the page bui
|
|
22 |
- Template 2: Full width and no header or footer : Builder Fullwidth Blank
|
23 |
|
24 |
== Supported Themes ==
|
25 |
-
The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
|
26 |
|
27 |
* [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
|
28 |
-
* [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by
|
29 |
-
* [
|
30 |
-
* [
|
31 |
-
* [
|
32 |
-
* [
|
33 |
-
* [
|
34 |
-
* [
|
35 |
-
* [
|
36 |
-
* [
|
37 |
-
* [
|
38 |
-
* [
|
39 |
-
* [
|
40 |
-
* [
|
|
|
|
|
|
|
|
|
|
|
41 |
* [Enlightenment](https://wordpress.org/themes/enlightenment/) - by Daniel Tara
|
42 |
* [Actions](https://wordpress.org/themes/actions/) - by WPDevHQ
|
43 |
* [ActionsPro](https://wpdevhq.com/themes/actions-pro/) - by WPDevHQ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
If you are a theme author and would like to have your theme added to our supported list please provide details and we'll see what we can do.
|
46 |
|
@@ -90,6 +129,11 @@ Further details will be available near the time of the release.
|
|
90 |
2. Fullwidth no Header no Footer
|
91 |
|
92 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
93 |
= 1.2.3 - 2018-02-08 =
|
94 |
|
95 |
* Made plugin structure more modular
|
@@ -160,4 +204,4 @@ Further details will be available near the time of the release.
|
|
160 |
* NEW: Added support to use the custom menu widget on full width blank template - ideal for anchor menus
|
161 |
|
162 |
= 1.0.0 =
|
163 |
-
* Initial release.
|
22 |
- Template 2: Full width and no header or footer : Builder Fullwidth Blank
|
23 |
|
24 |
== Supported Themes ==
|
25 |
+
The following themes are currently supported out of the box - if your desired theme is not list you may need to add some custom css.
|
26 |
|
27 |
* [Hestia](https://wordpress.org/themes/hestia/) - by ThemeIsle
|
28 |
+
* [Hestia Pro](https://themeisle.com/themes/hestia-pro/) - by ThemeIsle
|
29 |
+
* [Zerif Lite](https://themeisle.com/themes/zerif-lite) - by ThemeIsle
|
30 |
+
* [ShopIsle](https://wordpress.org/themes/shop-isle/) - by ThemeIsle
|
31 |
+
* [Orfeo](https://themeisle.com/themes/orfeo) - by ThemeIsle
|
32 |
+
* [Phlox](http://phlox.pro/) - by Averta
|
33 |
+
* [Edge](https://wordpress.org/themes/edge/) - By themefreesia
|
34 |
+
* [Experon](https://wordpress.org/themes/experon/) - ThinkUpThemes
|
35 |
+
* [Genesis](http://my.studiopress.com/themes/genesis/) - By StudioPress
|
36 |
+
* [GeneratePress](https://wordpress.org/themes/generatepress/) - By Tom Usborne
|
37 |
+
* [Storefront](https://wordpress.org/themes/storefront/) - by WooThemes/Automattic
|
38 |
+
* [TwentyTwelve](https://wordpress.org/themes/twentytwelve/) - by WordPress.org
|
39 |
+
* [TwentyThirteen](https://wordpress.org/themes/twentythirteen/) - by WordPress.org
|
40 |
+
* [TwentyFourteen](https://wordpress.org/themes/twentyfourteen/) - by WordPress.org
|
41 |
+
* [TwentyFifteen](https://wordpress.org/themes/twentyfifteen/) - by WordPress.org
|
42 |
+
* [TwentySixteen](https://wordpress.org/themes/twentysixteen/) - by WordPress.org
|
43 |
+
* [TwentySeventeen](https://wordpress.org/themes/twentyseventeen/) - by WordPress.org
|
44 |
+
* [Vantage](https://wordpress.org/themes/vantage/) - by Greg Priday
|
45 |
+
* [Virtue](https://wordpress.org/themes/virtue/) - by Kadence Themes
|
46 |
* [Enlightenment](https://wordpress.org/themes/enlightenment/) - by Daniel Tara
|
47 |
* [Actions](https://wordpress.org/themes/actions/) - by WPDevHQ
|
48 |
* [ActionsPro](https://wpdevhq.com/themes/actions-pro/) - by WPDevHQ
|
49 |
+
* [Kale](https://wordpress.org/themes/kale/) - by lyrathemes
|
50 |
+
* [InVogue](https://wordpress.org/themes/invogue) - by Kaira
|
51 |
+
* [Universal-Store](https://wordpress.org/themes/universal-store/) - by Themes4WP
|
52 |
+
* [Editorial](https://wordpress.org/themes/editorial/) - by Mystery Themes
|
53 |
+
* [Renden Business](https://wordpress.org/themes/renden-business/) - by ThinkUpThemes
|
54 |
+
* [Spacious](https://wordpress.org/themes/spacious/) - by ThemeGrill
|
55 |
+
* [Flash](https://wordpress.org/themes/spacious/) - by ThemeGrill
|
56 |
+
* [Writee](https://wordpress.org/themes/writee/) - by Scissor Themes
|
57 |
+
* [VT Blogging](https://wordpress.org/themes/vt-blogging/) - by VolThemes
|
58 |
+
* [One Page Express](https://wordpress.org/themes/one-page-express/) - by horearadu
|
59 |
+
* [Primer](https://wordpress.org/themes/primer/) - by GoDaddy
|
60 |
+
* [Vantage](https://wordpress.org/themes/vantage/) - by SiteOrigin
|
61 |
+
* [Customizr](https://wordpress.org/themes/customizr/) - by Nicolas Guillaume
|
62 |
+
* [Nikko Portfolio](https://wordpress.org/themes/nikko-portfolio/) - by Colormelon
|
63 |
+
* [Poseidon](https://wordpress.org/themes/poseidon/) - by ThemeZee
|
64 |
+
* [Envo Business](https://wordpress.org/themes/envo-business/) - by EnvoThemes
|
65 |
+
* [Hueman](https://wordpress.org/themes/hueman/) - by Nicolas Guillaume
|
66 |
+
* [News Portal](https://wordpress.org/themes/news-portal/) - by Mystery Themes
|
67 |
+
* [Illdy](https://wordpress.org/themes/illdy/) - by Silkalns
|
68 |
+
* [Envy Blog](https://wordpress.org/themes/envy-blog/) - by Precise Themes
|
69 |
+
* [Avant](https://wordpress.org/themes/avant/) - by Kaira
|
70 |
+
* [OceanWP](https://wordpress.org/themes/oceanwp/) - by oceanwp
|
71 |
+
* [Astra](https://wordpress.org/themes/astra/) - by Brainstorm Force
|
72 |
+
* [Mesmerize](https://wordpress.org/themes/mesmerize/) - by horearadu
|
73 |
+
* [Sydney](https://wordpress.org/themes/sydney/) - by athemes
|
74 |
+
* [Ashe](https://wordpress.org/themes/ashe/) - by Royal Flush
|
75 |
+
* [Lodestar](https://wordpress.org/themes/lodestar/) - by Automattic
|
76 |
+
* [Total](https://wordpress.org/themes/total/) - by Hash Themes
|
77 |
+
* [Consulting](https://wordpress.org/themes/consulting/) - by ThinkUpThemes
|
78 |
+
* [ColorMag](https://wordpress.org/themes/colormag/) - by ThemeGrill
|
79 |
+
* [OnePress](https://wordpress.org/themes/onepress/) - by FameThemes
|
80 |
+
* [Shapely](https://wordpress.org/themes/shapely/) - by Silkalns
|
81 |
+
* [HitMag](https://wordpress.org/themes/hitmag/) - by ThemezHut
|
82 |
+
* [Divi](https://www.elegantthemes.com/gallery/divi) - by Elegant Themes
|
83 |
|
84 |
If you are a theme author and would like to have your theme added to our supported list please provide details and we'll see what we can do.
|
85 |
|
129 |
2. Fullwidth no Header no Footer
|
130 |
|
131 |
== Changelog ==
|
132 |
+
= 1.2.4 - 2018-03-12 =
|
133 |
+
|
134 |
+
* Added Compatibility with a lot of themes.
|
135 |
+
|
136 |
+
|
137 |
= 1.2.3 - 2018-02-08 =
|
138 |
|
139 |
* Made plugin structure more modular
|
204 |
* NEW: Added support to use the custom menu widget on full width blank template - ideal for anchor menus
|
205 |
|
206 |
= 1.0.0 =
|
207 |
+
* Initial release.
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"custom-posttype-class.php":"171a2a809e20c6b0c0542c190cc87485","elementemplater-class.php":"1aefa363265a0dfa3cbc32e532a4463c","elementemplator.php":"
|
1 |
+
{"custom-posttype-class.php":"171a2a809e20c6b0c0542c190cc87485","elementemplater-class.php":"1aefa363265a0dfa3cbc32e532a4463c","elementemplator.php":"2764ad9c85c5f0c0f65dfbc0befb9310"}
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit2bdec098d49404cb306708b416f50a60::getLoader();
|
vendor/codeinwp/full-width-page-templates/composer.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"name": "codeinwp/full-width-page-templates",
|
3 |
"description": "A WordPress library to create full width page templates.",
|
4 |
"type": "library",
|
5 |
-
"version": "1.0.
|
6 |
"license": "GPL-2.0-or-later",
|
7 |
"homepage": "https://github.com/Codeinwp/full-width-page-templates",
|
8 |
"authors": [
|
2 |
"name": "codeinwp/full-width-page-templates",
|
3 |
"description": "A WordPress library to create full width page templates.",
|
4 |
"type": "library",
|
5 |
+
"version": "1.0.2",
|
6 |
"license": "GPL-2.0-or-later",
|
7 |
"homepage": "https://github.com/Codeinwp/full-width-page-templates",
|
8 |
"authors": [
|
vendor/codeinwp/full-width-page-templates/themes/actions/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$style = '
|
4 |
.page-template-builder-fullwidth .main-content-area .main,
|
5 |
.page-template-builder-fullwidth-std .main-content-area .main {
|
1 |
<?php
|
2 |
+
/* Support for Actions theme */
|
3 |
$style = '
|
4 |
.page-template-builder-fullwidth .main-content-area .main,
|
5 |
.page-template-builder-fullwidth-std .main-content-area .main {
|
vendor/codeinwp/full-width-page-templates/themes/ashe/inline-style.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Ashe theme */
|
3 |
+
$ashe = '
|
4 |
+
@media (min-width: 979px) {
|
5 |
+
.page-template-builder-fullwidth-std #main-nav {
|
6 |
+
overflow: hidden;
|
7 |
+
}
|
8 |
+
}
|
9 |
+
';
|
10 |
+
wp_add_inline_style( 'ashe-style', $ashe);
|
vendor/codeinwp/full-width-page-templates/themes/astra/inline-style.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Astra theme */
|
3 |
+
$astra = '
|
4 |
+
.page-template-builder-fullwidth-std #content .ast-container {
|
5 |
+
max-width: 100%;
|
6 |
+
padding: 0;
|
7 |
+
margin: 0;
|
8 |
+
}
|
9 |
+
';
|
10 |
+
wp_add_inline_style( 'astra-theme-css', $astra );
|
vendor/codeinwp/full-width-page-templates/themes/avant/inline-style.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Avant theme */
|
3 |
+
$avant = '
|
4 |
+
.page-template-builder-fullwidth-std #page > .site-container {
|
5 |
+
padding: 0;
|
6 |
+
margin: 0;
|
7 |
+
max-width: 100%;
|
8 |
+
}
|
9 |
+
.page-template-builder-fullwidth-std .site-footer {
|
10 |
+
margin: 0;
|
11 |
+
}
|
12 |
+
';
|
13 |
+
wp_add_inline_style( 'avant-style', $avant );
|
vendor/codeinwp/full-width-page-templates/themes/colormag/inline-style.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Colormag theme */
|
3 |
+
$colormag = '
|
4 |
+
.page-template-builder-fullwidth-std #main {
|
5 |
+
padding: 0;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std #main .inner-wrap {
|
8 |
+
margin: 0;
|
9 |
+
max-width: 100%;
|
10 |
+
}
|
11 |
+
@media (max-width: 1190px) {
|
12 |
+
.page-template-builder-fullwidth-std #main .inner-wrap {
|
13 |
+
margin: 0;
|
14 |
+
width: 100%;
|
15 |
+
}
|
16 |
+
}
|
17 |
+
';
|
18 |
+
wp_add_inline_style( 'colormag_style', $colormag );
|
vendor/codeinwp/full-width-page-templates/themes/consulting/inline-style.php
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Consulting theme */
|
3 |
+
$consulting = '
|
4 |
+
.page-template-builder-fullwidth-std #site-header #intro {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std #content {
|
8 |
+
padding: 0;
|
9 |
+
}
|
10 |
+
.page-template-builder-fullwidth-std #content #content-core {
|
11 |
+
margin: 0;
|
12 |
+
max-width: 100%;
|
13 |
+
}
|
14 |
+
';
|
15 |
+
wp_add_inline_style( 'consulting-thinkup-style', $consulting );
|
vendor/codeinwp/full-width-page-templates/themes/edge/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$edge = '
|
4 |
.page-template-builder-fullwidth-std #content {
|
5 |
padding: 0;
|
1 |
<?php
|
2 |
+
/* Support for Virtue theme */
|
3 |
$edge = '
|
4 |
.page-template-builder-fullwidth-std #content {
|
5 |
padding: 0;
|
vendor/codeinwp/full-width-page-templates/themes/editorial/inline-style.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Editorial theme */
|
3 |
+
$editorial = '
|
4 |
+
.page-template-builder-fullwidth-std {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std #masthead {
|
8 |
+
margin-bottom: 0;
|
9 |
+
}
|
10 |
+
.page-template-builder-fullwidth-std #page > .site-content .mt-container {
|
11 |
+
padding: 0;
|
12 |
+
margin: 0;
|
13 |
+
width: 100%;
|
14 |
+
}
|
15 |
+
';
|
16 |
+
wp_add_inline_style( 'editorial-style', $editorial);
|
17 |
+
|
vendor/codeinwp/full-width-page-templates/themes/enlightenment/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$style = '
|
4 |
.elementor-body .site {
|
5 |
overflow-x: visible;
|
1 |
<?php
|
2 |
+
/* Support for Actions theme */
|
3 |
$style = '
|
4 |
.elementor-body .site {
|
5 |
overflow-x: visible;
|
vendor/codeinwp/full-width-page-templates/themes/envo-business/inline-style.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Envo Business theme */
|
3 |
+
$envob = '
|
4 |
+
.page-template-builder-fullwidth-std .main-container {
|
5 |
+
padding: 0;
|
6 |
+
width: 100%;
|
7 |
+
}
|
8 |
+
';
|
9 |
+
wp_add_inline_style( 'envo-business-stylesheet', $envob );
|
vendor/codeinwp/full-width-page-templates/themes/envy-blog/inline-style.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Envy Blog theme */
|
3 |
+
$envyblog = '
|
4 |
+
.page-template-builder-fullwidth-std .container {
|
5 |
+
padding: 0;
|
6 |
+
margin: 0;
|
7 |
+
width: 100%;
|
8 |
+
}
|
9 |
+
.page-template-builder-fullwidth-std #breadcrumb {
|
10 |
+
display: none;
|
11 |
+
}
|
12 |
+
';
|
13 |
+
wp_add_inline_style( 'envy-blog-style', $envyblog );
|
vendor/codeinwp/full-width-page-templates/themes/experon/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$experon = '
|
4 |
.page-template-builder-fullwidth-std #content {
|
5 |
padding: 0;
|
1 |
<?php
|
2 |
+
/* Support for Virtue theme */
|
3 |
$experon = '
|
4 |
.page-template-builder-fullwidth-std #content {
|
5 |
padding: 0;
|
vendor/codeinwp/full-width-page-templates/themes/flash/inline-style.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Flash theme */
|
3 |
+
$flash = '
|
4 |
+
.page-template-builder-fullwidth-std #page #flash-breadcrumbs {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std .site-content .tg-container {
|
8 |
+
max-width: 100%;
|
9 |
+
}
|
10 |
+
@media (max-width: 1200px) {
|
11 |
+
.page-template-builder-fullwidth-std .site-content .tg-container {
|
12 |
+
padding: 0;
|
13 |
+
width: 100%;
|
14 |
+
}
|
15 |
+
}
|
16 |
+
';
|
17 |
+
wp_add_inline_style( 'flash-style', $flash );
|
vendor/codeinwp/full-width-page-templates/themes/generatepress/inline-style.php
CHANGED
@@ -1,11 +1,15 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
-
$style = '
|
4 |
-
.
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
';
|
11 |
wp_add_inline_style( 'generate-style', $style );
|
1 |
<?php
|
2 |
+
/* Support for GeneratePress theme */
|
3 |
+
$style = '
|
4 |
+
.page-template-builder-fullwidth-std #page {
|
5 |
+
margin: 0;
|
6 |
+
max-width: 100%;
|
7 |
+
}
|
8 |
+
.page-template-builder-fullwidth-std .entry-header .grid-container .entry-title {
|
9 |
+
display: none;
|
10 |
+
}
|
11 |
+
.page-template-builder-fullwidth .entry-header {
|
12 |
+
display: none;
|
13 |
}
|
14 |
';
|
15 |
wp_add_inline_style( 'generate-style', $style );
|
vendor/codeinwp/full-width-page-templates/themes/genesis/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$genesis = '
|
4 |
.page-template-builder-fullwidth .site-inner,
|
5 |
.page-template-builder-fullwidth-std .site-inner {
|
1 |
<?php
|
2 |
+
/* Support for Genesis theme */
|
3 |
$genesis = '
|
4 |
.page-template-builder-fullwidth .site-inner,
|
5 |
.page-template-builder-fullwidth-std .site-inner {
|
vendor/codeinwp/full-width-page-templates/themes/hestia/inline-style.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Hestia theme */
|
3 |
+
$hestia = '
|
4 |
+
.page-template-builder-fullwidth-std .header > .elementor {
|
5 |
+
padding-top: 70px;
|
6 |
+
}
|
7 |
+
';
|
8 |
+
wp_add_inline_style( 'hestia_style', $hestia);
|
vendor/codeinwp/full-width-page-templates/themes/hitmag/inline-style.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for HitMag theme */
|
3 |
+
$hitmag = '
|
4 |
+
.page-template-builder-fullwidth-std .hitmag-wrapper {
|
5 |
+
margin: 0;
|
6 |
+
max-width: 100%;
|
7 |
+
}
|
8 |
+
.page-template-builder-fullwidth-std .hitmag-wrapper .site-content {
|
9 |
+
padding: 0;
|
10 |
+
}
|
11 |
+
.page-template-builder-fullwidth-std .hitmag-wrapper .site-header .hm-container {
|
12 |
+
padding: 0 40px;
|
13 |
+
}
|
14 |
+
.page-template-builder-fullwidth-std .hitmag-wrapper .hm-container {
|
15 |
+
padding: 0;
|
16 |
+
margin: 0;
|
17 |
+
max-width: 100%;
|
18 |
+
}
|
19 |
+
.page-template-builder-fullwidth-std .hm-top-bar {
|
20 |
+
display: none;
|
21 |
+
}
|
22 |
+
.page-template-builder-fullwidth-std .site-header {
|
23 |
+
margin: 0;
|
24 |
+
}
|
25 |
+
.page-template-builder-fullwidth-std .hitmag-wrapper .site-footer {
|
26 |
+
padding: 0 40px;
|
27 |
+
background-color: #222;
|
28 |
+
}
|
29 |
+
';
|
30 |
+
wp_add_inline_style( 'hitmag-style', $hitmag );
|
vendor/codeinwp/full-width-page-templates/themes/hueman/inline-style.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Hueman theme */
|
3 |
+
$hueman = '
|
4 |
+
.page-template-builder-fullwidth-std #header {
|
5 |
+
padding-bottom: 0;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std #wrapper #page {
|
8 |
+
padding: 0;
|
9 |
+
margin: 0;
|
10 |
+
}
|
11 |
+
.page-template-builder-fullwidth-std #wrapper #page .container-inner {
|
12 |
+
max-width: 100%;
|
13 |
+
}
|
14 |
+
.page-template-builder-fullwidth-std #wrapper #page .container-inner .main-inner {
|
15 |
+
padding: 0;
|
16 |
+
}
|
17 |
+
.page-template-builder-fullwidth-std #footer #nav-footer {
|
18 |
+
border-top: none;
|
19 |
+
}
|
20 |
+
';
|
21 |
+
wp_add_inline_style( 'hueman-main-style', $hueman );
|
vendor/codeinwp/full-width-page-templates/themes/kale/inline-style.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Kyle theme */
|
3 |
+
$kyle = '
|
4 |
+
.page-template-builder-fullwidth-std .main-wrapper .container {
|
5 |
+
padding: 0;
|
6 |
+
margin: 0;
|
7 |
+
width: 100%;
|
8 |
+
}
|
9 |
+
.page-template-builder-fullwidth-std .header > *:last-child {
|
10 |
+
margin-bottom: 0;
|
11 |
+
}
|
12 |
+
';
|
13 |
+
wp_add_inline_style( 'kale-style', $kyle );
|
vendor/codeinwp/full-width-page-templates/themes/lodestar/inline-style.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Lodestar theme */
|
3 |
+
$lodestar = '
|
4 |
+
.page-template-builder-fullwidth-std .site-content {
|
5 |
+
padding: 0;
|
6 |
+
}
|
7 |
+
';
|
8 |
+
wp_add_inline_style( 'lodestar-style', $lodestar);
|
vendor/codeinwp/full-width-page-templates/themes/maxstore/inline-style.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for MaxStore theme */
|
3 |
+
$maxstore = '
|
4 |
+
.page-template-builder-fullwidth-std .rsrc-footer .rsrc-author-credits {
|
5 |
+
border-top: none;
|
6 |
+
}
|
7 |
+
';
|
8 |
+
wp_add_inline_style( 'maxstore-stylesheet', $maxstore);
|
9 |
+
|
vendor/codeinwp/full-width-page-templates/themes/news-portal/inline-style.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for News Portal theme */
|
3 |
+
$newsportal = '
|
4 |
+
.page-template-builder-fullwidth-std #page .site-content,
|
5 |
+
.page-template-builder-fullwidth-std #page .site-footer {
|
6 |
+
margin: 0;
|
7 |
+
}
|
8 |
+
.page-template-builder-fullwidth-std #page .site-content .mt-container {
|
9 |
+
width: 100%;
|
10 |
+
}
|
11 |
+
@media (max-width: 1200px) {
|
12 |
+
.page-template-builder-fullwidth-std #page .site-content .mt-container {
|
13 |
+
padding: 0;
|
14 |
+
}
|
15 |
+
}
|
16 |
+
';
|
17 |
+
wp_add_inline_style( 'news-portal-style', $newsportal );
|
vendor/codeinwp/full-width-page-templates/themes/nikko-portfolio/inline-style.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Nikko Portfolio theme */
|
3 |
+
$style = '
|
4 |
+
.page-template-builder-fullwidth-std #page {
|
5 |
+
padding: 0;
|
6 |
+
}
|
7 |
+
';
|
8 |
+
wp_add_inline_style( 'nikko-portfolio-style', $style );
|
vendor/codeinwp/full-width-page-templates/themes/oceanwp/inline-style.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for OceanWP theme */
|
3 |
+
$oceanwp = '
|
4 |
+
.page-template-builder-fullwidth-std .page-header {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
+
';
|
8 |
+
wp_add_inline_style( 'oceanwp-style', $oceanwp );
|
vendor/codeinwp/full-width-page-templates/themes/online-shop/inline-style.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Online Shop theme */
|
3 |
+
$style = '
|
4 |
+
.page-template-builder-fullwidth-std .site-header .header-wrapper {
|
5 |
+
padding-bottom: 0;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std .site-content {
|
8 |
+
width: 100%;
|
9 |
+
}
|
10 |
+
.page-template-builder-fullwidth-std .site-content .breadcrumbs {
|
11 |
+
display: none;
|
12 |
+
}
|
13 |
+
@media (max-width: 992px) {
|
14 |
+
.page-template-builder-fullwidth-std .site-content {
|
15 |
+
padding: 0;
|
16 |
+
}
|
17 |
+
}
|
18 |
+
';
|
19 |
+
wp_add_inline_style( 'online-shop-style', $style );
|
vendor/codeinwp/full-width-page-templates/themes/poseidon/inline-style.php
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Poseidon theme */
|
3 |
+
$poseidon = '
|
4 |
+
.page-template-builder-fullwidth-std .site-header {
|
5 |
+
border-bottom: none;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std .site-content {
|
8 |
+
padding: 0;
|
9 |
+
margin: 0;
|
10 |
+
max-width: 100%;
|
11 |
+
}
|
12 |
+
.page-template-builder-fullwidth-std .footer-wrap {
|
13 |
+
border-top: none;
|
14 |
+
}
|
15 |
+
';
|
16 |
+
wp_add_inline_style( 'poseidon-stylesheet', $poseidon );
|
vendor/codeinwp/full-width-page-templates/themes/primer/inline-style.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Primer theme */
|
3 |
+
$primer = '
|
4 |
+
.page-template-builder-fullwidth-std .page-title-container {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std .site-content {
|
8 |
+
margin: 0;
|
9 |
+
max-width: 100%;
|
10 |
+
}
|
11 |
+
';
|
12 |
+
wp_add_inline_style( 'primer', $primer );
|
vendor/codeinwp/full-width-page-templates/themes/renden/inline-style.php
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Renden theme */
|
3 |
+
$renden = '
|
4 |
+
.page-template-builder-fullwidth-std #site-header #intro {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std #body-core #content {
|
8 |
+
padding: 0;
|
9 |
+
}
|
10 |
+
.page-template-builder-fullwidth-std #body-core #content #content-core {
|
11 |
+
padding: 0;
|
12 |
+
margin: 0;
|
13 |
+
max-width: 100%;
|
14 |
+
}
|
15 |
+
';
|
16 |
+
wp_add_inline_style( 'thinkup-style', $renden );
|
vendor/codeinwp/full-width-page-templates/themes/shapely/inline-style.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Shapely theme */
|
3 |
+
$shapely = '
|
4 |
+
.page-template-builder-fullwidth-std .site .main-container .page-title-section {
|
5 |
+
display: none;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std .site .main-container .content-area {
|
8 |
+
padding: 0;
|
9 |
+
}
|
10 |
+
.page-template-builder-fullwidth-std .site .main-container .content-area .container {
|
11 |
+
padding: 0;
|
12 |
+
margin: 0;
|
13 |
+
width: 100%;
|
14 |
+
}
|
15 |
+
.page-template-builder-fullwidth-std section {
|
16 |
+
padding: 0;
|
17 |
+
position: initial;
|
18 |
+
overflow: initial;
|
19 |
+
}
|
20 |
+
';
|
21 |
+
wp_add_inline_style( 'shapely-style', $shapely );
|
vendor/codeinwp/full-width-page-templates/themes/spacious/inline-style.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Spacious theme */
|
3 |
+
$spacious = '
|
4 |
+
.page-template-builder-fullwidth-std {
|
5 |
+
padding: 0;
|
6 |
+
}
|
7 |
+
.page-template-builder-fullwidth-std #page {
|
8 |
+
margin: 0;
|
9 |
+
max-width: 100%;
|
10 |
+
}
|
11 |
+
.page-template-builder-fullwidth-std #page #main {
|
12 |
+
padding: 0;
|
13 |
+
}
|
14 |
+
.page-template-builder-fullwidth-std #page #main .inner-wrap {
|
15 |
+
max-width: 100%;
|
16 |
+
}
|
17 |
+
@media (max-width: 1308px) {
|
18 |
+
.page-template-builder-fullwidth-std #page,
|
19 |
+
.page-template-builder-fullwidth-std #page #main .inner-wrap {
|
20 |
+
width: 100%;
|
21 |
+
}
|
22 |
+
}
|
23 |
+
@media (max-width: 768px) {
|
24 |
+
.page-template-builder-fullwidth-std .site-header #header-text-nav-container {
|
25 |
+
border-bottom: none;
|
26 |
+
}
|
27 |
+
.page-template-builder-fullwidth-std .site-header .inner-wrap {
|
28 |
+
width: 100%;
|
29 |
+
}
|
30 |
+
.page-template-builder-fullwidth-std .site-header .inner-wrap #header-text-nav-wrap {
|
31 |
+
padding: 0;
|
32 |
+
}
|
33 |
+
}
|
34 |
+
.page-template-builder-fullwidth-std .site-header .header-post-title-container {
|
35 |
+
display: none;
|
36 |
+
}
|
37 |
+
.page-template-builder-fullwidth {
|
38 |
+
padding: 0;
|
39 |
+
}
|
40 |
+
';
|
41 |
+
wp_add_inline_style( 'spacious_style', $spacious );
|
vendor/codeinwp/full-width-page-templates/themes/storefront/inline-style.php
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$css = '
|
|
|
|
|
|
|
4 |
.page-template-builder-fullwidth-std .site-content .col-full {
|
5 |
max-width: 100%;
|
6 |
padding: 0;
|
1 |
<?php
|
2 |
+
/* Support for Storefront theme */
|
3 |
$css = '
|
4 |
+
.page-template-builder-fullwidth-std .site-header {
|
5 |
+
border: none;
|
6 |
+
}
|
7 |
.page-template-builder-fullwidth-std .site-content .col-full {
|
8 |
max-width: 100%;
|
9 |
padding: 0;
|
vendor/codeinwp/full-width-page-templates/themes/sydney/inline-style.php
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$sydney = '
|
4 |
.page-template-builder-fullwidth-std .page-wrap,
|
5 |
.page-template-builder-fullwidth-std .page-wrap .content-wrapper {
|
6 |
padding: 0;
|
7 |
margin: 0;
|
|
|
8 |
}
|
9 |
-
.page-template-builder-fullwidth-std
|
10 |
width: 100%;
|
11 |
overflow: hidden;
|
12 |
}
|
1 |
<?php
|
2 |
+
/* Support for Sydney theme */
|
3 |
$sydney = '
|
4 |
.page-template-builder-fullwidth-std .page-wrap,
|
5 |
.page-template-builder-fullwidth-std .page-wrap .content-wrapper {
|
6 |
padding: 0;
|
7 |
margin: 0;
|
8 |
+
width: 100%
|
9 |
}
|
10 |
+
.page-template-builder-fullwidth-std.elementor-page .page-wrap .container {
|
11 |
width: 100%;
|
12 |
overflow: hidden;
|
13 |
}
|
vendor/codeinwp/full-width-page-templates/themes/total/inline-style.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Total theme */
|
3 |
+
$total = '
|
4 |
+
.page-template-builder-fullwidth-std #ht-colophon {
|
5 |
+
margin: 0;
|
6 |
+
}
|
7 |
+
';
|
8 |
+
wp_add_inline_style( 'total-style', $total );
|
vendor/codeinwp/full-width-page-templates/themes/twentyfifteen/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$style = '
|
4 |
body.page-template-builder-fullwidth:before {
|
5 |
display: none;
|
1 |
<?php
|
2 |
+
/* Support for Twenty Fifteen theme */
|
3 |
$style = '
|
4 |
body.page-template-builder-fullwidth:before {
|
5 |
display: none;
|
vendor/codeinwp/full-width-page-templates/themes/twentyfourteen/inline-style.php
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$style = '
|
4 |
-
.page-template-builder-fullwidth-std
|
5 |
max-width: 100%;
|
6 |
-
overflow: hidden;
|
7 |
}
|
8 |
.page-template-builder-fullwidth-std .site::before {
|
9 |
display: none;
|
1 |
<?php
|
2 |
+
/* Support for Twenty Fourteen theme */
|
3 |
$style = '
|
4 |
+
.page-template-builder-fullwidth-std #page {
|
5 |
max-width: 100%;
|
|
|
6 |
}
|
7 |
.page-template-builder-fullwidth-std .site::before {
|
8 |
display: none;
|
vendor/codeinwp/full-width-page-templates/themes/twentyseventeen/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$style = '.elementor-editor-active .site-content {
|
4 |
padding: 2.5em 0 0;
|
5 |
}
|
1 |
<?php
|
2 |
+
/* Support for Twenty Seventeen theme */
|
3 |
$style = '.elementor-editor-active .site-content {
|
4 |
padding: 2.5em 0 0;
|
5 |
}
|
vendor/codeinwp/full-width-page-templates/themes/twentysixteen/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$style = '
|
4 |
body.page-template-builder-fullwidth.elementor-page,
|
5 |
body.page-template-builder-fullwidth-std.elementor-page {
|
1 |
<?php
|
2 |
+
/* Support for Twenty Sixteen theme */
|
3 |
$style = '
|
4 |
body.page-template-builder-fullwidth.elementor-page,
|
5 |
body.page-template-builder-fullwidth-std.elementor-page {
|
vendor/codeinwp/full-width-page-templates/themes/twentythirteen/inline-style.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$thirteen = '
|
4 |
-
.page-template-builder-fullwidth-std .
|
5 |
max-width: 100%;
|
6 |
-
|
7 |
}
|
8 |
.page-template-builder-fullwidth-std .site-header {
|
9 |
max-width: 100%;
|
1 |
<?php
|
2 |
+
/* Support for Twenty Thirteen theme */
|
3 |
$thirteen = '
|
4 |
+
.page-template-builder-fullwidth-std .site {
|
5 |
max-width: 100%;
|
6 |
+
border: none;
|
7 |
}
|
8 |
.page-template-builder-fullwidth-std .site-header {
|
9 |
max-width: 100%;
|
vendor/codeinwp/full-width-page-templates/themes/twentytwelve/inline-style.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Twenty Twelve theme */
|
3 |
+
$style = '
|
4 |
+
.page-template-builder-fullwidth-std #page {
|
5 |
+
padding: 0;
|
6 |
+
margin: 0;
|
7 |
+
max-width: 100%;
|
8 |
+
}
|
9 |
+
.page-template-builder-fullwidth-std #page .site-header {
|
10 |
+
padding: 0 2.857142857rem;
|
11 |
+
}
|
12 |
+
';
|
13 |
+
wp_add_inline_style( 'twentytwelve-style', $style );
|
vendor/codeinwp/full-width-page-templates/themes/vantage/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$vantage = '
|
4 |
.page-template-builder-fullwidth-std #main {
|
5 |
padding: 0;
|
1 |
<?php
|
2 |
+
/* Support for Vantage theme */
|
3 |
$vantage = '
|
4 |
.page-template-builder-fullwidth-std #main {
|
5 |
padding: 0;
|
vendor/codeinwp/full-width-page-templates/themes/virtue/inline-style.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* Support for
|
3 |
$virtue = '.page-template-builder-fullwidth .headerclass,
|
4 |
.page-template-builder-fullwidth .footerclass {
|
5 |
display: none;
|
1 |
<?php
|
2 |
+
/* Support for Virtue theme */
|
3 |
$virtue = '.page-template-builder-fullwidth .headerclass,
|
4 |
.page-template-builder-fullwidth .footerclass {
|
5 |
display: none;
|
vendor/codeinwp/full-width-page-templates/themes/vogue/inline-style.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Vogue theme */
|
3 |
+
$vogue = '
|
4 |
+
.page-template-builder-fullwidth-std #page > .site-container {
|
5 |
+
padding: 0;
|
6 |
+
margin: 0;
|
7 |
+
max-width: 100%;
|
8 |
+
}
|
9 |
+
.page-template-builder-fullwidth-std .site-footer-bottom-bar {
|
10 |
+
display: none;
|
11 |
+
}
|
12 |
+
';
|
13 |
+
wp_add_inline_style( 'vogue-style', $vogue );
|
vendor/codeinwp/full-width-page-templates/themes/vt-blogging/inline-style.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for VT Blogging theme */
|
3 |
+
$vtb = '
|
4 |
+
.page-template-builder-fullwidth-std .site-content {
|
5 |
+
padding: 0;
|
6 |
+
margin: 0;
|
7 |
+
width: 100%;
|
8 |
+
}
|
9 |
+
';
|
10 |
+
wp_add_inline_style( 'vt-blogging-style', $vtb );
|
vendor/codeinwp/full-width-page-templates/themes/writee/inline-style.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Writee theme */
|
3 |
+
$writee = '
|
4 |
+
.page-template-builder-fullwidth-std p,
|
5 |
+
.page-template-builder-fullwidth p {
|
6 |
+
margin: 0;
|
7 |
+
}
|
8 |
+
';
|
9 |
+
wp_add_inline_style( 'WRT-style', $writee );
|
vendor/codeinwp/full-width-page-templates/themes/zerif-lite/functions.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* adds the closing <header> tag
|
5 |
+
*/
|
6 |
+
function zerif_close_header() {
|
7 |
+
echo '</header> <!-- / END HOME SECTION -->';
|
8 |
+
}
|
9 |
+
add_action( 'fwpt_std_content', 'zerif_close_header' );
|
vendor/codeinwp/full-width-page-templates/themes/zerif-lite/inline-style.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/* Support for Zerif Lite theme */
|
3 |
+
$style = '
|
4 |
+
.page-template-builder-fullwidth {
|
5 |
+
overflow: hidden;
|
6 |
+
}
|
7 |
+
@media (min-width: 768px) {
|
8 |
+
.page-template-builder-fullwidth-std .header > .elementor {
|
9 |
+
padding-top: 76px;
|
10 |
+
}
|
11 |
+
}
|
12 |
+
';
|
13 |
+
wp_add_inline_style( 'zerif_style', $style );
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-endpoints.php
CHANGED
@@ -235,7 +235,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Endpoints' ) ) :
|
|
235 |
|
236 |
// fetch the calculated hashes.
|
237 |
if ( ! $wp_filesystem->is_readable( $path . '/' . self::HASH_FILE ) ) {
|
238 |
-
return new WP_Error( 'themeisle_sdk_hash_not_found', sprintf(
|
239 |
}
|
240 |
|
241 |
$hashes = json_decode( $wp_filesystem->get_contents( $path . '/' . self::HASH_FILE ), true );
|
@@ -296,7 +296,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Endpoints' ) ) :
|
|
296 |
$value = sanitize_text_field( $data[ $param ] );
|
297 |
if ( empty( $value ) ) {
|
298 |
return new WP_Error(
|
299 |
-
'themeisle_' . $param . '_invalid', sprintf(
|
300 |
'status' => 403,
|
301 |
)
|
302 |
);
|
235 |
|
236 |
// fetch the calculated hashes.
|
237 |
if ( ! $wp_filesystem->is_readable( $path . '/' . self::HASH_FILE ) ) {
|
238 |
+
return new WP_Error( 'themeisle_sdk_hash_not_found', sprintf( '%s not found', self::HASH_FILE ) );
|
239 |
}
|
240 |
|
241 |
$hashes = json_decode( $wp_filesystem->get_contents( $path . '/' . self::HASH_FILE ), true );
|
296 |
$value = sanitize_text_field( $data[ $param ] );
|
297 |
if ( empty( $value ) ) {
|
298 |
return new WP_Error(
|
299 |
+
'themeisle_' . $param . '_invalid', sprintf( 'Invalid %', $param ), array(
|
300 |
'status' => 403,
|
301 |
)
|
302 |
);
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php
CHANGED
@@ -515,12 +515,12 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
515 |
return '<div id="' . $this->product->get_key() . '">'
|
516 |
. '<ul class="ti-list">' . $list . '</ul>'
|
517 |
. '<div class="actions">'
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
. get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
|
525 |
. '</div></div>';
|
526 |
}
|
515 |
return '<div id="' . $this->product->get_key() . '">'
|
516 |
. '<ul class="ti-list">' . $list . '</ul>'
|
517 |
. '<div class="actions">'
|
518 |
+
. get_submit_button(
|
519 |
+
$button_submit, 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
|
520 |
+
'data-after-text' => $button_submit,
|
521 |
+
'disabled' => true,
|
522 |
+
)
|
523 |
+
)
|
524 |
. get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
|
525 |
. '</div></div>';
|
526 |
}
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-logger.php
CHANGED
@@ -170,16 +170,16 @@ if ( ! class_exists( 'ThemeIsle_SDK_Logger' ) ) :
|
|
170 |
return '<div >'
|
171 |
. '<p>' . $heading . '</p>'
|
172 |
. '<div class="actions">'
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
. '</div></div>';
|
184 |
}
|
185 |
|
170 |
return '<div >'
|
171 |
. '<p>' . $heading . '</p>'
|
172 |
. '<div class="actions">'
|
173 |
+
. get_submit_button(
|
174 |
+
$button_submit, 'primary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-yes', false, array(
|
175 |
+
'data-ti-log-enable' => 1,
|
176 |
+
)
|
177 |
+
)
|
178 |
+
. get_submit_button(
|
179 |
+
$button_cancel, 'secondary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-no', false, array(
|
180 |
+
'data-ti-log-enable' => 0,
|
181 |
+
)
|
182 |
+
)
|
183 |
. '</div></div>';
|
184 |
}
|
185 |
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php
CHANGED
@@ -60,7 +60,38 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
60 |
/**
|
61 |
* @var array $allowed_authors The allowed authors.
|
62 |
*/
|
63 |
-
private $allowed_authors = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
/**
|
65 |
* @var bool $requires_license Either user needs to activate it with license.
|
66 |
*/
|
@@ -168,6 +199,9 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
168 |
if ( strpos( $this->author_url, $author ) !== false ) {
|
169 |
return true;
|
170 |
}
|
|
|
|
|
|
|
171 |
}
|
172 |
|
173 |
return false;
|
@@ -278,6 +312,52 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
278 |
return $versions;
|
279 |
}
|
280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
/**
|
282 |
* Return theme versions.
|
283 |
*
|
@@ -315,20 +395,20 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
315 |
* @return array Array of versions.
|
316 |
*/
|
317 |
private function get_api_versions() {
|
318 |
-
if ( ! $this->is_wordpress_available() ) {
|
319 |
-
return array();
|
320 |
-
}
|
321 |
|
322 |
$cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
|
323 |
$cache_versions = get_transient( $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions' );
|
324 |
if ( false == $cache_versions ) {
|
325 |
$versions = array();
|
326 |
-
if ( $this->
|
327 |
-
$versions = $this->
|
328 |
-
}
|
329 |
-
|
330 |
-
|
331 |
-
|
|
|
|
|
|
|
332 |
}
|
333 |
set_transient( $cache_key, $versions, MONTH_IN_SECONDS );
|
334 |
} else {
|
60 |
/**
|
61 |
* @var array $allowed_authors The allowed authors.
|
62 |
*/
|
63 |
+
private $allowed_authors = array(
|
64 |
+
'proteusthemes.com',
|
65 |
+
'anarieldesign.com',
|
66 |
+
'prothemedesign.com',
|
67 |
+
'cssigniter.com',
|
68 |
+
);
|
69 |
+
/**
|
70 |
+
* @var array $allowed_external_products The allowed external_products.
|
71 |
+
*/
|
72 |
+
private $allowed_products = array(
|
73 |
+
'zermatt',
|
74 |
+
'neto',
|
75 |
+
'olsen',
|
76 |
+
'benson',
|
77 |
+
'romero',
|
78 |
+
'carmack',
|
79 |
+
'puzzle',
|
80 |
+
'broadsheet',
|
81 |
+
'girlywp',
|
82 |
+
'veggie',
|
83 |
+
'zeko',
|
84 |
+
'maishawp',
|
85 |
+
'didi',
|
86 |
+
'liber',
|
87 |
+
'medicpress-pt',
|
88 |
+
'adrenaline-pt',
|
89 |
+
'consultpress-pt',
|
90 |
+
'legalpress-pt',
|
91 |
+
'gympress-pt',
|
92 |
+
'readable-pt',
|
93 |
+
'bolts-pt',
|
94 |
+
);
|
95 |
/**
|
96 |
* @var bool $requires_license Either user needs to activate it with license.
|
97 |
*/
|
199 |
if ( strpos( $this->author_url, $author ) !== false ) {
|
200 |
return true;
|
201 |
}
|
202 |
+
if ( in_array( $this->get_slug(), $this->allowed_products ) ) {
|
203 |
+
return true;
|
204 |
+
}
|
205 |
}
|
206 |
|
207 |
return false;
|
312 |
return $versions;
|
313 |
}
|
314 |
|
315 |
+
/**
|
316 |
+
* @return string Return license key, if available.
|
317 |
+
*/
|
318 |
+
private function get_license() {
|
319 |
+
$license_data = get_option( $this->get_key() . '_license_data', '' );
|
320 |
+
|
321 |
+
if ( empty( $license_data ) ) {
|
322 |
+
return '';
|
323 |
+
}
|
324 |
+
if ( ! isset( $license_data->key ) ) {
|
325 |
+
return '';
|
326 |
+
}
|
327 |
+
|
328 |
+
return $license_data->key;
|
329 |
+
}
|
330 |
+
|
331 |
+
/**
|
332 |
+
* @return array Array of available versions.
|
333 |
+
*/
|
334 |
+
private function get_pro_versions() {
|
335 |
+
$license = $this->get_license();
|
336 |
+
$store_url = trailingslashit( $this->store_url );
|
337 |
+
$url = sprintf( '%s?edd_action=get_versions&name=%s&url=%s&license=%s', $store_url, urlencode( $this->get_name() ), urlencode( get_site_url() ), $license );
|
338 |
+
$response = wp_remote_get( $url );
|
339 |
+
if ( is_wp_error( $response ) ) {
|
340 |
+
return array();
|
341 |
+
}
|
342 |
+
$response = wp_remote_retrieve_body( $response );
|
343 |
+
$response = json_decode( $response );
|
344 |
+
if ( ! is_object( $response ) ) {
|
345 |
+
return array();
|
346 |
+
}
|
347 |
+
if ( ! isset( $response->versions ) ) {
|
348 |
+
return array();
|
349 |
+
}
|
350 |
+
$versions = array();
|
351 |
+
foreach ( $response->versions as $key => $version ) {
|
352 |
+
$versions[] = array(
|
353 |
+
'version' => $version->version,
|
354 |
+
'url' => $version->file,
|
355 |
+
);
|
356 |
+
}
|
357 |
+
|
358 |
+
return $versions;
|
359 |
+
}
|
360 |
+
|
361 |
/**
|
362 |
* Return theme versions.
|
363 |
*
|
395 |
* @return array Array of versions.
|
396 |
*/
|
397 |
private function get_api_versions() {
|
|
|
|
|
|
|
398 |
|
399 |
$cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
|
400 |
$cache_versions = get_transient( $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions' );
|
401 |
if ( false == $cache_versions ) {
|
402 |
$versions = array();
|
403 |
+
if ( ! $this->is_wordpress_available() ) {
|
404 |
+
$versions = $this->get_pro_versions();
|
405 |
+
} else {
|
406 |
+
if ( $this->get_type() === 'plugin' ) {
|
407 |
+
$versions = $this->get_plugin_versions();
|
408 |
+
}
|
409 |
+
if ( $this->get_type() === 'theme' ) {
|
410 |
+
$versions = $this->get_theme_versions();
|
411 |
+
}
|
412 |
}
|
413 |
set_transient( $cache_key, $versions, MONTH_IN_SECONDS );
|
414 |
} else {
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php
CHANGED
@@ -110,142 +110,156 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
110 |
$this->setup_feeds();
|
111 |
?>
|
112 |
<style type="text/css">
|
113 |
-
#themeisle ul {
|
114 |
-
margin-bottom: 0px;
|
115 |
-
}
|
116 |
-
|
117 |
#themeisle ul li.ti-dw-recommend-item {
|
118 |
-
|
119 |
padding-left: 7px;
|
120 |
border-top: 1px solid #eee;
|
121 |
-
|
122 |
margin-bottom: 0px;
|
123 |
padding-top: 6px;
|
124 |
}
|
125 |
-
|
126 |
#themeisle h2.hndle {
|
127 |
-
background-image: url('data:image/
|
128 |
background-repeat: no-repeat;
|
129 |
-
background-position:
|
130 |
-
background-size:
|
131 |
}
|
132 |
-
|
133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
display: flex;
|
135 |
align-items: center;
|
|
|
|
|
|
|
|
|
136 |
}
|
137 |
-
|
138 |
-
|
139 |
-
float: left;
|
140 |
-
width: 89.9%;
|
141 |
}
|
142 |
-
|
143 |
-
|
144 |
-
width: 100%;
|
145 |
-
letter-spacing: 3px;
|
146 |
-
display: block;
|
147 |
}
|
148 |
-
|
149 |
.ti-dw-feed-item .ti-dw-month-container {
|
150 |
-
|
151 |
-
width: 100%;
|
152 |
-
display: block;
|
153 |
-
font-weight: 600;
|
154 |
-
padding: 0px;
|
155 |
-
margin-top: -6px;
|
156 |
text-transform: uppercase;
|
157 |
font-size: 10px;
|
158 |
letter-spacing: 1px;
|
|
|
159 |
}
|
160 |
-
|
161 |
.ti-dw-feed-item .ti-dw-date-container {
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
|
|
166 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
168 |
-
|
169 |
.ti-dw-recommend-item span {
|
170 |
color: #72777c;
|
171 |
}
|
172 |
-
|
173 |
.ti-dw-powered-by {
|
174 |
-
font-
|
175 |
-
|
176 |
-
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
|
|
|
179 |
</style>
|
180 |
-
<ul>
|
181 |
<?php
|
182 |
foreach ( $this->items as $item ) {
|
183 |
?>
|
184 |
-
<li class="ti-dw-feed-item"
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
|
|
198 |
</li>
|
199 |
<?php
|
200 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
-
|
203 |
-
if ( is_array( $recommend ) && ! empty( $recommend ) ) {
|
204 |
|
205 |
-
$type = $recommend['type'];
|
206 |
-
if ( ( $type == 'theme' && current_user_can( 'install_themes' ) ) || ( $type == 'plugin' && current_user_can( 'install_plugins' ) ) ) {
|
207 |
-
add_thickbox();
|
208 |
$url = add_query_arg(
|
209 |
array(
|
210 |
-
'
|
211 |
-
|
|
|
212 |
);
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
array(
|
218 |
-
'tab' => 'plugin-information',
|
219 |
-
'plugin' => $recommend['slug'],
|
220 |
-
), network_admin_url( 'plugin-install.php' )
|
221 |
-
);
|
222 |
-
}
|
223 |
-
?>
|
224 |
-
<li class="ti-dw-recommend-item ">
|
225 |
<span class="ti-dw-recommend"><?php echo apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( 'Popular %s', ucwords( $type ) ) ); ?>
|
226 |
: </span>
|
227 |
-
<?php
|
228 |
-
echo trim(
|
229 |
-
str_replace(
|
230 |
-
array(
|
231 |
-
'lite',
|
232 |
-
'Lite',
|
233 |
-
), '', $recommend['name']
|
234 |
-
)
|
235 |
-
);
|
236 |
-
?>
|
237 |
-
(<a class="thickbox open-plugin-details-modal"
|
238 |
-
href="<?php echo $url . '&TB_iframe=true&width=600&height=500'; ?>"><?php echo apply_filters( 'themeisle_sdk_dashboard_install_label', 'Install' ); ?></a>)
|
239 |
-
</li>
|
240 |
-
<li class="ti-dw-powered-by">
|
241 |
-
Powered by <?php echo esc_attr( $this->product->get_friendly_name() ); ?>
|
242 |
-
</li>
|
243 |
-
|
244 |
<?php
|
245 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
}
|
247 |
-
|
248 |
-
|
249 |
|
250 |
<?php
|
251 |
|
110 |
$this->setup_feeds();
|
111 |
?>
|
112 |
<style type="text/css">
|
|
|
|
|
|
|
|
|
113 |
#themeisle ul li.ti-dw-recommend-item {
|
|
|
114 |
padding-left: 7px;
|
115 |
border-top: 1px solid #eee;
|
|
|
116 |
margin-bottom: 0px;
|
117 |
padding-top: 6px;
|
118 |
}
|
|
|
119 |
#themeisle h2.hndle {
|
120 |
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3Ny4xMiA3Ny4xMiI+PHRpdGxlPkFzc2V0IDM8L3RpdGxlPjxwYXRoIGQ9Ik03NS43Niw0Ny42cS0xLjUsNi40Ni00LjA3LDkuMjZBMzYuMjIsMzYuMjIsMCwwLDEsNjMuMjYsNjNhNTEsNTEsMCwwLDEtOS43OSw0LjZoLS4xNXY0LjgyQTQuNjYsNC42NiwwLDAsMSw1Miw3NS43Niw0LjA3LDQuMDcsMCwwLDEsNDksNzcuMTJhNCw0LDAsMCwxLTIuMTgtLjYxQTQuOTQsNC45NCwwLDAsMSw0NS4xOSw3NWE0LjQyLDQuNDIsMCwwLDEtNy41NCwwLDQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSwzLjc1LDMuNzUsMCwwLDEtMiwuNjFBNC4yNyw0LjI3LDAsMCwxLDMwLjI3LDc1YTQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSw0LDQsMCwwLDEtMi4xOC42MSwzLjkzLDMuOTMsMCwwLDEtMy4xNi0xLjQzLDUuMyw1LjMsMCwwLDEtMS4yMS0zLjU0LDEzLjgxLDEzLjgxLDAsMCwxLTguNTgsMywxMy4yMywxMy4yMywwLDAsMS05LTMuNDdBMTguMjEsMTguMjEsMCwwLDAsOSw3MC43OWExNC4yNiwxNC4yNiwwLDAsMS03LjgzLTUuNDIsMTYuMTIsMTYuMTIsMCwwLDAsNS4xOS4wNywxMi44OSwxMi44OSwwLDAsMCw0LjktMS43M1EzLjE1LDU1LjQzLDEuMDUsNTAuNDZhMTgsMTgsMCwwLDEtMS02LjkzQTQwLDQwLDAsMCwxLDEuMjEsMzQsMjYuNTksMjYuNTksMCwwLDEsNS4yNywyNC4xUTguNDQsMTkuNDMsMTMsMTkuNDNhMy40MSwzLjQxLDAsMCwxLDMuNDcsMi4yNmMuNi0uOCwxLjItMS41NiwxLjgxLTIuMjZsLjQ1LS40NS43NS0uNzUsMS4wNS0xLjgxYTM1LjIsMzUuMiwwLDAsMSwyLjExLTMuMzIsMjguNTcsMjguNTcsMCwwLDEsOS4xMi03LjY4QTIzLjQsMjMuNCwwLDAsMSw0Mi45MywyLjU2YTIyLjIyLDIyLjIyLDAsMCwxLDIuNzEuMTVBOC4xNiw4LjE2LDAsMCwxLDUxLjgxLDAsOC42OSw4LjY5LDAsMCwxLDU4LDIuNDFhMS41MSwxLjUxLDAsMCwxLC4xNS42OGMwLC4yNS0uNTUuOTMtMS42NiwybC0uMy4zYTkuNjksOS42OSwwLDAsMSwxLjU4LjgzYy41NS4zNS44My42NS44My45YTEuNjIsMS42MiwwLDAsMS0uNiwxbC0uMTUuMTVxNi43OCw2LDguNTgsMTYuMjdBMy4zLDMuMywwLDAsMSw2OSwyMy4zNWE2LjQ4LDYuNDgsMCwwLDEsNC4yMiwyLjFxMy45MiwzLjMyLDMuOTIsMTEuOUE0Mi4wNSw0Mi4wNSwwLDAsMSw3NS43Niw0Ny42Wk01My42Miw1NC4wN2EyNCwyNCwwLDAsMS0xNCw0LjUyQTIxLjQxLDIxLjQxLDAsMCwxLDI3LDU0LjY3LDI0LjI4LDI0LjI4LDAsMCwxLDE4LjUzLDQ1YTI5LDI5LDAsMCwxLTMtMTMsMzEuNzgsMzEuNzgsMCwwLDEsLjkxLTcuNTNBMzIuMTcsMzIuMTcsMCwwLDAsMTEuOSw0MS4yN2EzMy41LDMzLjUsMCwwLDAsMi43OSwxMy40LDI5LjEsMjkuMSwwLDAsMCw3LjksMTAuODUsNC42OCw0LjY4LDAsMCwxLDEuNjYtMS44OCw0LjE3LDQuMTcsMCwwLDEsNC40NC0uMDgsNC41LDQuNSwwLDAsMSwxLjU4LDEuNjZBNC4yLDQuMiwwLDAsMSwzNCw2M2EzLjgzLDMuODMsMCwwLDEsMiwuNiw0LjUsNC41LDAsMCwxLDEuNTgsMS42Niw0LjI3LDQuMjcsMCwwLDEsNy41NCwwLDQuNSw0LjUsMCwwLDEsMS41OC0xLjY2LDQuMTcsNC4xNywwLDAsMSw0LjQ0LjA4LDMuODYsMy44NiwwLDAsMSwxLjUxLDEuNzMsMzAuMTcsMzAuMTcsMCwwLDAsNy42OC05Ljk0LDMxLjE4LDMxLjE4LDAsMCwwLDMuMTYtMTIuMzVBMjguMzksMjguMzksMCwwLDEsNTMuNjIsNTQuMDdaTTI4Ljc3LDY1LjM3YTMuMSwzLjEsMCwwLDAtNC4zNywwLDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi45MywyLjkzLDAsMCwwLDQuMzcsMCwzLjMyLDMuMzIsMCwwLDAsLjktMi4zM1Y2Ny42M0EzLjA2LDMuMDYsMCwwLDAsMjguNzcsNjUuMzdabS45LTQ4YTQuMjQsNC4yNCwwLDAsMCwzLjQ3LDEuNzMsNC40NSw0LjQ1LDAsMCwwLDMuNTQtMS43Myw2LDYsMCwwLDAsMS40My0zLjkyLDUuNyw1LjcsMCwwLDAtMS40My0zLjg0QTQuNTMsNC41MywwLDAsMCwzMy4xNCw4YTQuMzEsNC4zMSwwLDAsMC0zLjQ3LDEuNjYsNS43OSw1Ljc5LDAsMCwwLTEuMzUsMy43N0E2LjMzLDYuMzMsMCwwLDAsMjkuNjcsMTcuNFptNi40OCw0OGEzLjEsMy4xLDAsMCwwLTQuMzcsMCwzLjA2LDMuMDYsMCwwLDAtLjksMi4yNnY0LjgyYTMuMzIsMy4zMiwwLDAsMCwuOSwyLjMzLDIuOTMsMi45MywwLDAsMCw0LjM3LDAsMy4zMiwzLjMyLDAsMCwwLC45LTIuMzNWNjcuNjNBMy4wNiwzLjA2LDAsMCwwLDM2LjE1LDY1LjM3Wm0tNC4wNy01NC4zYTIuMzcsMi4zNywwLDAsMSwyLTEsMi4xNywyLjE3LDAsMCwxLDEuODgsMSw0LjEsNC4xLDAsMCwxLDAsNC41MiwyLjE3LDIuMTcsMCwwLDEtMS44OCwxLDIuMzcsMi4zNywwLDAsMS0yLTEsMy43MiwzLjcyLDAsMCwxLS43NS0yLjM0QTMuNDksMy40OSwwLDAsMSwzMi4wOCwxMS4wN1ptNSw5LjQxYTIwLjYxLDIwLjYxLDAsMCwwLTMuNTQsMTIuMjgsMTcuMTUsMTcuMTUsMCwwLDAsNC4wNywxMSwxMi40MywxMi40MywwLDAsMCw5Ljg3LDQuNDUsMTUuMywxNS4zLDAsMCwwLDktMywxMywxMywwLDAsMCwuNi0zLjMycTAtMy4zMi0zLjE2LTMuMzFhOC41OCw4LjU4LDAsMCwwLTIsLjNxLTcuODMsMS41LTExLjU5LS4zLTQuNTMtMi4xMi00LjUyLTkuMzRBMzcuOTIsMzcuOTIsMCwwLDEsMzcuMDUsMjAuNDhaTTYxLjQ1LDE3QTEyLjg0LDEyLjg0LDAsMCwwLDUxLjIxLDEyLjJhMTUuMTEsMTUuMTEsMCwwLDAtNi40LDEuNDMsMTcuODMsMTcuODMsMCwwLDAtNS41LDRxLTYuMTgsMjAuNjQsNi4xOCwyMC42NEEyNC43NSwyNC43NSwwLDAsMCw0OSwzNy44MWEzOC45MiwzOC45MiwwLDAsMSw0LjgyLS40NmMxLjgxLDAsMy4wNi40NiwzLjc3LDEuMzZxMS4zNSwxLjUuNzUsNS4xMmEyMS43MiwyMS43MiwwLDAsMCw1LTcuMTVBMjEuMzgsMjEuMzgsMCwwLDAsNjUuMDcsMjgsMTcuNDQsMTcuNDQsMCwwLDAsNjEuNDUsMTdaTTQzLjYsNjUuMzdhMi43MiwyLjcyLDAsMCwwLTIuMS0uOSwzLDMsMCwwLDAtMi4xOS45LDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi44NCwyLjg0LDAsMCwwLDIuMTksMSwyLjYxLDIuNjEsMCwwLDAsMi4xLTEsMy40NSwzLjQ1LDAsMCwwLC44My0yLjMzVjY3LjYzQTMuMTcsMy4xNywwLDAsMCw0My42LDY1LjM3Wm03LjQ2LDBhMywzLDAsMCwwLTIuMTgtLjksMi43MywyLjczLDAsMCwwLTIuMTEuOSwzLjE3LDMuMTcsMCwwLDAtLjgzLDIuMjZ2NC44MmEzLjQ1LDMuNDUsMCwwLDAsLjgzLDIuMzMsMi42MSwyLjYxLDAsMCwwLDIuMTEsMSwyLjgzLDIuODMsMCwwLDAsMi4xOC0xLDMuMzIsMy4zMiwwLDAsMCwuOS0yLjMzVjY3LjYzQTMuMDYsMy4wNiwwLDAsMCw1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
|
121 |
background-repeat: no-repeat;
|
122 |
+
background-position: 92% 50%;
|
123 |
+
background-size: 30px;
|
124 |
}
|
125 |
+
#themeisle .inside {
|
126 |
+
padding: 0;
|
127 |
+
}
|
128 |
+
.ti-feed-list {
|
129 |
+
padding: 0 12px 5px;
|
130 |
+
margin-bottom: 10px;
|
131 |
+
border-bottom: 1px solid #eee;
|
132 |
+
}
|
133 |
+
.ti-dw-feed-item a {
|
134 |
display: flex;
|
135 |
align-items: center;
|
136 |
+
margin-bottom: 5px;
|
137 |
+
padding: 5px;
|
138 |
+
transition: .2s ease;
|
139 |
+
border-radius: 3px;
|
140 |
}
|
141 |
+
.ti-dw-feed-item a:hover {
|
142 |
+
background-color: #f8f8f8;
|
|
|
|
|
143 |
}
|
144 |
+
.ti-dw-feed-item a:hover .ti-dw-date-container {
|
145 |
+
opacity: .9;
|
|
|
|
|
|
|
146 |
}
|
|
|
147 |
.ti-dw-feed-item .ti-dw-month-container {
|
148 |
+
margin-top: -5px;
|
|
|
|
|
|
|
|
|
|
|
149 |
text-transform: uppercase;
|
150 |
font-size: 10px;
|
151 |
letter-spacing: 1px;
|
152 |
+
font-weight: 700;
|
153 |
}
|
|
|
154 |
.ti-dw-feed-item .ti-dw-date-container {
|
155 |
+
border-radius: 3px;
|
156 |
+
transition: .2s ease;
|
157 |
+
min-height: 35px;
|
158 |
+
margin-right: 5px;
|
159 |
+
min-width: 35px;
|
160 |
text-align: center;
|
161 |
+
border: 1px solid #2a6f97;
|
162 |
+
color: #fff;
|
163 |
+
background: #2ea2cc;
|
164 |
+
display: flex;
|
165 |
+
flex-direction: column;
|
166 |
+
justify-content: center;
|
167 |
+
}
|
168 |
+
.ti-dw-footer {
|
169 |
+
padding: 0 12px 5px;
|
170 |
+
text-align: center;
|
171 |
+
}
|
172 |
+
.ti-dw-recommend-item {
|
173 |
+
display: block;
|
174 |
}
|
|
|
175 |
.ti-dw-recommend-item span {
|
176 |
color: #72777c;
|
177 |
}
|
|
|
178 |
.ti-dw-powered-by {
|
179 |
+
font-size: 11px;
|
180 |
+
margin-top: 3px;
|
181 |
+
display: block;
|
182 |
+
color: #72777c;
|
183 |
+
}
|
184 |
+
.ti-dw-powered-by span {
|
185 |
+
font-weight: 600;
|
186 |
}
|
187 |
|
188 |
+
|
189 |
</style>
|
190 |
+
<ul class="ti-feed-list">
|
191 |
<?php
|
192 |
foreach ( $this->items as $item ) {
|
193 |
?>
|
194 |
+
<li class="ti-dw-feed-item">
|
195 |
+
<a href="
|
196 |
+
<?php
|
197 |
+
echo add_query_arg(
|
198 |
+
array(
|
199 |
+
'utm_campaign' => 'feed',
|
200 |
+
'utm_medium' => 'dashboard_widget',
|
201 |
+
), $item['link']
|
202 |
+
);
|
203 |
+
?>
|
204 |
+
" target="_blank">
|
205 |
+
<span class="ti-dw-date-container"><span
|
206 |
+
class="ti-dw-day-container"><?php echo date( 'd', $item['date'] ); ?></span> <span
|
207 |
+
class="ti-dw-month-container"><?php echo substr( date( 'M', $item['date'] ), 0, 3 ); ?></span></span><?php echo $item['title']; ?>
|
208 |
+
</a>
|
209 |
</li>
|
210 |
<?php
|
211 |
}
|
212 |
+
?>
|
213 |
+
</ul>
|
214 |
+
<?php
|
215 |
+
$recommend = apply_filters( 'themeisle_sdk_recommend_plugin_or_theme', array() );
|
216 |
+
if ( is_array( $recommend ) && ! empty( $recommend ) ) {
|
217 |
+
|
218 |
+
$type = $recommend['type'];
|
219 |
+
if ( ( $type == 'theme' && current_user_can( 'install_themes' ) ) || ( $type == 'plugin' && current_user_can( 'install_plugins' ) ) ) {
|
220 |
+
add_thickbox();
|
221 |
+
$url = add_query_arg(
|
222 |
+
array(
|
223 |
+
'theme' => $recommend['slug'],
|
224 |
+
), network_admin_url( 'theme-install.php' )
|
225 |
+
);
|
226 |
|
227 |
+
if ( 'plugin' === $type ) {
|
|
|
228 |
|
|
|
|
|
|
|
229 |
$url = add_query_arg(
|
230 |
array(
|
231 |
+
'tab' => 'plugin-information',
|
232 |
+
'plugin' => $recommend['slug'],
|
233 |
+
), network_admin_url( 'plugin-install.php' )
|
234 |
);
|
235 |
+
}
|
236 |
+
?>
|
237 |
+
<div class="ti-dw-footer">
|
238 |
+
<span class="ti-dw-recommend-item ">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
<span class="ti-dw-recommend"><?php echo apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( 'Popular %s', ucwords( $type ) ) ); ?>
|
240 |
: </span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
<?php
|
242 |
+
echo trim(
|
243 |
+
str_replace(
|
244 |
+
array(
|
245 |
+
'lite',
|
246 |
+
'Lite',
|
247 |
+
), '', $recommend['name']
|
248 |
+
)
|
249 |
+
);
|
250 |
+
?>
|
251 |
+
(<a class="thickbox open-plugin-details-modal"
|
252 |
+
href="<?php echo $url . '&TB_iframe=true&width=600&height=500'; ?>"><?php echo apply_filters( 'themeisle_sdk_dashboard_install_label', 'Install' ); ?></a>)
|
253 |
+
</span>
|
254 |
+
<span class="ti-dw-powered-by">
|
255 |
+
Powered by <span><?php echo esc_attr( $this->product->get_friendly_name() ); ?></span>
|
256 |
+
</span>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<?php
|
260 |
}
|
261 |
+
}
|
262 |
+
?>
|
263 |
|
264 |
<?php
|
265 |
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
-
$themeisle_sdk_version = '2.
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
+
$themeisle_sdk_version = '2.2.3';
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8fcd0a348e25c6ed4a446373df4499a9
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit8fcd0a348e25c6ed4a446373df4499a9
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit2bdec098d49404cb306708b416f50a60
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit2bdec098d49404cb306708b416f50a60', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit2bdec098d49404cb306708b416f50a60', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
+
composerRequire2bdec098d49404cb306708b416f50a60($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire2bdec098d49404cb306708b416f50a60($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/installed.json
CHANGED
@@ -6,15 +6,15 @@
|
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
-
"time": "2018-
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
@@ -46,15 +46,15 @@
|
|
46 |
"source": {
|
47 |
"type": "git",
|
48 |
"url": "https://github.com/Codeinwp/full-width-page-templates.git",
|
49 |
-
"reference": "
|
50 |
},
|
51 |
"dist": {
|
52 |
"type": "zip",
|
53 |
-
"url": "https://api.github.com/repos/Codeinwp/full-width-page-templates/zipball/
|
54 |
-
"reference": "
|
55 |
"shasum": ""
|
56 |
},
|
57 |
-
"time": "2018-
|
58 |
"type": "library",
|
59 |
"installation-source": "dist",
|
60 |
"autoload": {
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
9 |
+
"reference": "ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f",
|
14 |
+
"reference": "ae7fce00ef4fdec1b3f5b918ee0b5e9fe18d588f",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"time": "2018-04-30 11:29:58",
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
46 |
"source": {
|
47 |
"type": "git",
|
48 |
"url": "https://github.com/Codeinwp/full-width-page-templates.git",
|
49 |
+
"reference": "770990cf96bd9cb6b8c846b1c9bff16450e2dff9"
|
50 |
},
|
51 |
"dist": {
|
52 |
"type": "zip",
|
53 |
+
"url": "https://api.github.com/repos/Codeinwp/full-width-page-templates/zipball/770990cf96bd9cb6b8c846b1c9bff16450e2dff9",
|
54 |
+
"reference": "770990cf96bd9cb6b8c846b1c9bff16450e2dff9",
|
55 |
"shasum": ""
|
56 |
},
|
57 |
+
"time": "2018-03-02 08:33:03",
|
58 |
"type": "library",
|
59 |
"installation-source": "dist",
|
60 |
"autoload": {
|