Orbit Fox by ThemeIsle - Version 2.4.2

Version Description

  • 2018-03-02
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Orbit Fox by ThemeIsle
Version 2.4.2
Comparing to
See all releases

Code changes from version 2.4.1 to 2.4.2

Files changed (63) hide show
  1. CHANGELOG.md +5 -0
  2. core/app/class-orbit-fox-admin.php +1 -1
  3. core/app/class-orbit-fox-global-settings.php +2 -0
  4. core/app/helpers/class-orbit-fox-render-helper.php +8 -1
  5. core/assets/css/orbit-fox-admin.css +67 -3
  6. core/assets/js/orbit-fox-admin.js +1 -1
  7. core/includes/class-orbit-fox.php +1 -1
  8. obfx_modules/google-analytics/init.php +369 -0
  9. obfx_modules/google-analytics/js/script.js +67 -0
  10. readme.md +22 -7
  11. readme.txt +22 -7
  12. themeisle-companion.php +1 -1
  13. themeisle-hash.json +1 -1
  14. vendor/autoload.php +1 -1
  15. vendor/codeinwp/full-width-page-templates/composer.json +1 -1
  16. vendor/codeinwp/full-width-page-templates/themes/actions/inline-style.php +1 -1
  17. vendor/codeinwp/full-width-page-templates/themes/ashe/inline-style.php +10 -0
  18. vendor/codeinwp/full-width-page-templates/themes/astra/inline-style.php +10 -0
  19. vendor/codeinwp/full-width-page-templates/themes/avant/inline-style.php +13 -0
  20. vendor/codeinwp/full-width-page-templates/themes/colormag/inline-style.php +18 -0
  21. vendor/codeinwp/full-width-page-templates/themes/consulting/inline-style.php +15 -0
  22. vendor/codeinwp/full-width-page-templates/themes/edge/inline-style.php +1 -1
  23. vendor/codeinwp/full-width-page-templates/themes/editorial/inline-style.php +17 -0
  24. vendor/codeinwp/full-width-page-templates/themes/enlightenment/inline-style.php +1 -1
  25. vendor/codeinwp/full-width-page-templates/themes/envo-business/inline-style.php +9 -0
  26. vendor/codeinwp/full-width-page-templates/themes/envy-blog/inline-style.php +13 -0
  27. vendor/codeinwp/full-width-page-templates/themes/experon/inline-style.php +1 -1
  28. vendor/codeinwp/full-width-page-templates/themes/flash/inline-style.php +17 -0
  29. vendor/codeinwp/full-width-page-templates/themes/generatepress/inline-style.php +11 -7
  30. vendor/codeinwp/full-width-page-templates/themes/genesis/inline-style.php +1 -1
  31. vendor/codeinwp/full-width-page-templates/themes/hestia/inline-style.php +8 -0
  32. vendor/codeinwp/full-width-page-templates/themes/hitmag/inline-style.php +30 -0
  33. vendor/codeinwp/full-width-page-templates/themes/hueman/inline-style.php +21 -0
  34. vendor/codeinwp/full-width-page-templates/themes/kale/inline-style.php +13 -0
  35. vendor/codeinwp/full-width-page-templates/themes/lodestar/inline-style.php +8 -0
  36. vendor/codeinwp/full-width-page-templates/themes/maxstore/inline-style.php +9 -0
  37. vendor/codeinwp/full-width-page-templates/themes/news-portal/inline-style.php +17 -0
  38. vendor/codeinwp/full-width-page-templates/themes/nikko-portfolio/inline-style.php +8 -0
  39. vendor/codeinwp/full-width-page-templates/themes/oceanwp/inline-style.php +8 -0
  40. vendor/codeinwp/full-width-page-templates/themes/online-shop/inline-style.php +19 -0
  41. vendor/codeinwp/full-width-page-templates/themes/poseidon/inline-style.php +16 -0
  42. vendor/codeinwp/full-width-page-templates/themes/primer/inline-style.php +12 -0
  43. vendor/codeinwp/full-width-page-templates/themes/renden/inline-style.php +16 -0
  44. vendor/codeinwp/full-width-page-templates/themes/shapely/inline-style.php +21 -0
  45. vendor/codeinwp/full-width-page-templates/themes/spacious/inline-style.php +41 -0
  46. vendor/codeinwp/full-width-page-templates/themes/storefront/inline-style.php +4 -1
  47. vendor/codeinwp/full-width-page-templates/themes/sydney/inline-style.php +3 -2
  48. vendor/codeinwp/full-width-page-templates/themes/total/inline-style.php +8 -0
  49. vendor/codeinwp/full-width-page-templates/themes/twentyfifteen/inline-style.php +1 -1
  50. vendor/codeinwp/full-width-page-templates/themes/twentyfourteen/inline-style.php +2 -3
  51. vendor/codeinwp/full-width-page-templates/themes/twentyseventeen/inline-style.php +1 -1
  52. vendor/codeinwp/full-width-page-templates/themes/twentysixteen/inline-style.php +1 -1
  53. vendor/codeinwp/full-width-page-templates/themes/twentythirteen/inline-style.php +3 -3
  54. vendor/codeinwp/full-width-page-templates/themes/twentytwelve/inline-style.php +13 -0
  55. vendor/codeinwp/full-width-page-templates/themes/vantage/inline-style.php +1 -1
  56. vendor/codeinwp/full-width-page-templates/themes/virtue/inline-style.php +1 -1
  57. vendor/codeinwp/full-width-page-templates/themes/vogue/inline-style.php +13 -0
  58. vendor/codeinwp/full-width-page-templates/themes/vt-blogging/inline-style.php +10 -0
  59. vendor/codeinwp/full-width-page-templates/themes/writee/inline-style.php +9 -0
  60. vendor/codeinwp/full-width-page-templates/themes/zerif-lite/functions.php +9 -0
  61. vendor/codeinwp/full-width-page-templates/themes/zerif-lite/inline-style.php +13 -0
  62. vendor/composer/autoload_real.php +5 -5
  63. vendor/composer/installed.json +4 -4
CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
 
 
 
 
 
 
2
  ### v2.4.1 - 2018-02-20
3
  **Changes:**
4
  * Added intent confirmation for uptime monitor.
1
 
2
+ ### v2.4.2 - 2018-03-02
3
+ **Changes:**
4
+ * Added a new Google Analytics Integration module
5
+ * Small UX improvements
6
+
7
  ### v2.4.1 - 2018-02-20
8
  **Changes:**
9
  * Added intent confirmation for uptime monitor.
core/app/class-orbit-fox-admin.php CHANGED
@@ -366,7 +366,7 @@ class Orbit_Fox_Admin {
366
  $options_fields = '';
367
  if ( ! empty( $module_options ) ) {
368
  foreach ( $module_options as $option ) {
369
- $options_fields .= $rdh->render_option( $option );
370
  }
371
 
372
  $panels .= $rdh->get_partial(
366
  $options_fields = '';
367
  if ( ! empty( $module_options ) ) {
368
  foreach ( $module_options as $option ) {
369
+ $options_fields .= $rdh->render_option( $option, $module );
370
  }
371
 
372
  $panels .= $rdh->get_partial(
core/app/class-orbit-fox-global-settings.php CHANGED
@@ -63,6 +63,7 @@ class Orbit_Fox_Global_Settings {
63
  array(
64
  'social-sharing',
65
  'uptime-monitor',
 
66
  'companion-legacy',
67
  'elementor-widgets',
68
  'template-directory',
@@ -81,6 +82,7 @@ class Orbit_Fox_Global_Settings {
81
  *
82
  * @since 1.0.0
83
  * @access public
 
84
  * @param string $name The name of the module from $modules array.
85
  * @param Orbit_Fox_Module_Abstract $module The module object.
86
  */
63
  array(
64
  'social-sharing',
65
  'uptime-monitor',
66
+ 'google-analytics',
67
  'companion-legacy',
68
  'elementor-widgets',
69
  'template-directory',
82
  *
83
  * @since 1.0.0
84
  * @access public
85
+ *
86
  * @param string $name The name of the module from $modules array.
87
  * @param Orbit_Fox_Module_Abstract $module The module object.
88
  */
core/app/helpers/class-orbit-fox-render-helper.php CHANGED
@@ -334,10 +334,12 @@ class Orbit_Fox_Render_Helper {
334
  *
335
  * @since 1.0.0
336
  * @access public
337
- * @param array $option The option from the module.
 
338
  * @return mixed
339
  */
340
  public function render_option( $option = array() ) {
 
341
  $option = $this->sanitize_option( $option );
342
  switch ( $option['type'] ) {
343
  case 'text':
@@ -360,11 +362,16 @@ class Orbit_Fox_Render_Helper {
360
  break;
361
  case 'toggle':
362
  return $this->field_toggle( $option );
 
 
 
 
363
  break;
364
  default:
365
  return __( 'No option found for provided type', 'themeisle-companion' );
366
  break;
367
  }
 
368
  }
369
 
370
 
334
  *
335
  * @since 1.0.0
336
  * @access public
337
+ * @param array $option The option from the module..
338
+ *
339
  * @return mixed
340
  */
341
  public function render_option( $option = array() ) {
342
+
343
  $option = $this->sanitize_option( $option );
344
  switch ( $option['type'] ) {
345
  case 'text':
362
  break;
363
  case 'toggle':
364
  return $this->field_toggle( $option );
365
+ break;
366
+ case 'custom':
367
+ return apply_filters( 'obfx_custom_control_' . $option['id'], '' );
368
+
369
  break;
370
  default:
371
  return __( 'No option found for provided type', 'themeisle-companion' );
372
  break;
373
  }
374
+
375
  }
376
 
377
 
core/assets/css/orbit-fox-admin.css CHANGED
@@ -8,7 +8,7 @@
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
- Version: 2.4.1
12
  */
13
 
14
  /* Document
@@ -707,6 +707,60 @@ html {
707
  border-left-color: #fff;
708
  }
709
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
710
  .obfx-wrapper .btn.btn-link {
711
  border-color: transparent;
712
  color: #5764c6;
@@ -3590,8 +3644,8 @@ html {
3590
  .obfx-wrapper .panel.options {
3591
  overflow: hidden;
3592
  height: 75px;
3593
- -webkit-transition: height 1s;
3594
- transition: height 1s;
3595
  }
3596
 
3597
  /** TEMPORARY FIX FOR SOCIAL SHARING STYLE **/
@@ -3624,6 +3678,16 @@ html {
3624
  border-bottom: 1px solid #eee;
3625
  }
3626
 
 
 
 
 
 
 
 
 
 
 
3627
  @media ( max-width: 600px ) {
3628
  #obfx-mod-social-sharing .obfx-row .form-label {
3629
  margin-bottom: 20px;
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
+ Version: 2.4.2
12
  */
13
 
14
  /* Document
707
  border-left-color: #fff;
708
  }
709
 
710
+ .obfx-wrapper .btn.btn-success {
711
+ background: #32b643;
712
+ border-color: #2faa3f;
713
+ color: #fff
714
+ }
715
+
716
+ .obfx-wrapper .btn.btn-success:focus {
717
+ box-shadow: 0 0 0 .1rem rgba(50,182,67,.2)
718
+ }
719
+
720
+ .obfx-wrapper .btn.btn-success:focus,.obfx-wrapper .btn.btn-success:hover {
721
+ background: #30ae40;
722
+ border-color: #2da23c;
723
+ color: #fff
724
+ }
725
+
726
+ .obfx-wrapper .btn.btn-success.active,.obfx-wrapper .btn.btn-success:active {
727
+ background: #2a9a39;
728
+ border-color: #278e34;
729
+ color: #fff
730
+ }
731
+
732
+ .obfx-wrapper .btn.btn-success.loading::after {
733
+ border-bottom-color: #fff;
734
+ border-left-color: #fff
735
+ }
736
+
737
+ .obfx-wrapper .btn.btn-error {
738
+ background: #e85600;
739
+ border-color: #d95000;
740
+ color: #fff
741
+ }
742
+
743
+ .obfx-wrapper .btn.btn-error:focus {
744
+ box-shadow: 0 0 0 .1rem rgba(232,86,0,.2)
745
+ }
746
+
747
+ .obfx-wrapper .btn.btn-error:focus,.obfx-wrapper .btn.btn-error:hover {
748
+ background: #de5200;
749
+ border-color: #cf4d00;
750
+ color: #fff
751
+ }
752
+
753
+ .obfx-wrapper .btn.btn-error.active,.obfx-wrapper .btn.btn-error:active {
754
+ background: #c44900;
755
+ border-color: #b54300;
756
+ color: #fff
757
+ }
758
+
759
+ .obfx-wrapper .btn.btn-error.loading::after {
760
+ border-bottom-color: #fff;
761
+ border-left-color: #fff
762
+ }
763
+
764
  .obfx-wrapper .btn.btn-link {
765
  border-color: transparent;
766
  color: #5764c6;
3644
  .obfx-wrapper .panel.options {
3645
  overflow: hidden;
3646
  height: 75px;
3647
+ -webkit-transition: height .3s;
3648
+ transition: height .3s;
3649
  }
3650
 
3651
  /** TEMPORARY FIX FOR SOCIAL SHARING STYLE **/
3678
  border-bottom: 1px solid #eee;
3679
  }
3680
 
3681
+ .obfx-google {
3682
+ max-width: 20px;
3683
+ overflow: hidden;
3684
+ width:16px;
3685
+ top: -2px;
3686
+ position: relative;
3687
+ margin-right: 5px;
3688
+ font-size: 25px;
3689
+ }
3690
+
3691
  @media ( max-width: 600px ) {
3692
  #obfx-mod-social-sharing .obfx-row .form-label {
3693
  margin-bottom: 20px;
core/assets/js/orbit-fox-admin.js CHANGED
@@ -141,7 +141,7 @@ var obfx_admin = function ( $ ) {
141
  );
142
 
143
  $( '.obfx-module-form' ).on(
144
- 'submit', function ( e ) {
145
  e.preventDefault();
146
  return false;
147
  }
141
  );
142
 
143
  $( '.obfx-module-form' ).on(
144
+ 'submit reset', function ( e ) {
145
  e.preventDefault();
146
  return false;
147
  }
core/includes/class-orbit-fox.php CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
- $this->version = '2.4.1';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.4.2';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
obfx_modules/google-analytics/init.php ADDED
@@ -0,0 +1,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The Mock-up to demonstrate and test module use.
4
+ *
5
+ * @link https://themeisle.com
6
+ * @since 1.0.0
7
+ *
8
+ * @package Uptime_Monitor_OBFX_Module
9
+ */
10
+
11
+ /**
12
+ * The class defines a new module to be used by Orbit Fox plugin.
13
+ *
14
+ * @package Uptime_Monitor_OBFX_Module
15
+ * @author Themeisle <friends@themeisle.com>
16
+ */
17
+ class Google_Analytics_OBFX_Module extends Orbit_Fox_Module_Abstract {
18
+ /**
19
+ * @var string Uptime api endpoint.
20
+ */
21
+ private $api_url = 'https://analytics.orbitfox.com/api/pirate-bridge/v1';
22
+
23
+ /**
24
+ * Test_OBFX_Module constructor.
25
+ *
26
+ * @since 4.0.3
27
+ * @access public
28
+ */
29
+ public function __construct() {
30
+ parent::__construct();
31
+ $this->name = __( 'Analytics Integration', 'themeisle-companion' );
32
+ $this->description = __( 'A module to integrate Google Analytics into your site easily.', 'themeisle-companion' );
33
+ }
34
+
35
+ /**
36
+ * Determine if module should be loaded.
37
+ *
38
+ * @since 1.0.0
39
+ * @access public
40
+ * @return bool
41
+ */
42
+ public function enable_module() {
43
+ return true;
44
+ }
45
+
46
+ /**
47
+ * The loading logic for the module.
48
+ *
49
+ * @since 1.0.0
50
+ * @access public
51
+ */
52
+ public function load() {
53
+ }
54
+
55
+ /**
56
+ * Method called on module activation.
57
+ * Calls the API to register an url to monitor.
58
+ *
59
+ * @since 2.3.3
60
+ * @access public
61
+ */
62
+ public function after_options_save() {
63
+ }
64
+
65
+ /**
66
+ * Method invoked before options save.
67
+ *
68
+ * @since 2.3.3
69
+ * @access public
70
+ */
71
+ public function before_options_save() {
72
+ $this->deactivate();
73
+ }
74
+
75
+ /**
76
+ * Method to define hooks needed.
77
+ *
78
+ * @since 1.0.0
79
+ * @access public
80
+ */
81
+ public function hooks() {
82
+ $this->loader->add_action( 'rest_api_init', $this, 'register_endpoints' );
83
+ $this->loader->add_action( 'current_screen', $this, 'maybe_save_obfx_token' );
84
+ $this->loader->add_action( 'admin_enqueue_scripts', $this, 'enqueue_analytics_scripts' );
85
+ $this->loader->add_filter( 'obfx_custom_control_google_signin', $this, 'generate_analytics_login' );
86
+ $this->loader->add_filter( 'obfx_custom_control_analytics_accounts_refresh', $this, 'render_refresh_control' );
87
+ $this->loader->add_filter( 'obfx_custom_control_analytics_accounts_unregister', $this, 'render_unregister_control' );
88
+ $this->loader->add_action( 'wp_head', $this, 'output_analytics_code', 0 );
89
+ }
90
+
91
+ /**
92
+ * Register endpoint for refreshing analytics.
93
+ */
94
+ public function register_endpoints() {
95
+ register_rest_route( 'obfx-' . $this->slug, '/obfx-analytics', array(
96
+ array(
97
+ 'methods' => WP_REST_Server::CREATABLE,
98
+ 'callback' => array( $this, 'refresh_tracking_links' )
99
+ ),
100
+ ) );
101
+ }
102
+
103
+ public function refresh_tracking_links() {
104
+
105
+ if ( ! current_user_can( 'manage_options' ) ) {
106
+ return false;
107
+ }
108
+
109
+ $obfx_token = get_option( 'obfx_token', '' );
110
+
111
+ if ( ( $_POST['deactivate'] === 'unregister' ) ) {
112
+ return $this->unregister_website( $obfx_token );
113
+ }
114
+ if ( empty( $obfx_token ) ) {
115
+ return new WP_Error( '200', 'Your site is not registered.' );
116
+ }
117
+ $this->get_tracking_codes( $obfx_token, true );
118
+ }
119
+
120
+ public function unregister_website( $obfx_token ) {
121
+ if ( ! isset( $obfx_token ) ) {
122
+ return false;
123
+ }
124
+ delete_option( 'obfx_token' );
125
+ delete_option( 'obfx_google_accounts_tracking_codes' );
126
+ $req_headers = array( 'x-obfx-auth' => $obfx_token );
127
+ $req_body = array( 'site_url' => home_url(), 'site_hash' => $this->get_site_hash() );
128
+
129
+ $request = wp_remote_post( $this->api_url . '/remove_website',
130
+ array(
131
+ 'headers' => $req_headers,
132
+ 'body' => $req_body,
133
+ ) );
134
+
135
+ return $request;
136
+ }
137
+
138
+ /**
139
+ * Method that returns an array of scripts and styles to be loaded
140
+ * for the front end part.
141
+ *
142
+ * @since 1.0.0
143
+ * @access public
144
+ * @return array
145
+ */
146
+ public function public_enqueue() {
147
+ return array();
148
+ }
149
+
150
+ public function enqueue_analytics_scripts() {
151
+ $script_handle = $this->slug . '-script';
152
+ wp_register_script( $script_handle, plugin_dir_url( $this->get_dir() ) . $this->slug . '/js/script.js', array( 'jquery' ), $this->version );
153
+ wp_localize_script( $script_handle, 'obfxAnalyticsObj',
154
+ array(
155
+ 'url' => $this->get_endpoint_url( '/obfx-analytics' ),
156
+ 'nonce' => wp_create_nonce( 'wp_rest' ),
157
+ ) );
158
+ wp_enqueue_script( $script_handle );
159
+ }
160
+
161
+ /**
162
+ * Returns rest endpoint url.
163
+ *
164
+ * @param string $path
165
+ *
166
+ * @return string
167
+ */
168
+ public function get_endpoint_url( $path = '' ) {
169
+ return rest_url( 'obfx-' . $this->slug . $path );
170
+ }
171
+
172
+ /**
173
+ * Method that returns an array of scripts and styles to be loaded
174
+ * for the admin part.
175
+ *
176
+ * @since 1.0.0
177
+ * @access public
178
+ * @return array|boolean
179
+ */
180
+ public function admin_enqueue() {
181
+ return array();
182
+ }
183
+
184
+ /**
185
+ * Method to define the options fields for the module
186
+ *
187
+ * @since 1.0.0
188
+ * @access public
189
+ * @return array
190
+ */
191
+ public function options() {
192
+ $token = get_option( 'obfx_token', '' );
193
+ if ( empty( $token ) ) {
194
+ return array(
195
+ array(
196
+ 'id' => 'google_signin',
197
+ 'name' => 'google_signin',
198
+ 'type' => 'custom',
199
+ ),
200
+ );
201
+ }
202
+
203
+ $options = array( '-' => __( 'Select a tracking code', 'themeisle-companion' ) . '...' );
204
+
205
+ $accounts = get_option( 'obfx_google_accounts_tracking_codes', array() );
206
+
207
+ if ( ! empty ( $accounts ) ) {
208
+ foreach ( $accounts as $account ) {
209
+ $options[ $account->tracking_code ] = $account->account_name . ' - ' . $account->tracking_code;
210
+ }
211
+ }
212
+
213
+ return array(
214
+
215
+ array(
216
+ 'id' => 'analytics_accounts_refresh',
217
+ 'name' => 'analytics_accounts_refresh',
218
+ 'type' => 'custom',
219
+ ),
220
+ array(
221
+ 'id' => 'analytics_accounts_select',
222
+ 'name' => 'analytics_accounts_select',
223
+ 'type' => 'select',
224
+ 'options' => $options,
225
+ 'default' => '-',
226
+ ),
227
+ array(
228
+ 'id' => 'analytics_accounts_unregister',
229
+ 'name' => 'analytics_accounts_unregister',
230
+ 'type' => 'custom',
231
+ )
232
+ );
233
+ }
234
+
235
+ /**
236
+ * Render the refresh button.
237
+ *
238
+ * @return string
239
+ */
240
+ public function render_refresh_control() {
241
+ $refresh_button = '<button id="refresh-analytics-accounts" class="btn btn-primary btn-sm"><i class="dashicons dashicons-update"></i> ' . __( 'Refresh Accounts', 'themeisle-companion' ) . '</button><p></p>';
242
+
243
+ return $refresh_button;
244
+ }
245
+
246
+ /**
247
+ * Render the unregister button.
248
+ *
249
+ * @return string
250
+ */
251
+ public function render_unregister_control() {
252
+ $unregister_button = '<button id="unregister-analytics" class="btn btn-sm"><i class="dashicons dashicons-no"></i>' . __( 'Unregister Site', 'themeisle-companion' ) . '</button><p>';
253
+
254
+ return $unregister_button;
255
+ }
256
+
257
+ /**
258
+ * Get tracking codes from server.
259
+ *
260
+ * @param string $obfx_token
261
+ * @param bool $forced
262
+ *
263
+ * @return bool|string
264
+ */
265
+ public function get_tracking_codes( $obfx_token = '', $forced = false ) {
266
+
267
+ if ( empty( $obfx_token ) ) {
268
+ return false;
269
+ }
270
+
271
+ $req_headers = array( 'x-obfx-auth' => $obfx_token );
272
+ $req_body = array(
273
+ 'site_url' => home_url(),
274
+ 'site_hash' => $this->get_site_hash(),
275
+ 'forced_update' => 'not_forced'
276
+ );
277
+
278
+ if ( $forced === true ) {
279
+ $req_body['forced_update'] = 'forced_update';
280
+ }
281
+
282
+ $request = wp_remote_post( $this->api_url . '/get_tracking_links',
283
+ array(
284
+ 'headers' => $req_headers,
285
+ 'body' => $req_body,
286
+ ) );
287
+
288
+ if ( empty ( $request['body'] ) ) {
289
+ return false;
290
+ }
291
+ $accounts = json_decode( $request['body'] );
292
+ if ( empty( $accounts ) ) {
293
+ return false;
294
+ }
295
+
296
+ update_option( 'obfx_google_accounts_tracking_codes', $accounts );
297
+ }
298
+
299
+ /**
300
+ * Generates the analytics login control.
301
+ *
302
+ * @return string
303
+ */
304
+ public function generate_analytics_login() {
305
+ $url = $this->api_url . '/auth';
306
+ $url = add_query_arg( array(
307
+ 'site_hash' => $this->get_site_hash(),
308
+ 'site_url' => home_url(),
309
+ 'site_return' => admin_url( 'admin.php?page=obfx_companion' ),
310
+ ), $url );
311
+
312
+ $template = '<a class="btn btn-success" href="' . esc_url( $url ) . '"><span class="dashicons dashicons-googleplus obfx-google"></span>' . __( 'Authenticate with Google', 'themeisle-companion' ) . '</a>';
313
+
314
+ return $template;
315
+ }
316
+
317
+ /**
318
+ * Generate a website hash.
319
+ *
320
+ * @return string
321
+ */
322
+ private final function get_site_hash() {
323
+ return mb_strimwidth( rtrim( ltrim( sanitize_text_field( preg_replace( '/[^a-zA-Z0-9]/', '', AUTH_KEY . SECURE_AUTH_KEY . LOGGED_IN_KEY ) ) ) ), 0, 100 );
324
+ }
325
+
326
+ public final function maybe_save_obfx_token() {
327
+ $obfx_token = isset( $_GET['obfx_token'] ) ? sanitize_text_field( $_GET['obfx_token'] ) : '';
328
+ if ( empty( $obfx_token ) ) {
329
+ return '';
330
+ }
331
+ if ( ! is_admin() ) {
332
+ return '';
333
+ }
334
+ $current_screen = get_current_screen();
335
+ if ( ! isset( $current_screen->id ) ) {
336
+ return '';
337
+ }
338
+ if ( $current_screen->id !== 'toplevel_page_obfx_companion' ) {
339
+ return '';
340
+ }
341
+ if ( ! current_user_can( 'manage_options' ) ) {
342
+ return '';
343
+ }
344
+ update_option( 'obfx_token', $obfx_token );
345
+ $this->get_tracking_codes( $obfx_token );
346
+ wp_safe_redirect( admin_url( 'admin.php?page=obfx_companion' ) );
347
+
348
+ }
349
+
350
+ public final function output_analytics_code() {
351
+ $ua_code = $this->get_option( 'analytics_accounts_select' ); ?>
352
+ <!-- Google Analytics -->
353
+ <!-- Global site tag (gtag.js) - Google Analytics -->
354
+ <script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_attr( $ua_code ); ?>"></script>
355
+ <script>
356
+ window.dataLayer = window.dataLayer || [];
357
+
358
+ function gtag() {
359
+ dataLayer.push( arguments );
360
+ }
361
+
362
+ gtag( 'js', new Date() );
363
+
364
+ gtag( 'config', '<?php echo esc_attr( $ua_code ); ?>' );
365
+ </script>
366
+ <!-- End Google Analytics -->
367
+ <?php
368
+ }
369
+ }
obfx_modules/google-analytics/js/script.js ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* global obfxAnalyticsObj, console */
2
+
3
+ /**
4
+ * Analytics Module Admin Script
5
+ *
6
+ * This handles the analytics interaction.
7
+ *
8
+ * @since 1.0.0
9
+ * @package obfx_modules/google-analytics/js
10
+ *
11
+ * @author ThemeIsle
12
+ */
13
+
14
+ var obfx_analytics = function ( $ ) {
15
+ 'use strict';
16
+
17
+ $( function () {
18
+ $( '#refresh-analytics-accounts' ).on(
19
+ 'click', function () {
20
+ $.ajax(
21
+ {
22
+ url: obfxAnalyticsObj.url,
23
+ beforeSend: function ( xhr ) {
24
+ $( '#refresh-analytics-accounts' ).addClass( 'loading' );
25
+ xhr.setRequestHeader( 'X-WP-Nonce', obfxAnalyticsObj.nonce );
26
+ },
27
+ data: {},
28
+ type: 'POST',
29
+ error: function ( error ) {
30
+ console.error( error );
31
+ },
32
+ complete: function () {
33
+ $( '#refresh-analytics-accounts' ).removeClass( 'loading' );
34
+ location.reload();
35
+ }
36
+ }, 'json'
37
+ );
38
+ }
39
+ );
40
+ $( '#unregister-analytics' ).on(
41
+ 'click', function () {
42
+ $.ajax(
43
+ {
44
+ url: obfxAnalyticsObj.url,
45
+ beforeSend: function ( xhr ) {
46
+ $( '#unregister-analytics' ).addClass( 'loading' );
47
+ xhr.setRequestHeader( 'X-WP-Nonce', obfxAnalyticsObj.nonce );
48
+ },
49
+ data: {
50
+ deactivate: 'unregister'
51
+ },
52
+ type: 'POST',
53
+ error: function ( error ) {
54
+ console.error( error );
55
+ },
56
+ complete: function () {
57
+ $( '#unregister-analytics' ).removeClass( 'loading' );
58
+ location.reload();
59
+ }
60
+ }, 'json'
61
+ );
62
+ }
63
+ );
64
+ } );
65
+ };
66
+
67
+ obfx_analytics( jQuery );
readme.md CHANGED
@@ -1,4 +1,4 @@
1
- # Orbit Fox Companion #
2
  **Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [codeinwp](https://profiles.wordpress.org/codeinwp), [rodicaelena](https://profiles.wordpress.org/rodicaelena), [baicusandrei](https://profiles.wordpress.org/baicusandrei)
3
  **Tags:** widget, admin, widgets, sharing, sections, themes, stock photos, custom icons, icons, menu icons, stock, templates
4
  **Requires at least:** 3.0
@@ -12,9 +12,11 @@ This swiss-knife plugin comes with a quality template library, menu/sharing icon
12
 
13
  ## Description ##
14
 
15
- Extend your theme functionality with <a href="https://themeisle.com/plugins/orbit-fox-companion/" rel="nofollow">Orbit Fox Companion</a> with various modules like Social Media Share Buttons & Icons, custom menu-icons, one click import page templates, page builder addons and free stock featured images.
16
 
17
  **Features:**
 
 
18
  - Template Directory
19
  - Elementor Addons and Widgets
20
  - Beaver Builder Widgets
@@ -28,13 +30,13 @@ You can check out the demo <a href="https://demo.themeisle.com/orbit-fox/#blog"
28
 
29
  OrbitFox is a user-centred plugin with an easy-to-use admin panel. One of the most important features is that modules will only be loaded if they meet two conditions. If they are needed and if they are compatible with your existing themes and plugins. This will cut down on the unnecessary bloating of your website.
30
 
31
- We've also built some fantastic <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow" target="_blank">free themes</a> that work well with Orbit Fox Companion, check them out.
32
 
33
  ## Frequently Asked Questions ##
34
 
35
  ### How I can get support for this plugin ? ###
36
 
37
- You can learn more about Orbit Fox Companion and ask for help by <a href="https://themeisle.com/contact/" >visiting ThemeIsle website</a>.
38
 
39
  ### What can I do with this plugin ###
40
  This plugin extends the features of your sites by adding numerous features.
@@ -43,6 +45,13 @@ This plugin extends the features of your sites by adding numerous features.
43
  - Choose from a large variety of custom icons.
44
  - No coding needed, you can leverage the power of our dropdown icons selector and choose the right icon for your menu.
45
 
 
 
 
 
 
 
 
46
  **Why use our sharing module:**
47
  - It's easy to use
48
  - Enable sharing networks right from your admin dashboard and choose on what kind of devices you would like to show them.
@@ -71,13 +80,13 @@ This plugin extends the features of your sites by adding numerous features.
71
 
72
  ## Installation ##
73
 
74
- Activating the Orbit Fox Companion plugin is just like any other plugin. If you've uploaded the plugin package to your server already, skip to step 5 below:
75
 
76
  1. In your WordPress admin, go to **Plugins &gt; Add New**
77
  2. In the Search field type "Orbit Fox"
78
- 3. Under "Orbit Fox Companion" click the **Install Now** link
79
  4. Once the process is complete, click the **Activate Plugin** link
80
- 5. Now, you're able to use Orbit fox and setup the modules you need. These can be found on the **Orbit Fox Companion** dashboard page
81
  6. Make the changes desired, then click the **Save changes** button at the bottom
82
 
83
  ## Screenshots ##
@@ -89,6 +98,12 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
89
  5. Social Sharing Module
90
 
91
  ## Changelog ##
 
 
 
 
 
 
92
  ### 2.4.1 - 2018-02-20 ###
93
 
94
  * Added intent confirmation for uptime monitor.
1
+ # Orbit Fox by ThemeIsle #
2
  **Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [codeinwp](https://profiles.wordpress.org/codeinwp), [rodicaelena](https://profiles.wordpress.org/rodicaelena), [baicusandrei](https://profiles.wordpress.org/baicusandrei)
3
  **Tags:** widget, admin, widgets, sharing, sections, themes, stock photos, custom icons, icons, menu icons, stock, templates
4
  **Requires at least:** 3.0
12
 
13
  ## Description ##
14
 
15
+ Extend your theme functionality with <a href="https://themeisle.com/plugins/orbit-fox-companion/" rel="nofollow">Orbit Fox</a> with various modules like Social Media Share Buttons & Icons, Uptime Monitoring, Google Analytics, custom menu-icons, one click import page templates, page builder addons and free stock featured images.
16
 
17
  **Features:**
18
+ - Uptime Monitor
19
+ - Google Analytics Integration
20
  - Template Directory
21
  - Elementor Addons and Widgets
22
  - Beaver Builder Widgets
30
 
31
  OrbitFox is a user-centred plugin with an easy-to-use admin panel. One of the most important features is that modules will only be loaded if they meet two conditions. If they are needed and if they are compatible with your existing themes and plugins. This will cut down on the unnecessary bloating of your website.
32
 
33
+ We've also built some fantastic <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow" target="_blank">free themes</a> that work well with Orbit Fox, check them out.
34
 
35
  ## Frequently Asked Questions ##
36
 
37
  ### How I can get support for this plugin ? ###
38
 
39
+ You can learn more about Orbit Fox and ask for help by <a href="https://themeisle.com/contact/" >visiting ThemeIsle website</a>.
40
 
41
  ### What can I do with this plugin ###
42
  This plugin extends the features of your sites by adding numerous features.
45
  - Choose from a large variety of custom icons.
46
  - No coding needed, you can leverage the power of our dropdown icons selector and choose the right icon for your menu.
47
 
48
+ **Why use our uptime monitor module:**
49
+ - Really easy to use, just put in your email and you will receive a message when / if your site goes down.
50
+
51
+ **Why use our Google Analytics integration module:**
52
+ - It's a one-click configuration.
53
+ - Just sign in with your google accounts
54
+
55
  **Why use our sharing module:**
56
  - It's easy to use
57
  - Enable sharing networks right from your admin dashboard and choose on what kind of devices you would like to show them.
80
 
81
  ## Installation ##
82
 
83
+ Activating the Orbit Fox plugin is just like any other plugin. If you've uploaded the plugin package to your server already, skip to step 5 below:
84
 
85
  1. In your WordPress admin, go to **Plugins &gt; Add New**
86
  2. In the Search field type "Orbit Fox"
87
+ 3. Under "Orbit Fox" click the **Install Now** link
88
  4. Once the process is complete, click the **Activate Plugin** link
89
+ 5. Now, you're able to use Orbit fox and setup the modules you need. These can be found on the **Orbit Fox** dashboard page
90
  6. Make the changes desired, then click the **Save changes** button at the bottom
91
 
92
  ## Screenshots ##
98
  5. Social Sharing Module
99
 
100
  ## Changelog ##
101
+ ### 2.4.2 - 2018-03-02 ###
102
+
103
+ * Added a new Google Analytics Integration module
104
+ * Small UX improvements
105
+
106
+
107
  ### 2.4.1 - 2018-02-20 ###
108
 
109
  * Added intent confirmation for uptime monitor.
readme.txt CHANGED
@@ -1,4 +1,4 @@
1
- === Orbit Fox Companion ===
2
  Contributors: themeisle, codeinwp, rodicaelena, baicusandrei
3
  Tags: widget, admin, widgets, sharing, sections, themes, stock photos, custom icons, icons, menu icons, stock, templates
4
  Requires at least: 3.0
@@ -12,9 +12,11 @@ This swiss-knife plugin comes with a quality template library, menu/sharing icon
12
 
13
  == Description ==
14
 
15
- Extend your theme functionality with <a href="https://themeisle.com/plugins/orbit-fox-companion/" rel="nofollow">Orbit Fox Companion</a> with various modules like Social Media Share Buttons & Icons, custom menu-icons, one click import page templates, page builder addons and free stock featured images.
16
 
17
  **Features:**
 
 
18
  - Template Directory
19
  - Elementor Addons and Widgets
20
  - Beaver Builder Widgets
@@ -28,13 +30,13 @@ You can check out the demo <a href="https://demo.themeisle.com/orbit-fox/#blog"
28
 
29
  OrbitFox is a user-centred plugin with an easy-to-use admin panel. One of the most important features is that modules will only be loaded if they meet two conditions. If they are needed and if they are compatible with your existing themes and plugins. This will cut down on the unnecessary bloating of your website.
30
 
31
- We've also built some fantastic <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow" target="_blank">free themes</a> that work well with Orbit Fox Companion, check them out.
32
 
33
  == Frequently Asked Questions ==
34
 
35
  = How I can get support for this plugin ? =
36
 
37
- You can learn more about Orbit Fox Companion and ask for help by <a href="https://themeisle.com/contact/" >visiting ThemeIsle website</a>.
38
 
39
  = What can I do with this plugin =
40
  This plugin extends the features of your sites by adding numerous features.
@@ -43,6 +45,13 @@ This plugin extends the features of your sites by adding numerous features.
43
  - Choose from a large variety of custom icons.
44
  - No coding needed, you can leverage the power of our dropdown icons selector and choose the right icon for your menu.
45
 
 
 
 
 
 
 
 
46
  **Why use our sharing module:**
47
  - It's easy to use
48
  - Enable sharing networks right from your admin dashboard and choose on what kind of devices you would like to show them.
@@ -71,13 +80,13 @@ This plugin extends the features of your sites by adding numerous features.
71
 
72
  == Installation ==
73
 
74
- Activating the Orbit Fox Companion plugin is just like any other plugin. If you've uploaded the plugin package to your server already, skip to step 5 below:
75
 
76
  1. In your WordPress admin, go to **Plugins &gt; Add New**
77
  2. In the Search field type "Orbit Fox"
78
- 3. Under "Orbit Fox Companion" click the **Install Now** link
79
  4. Once the process is complete, click the **Activate Plugin** link
80
- 5. Now, you're able to use Orbit fox and setup the modules you need. These can be found on the **Orbit Fox Companion** dashboard page
81
  6. Make the changes desired, then click the **Save changes** button at the bottom
82
 
83
  == Screenshots ==
@@ -89,6 +98,12 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
89
  5. Social Sharing Module
90
 
91
  == Changelog ==
 
 
 
 
 
 
92
  = 2.4.1 - 2018-02-20 =
93
 
94
  * Added intent confirmation for uptime monitor.
1
+ === Orbit Fox by ThemeIsle ===
2
  Contributors: themeisle, codeinwp, rodicaelena, baicusandrei
3
  Tags: widget, admin, widgets, sharing, sections, themes, stock photos, custom icons, icons, menu icons, stock, templates
4
  Requires at least: 3.0
12
 
13
  == Description ==
14
 
15
+ Extend your theme functionality with <a href="https://themeisle.com/plugins/orbit-fox-companion/" rel="nofollow">Orbit Fox</a> with various modules like Social Media Share Buttons & Icons, Uptime Monitoring, Google Analytics, custom menu-icons, one click import page templates, page builder addons and free stock featured images.
16
 
17
  **Features:**
18
+ - Uptime Monitor
19
+ - Google Analytics Integration
20
  - Template Directory
21
  - Elementor Addons and Widgets
22
  - Beaver Builder Widgets
30
 
31
  OrbitFox is a user-centred plugin with an easy-to-use admin panel. One of the most important features is that modules will only be loaded if they meet two conditions. If they are needed and if they are compatible with your existing themes and plugins. This will cut down on the unnecessary bloating of your website.
32
 
33
+ We've also built some fantastic <a href="http://themeisle.com/wordpress-themes/free/" rel="nofollow" target="_blank">free themes</a> that work well with Orbit Fox, check them out.
34
 
35
  == Frequently Asked Questions ==
36
 
37
  = How I can get support for this plugin ? =
38
 
39
+ You can learn more about Orbit Fox and ask for help by <a href="https://themeisle.com/contact/" >visiting ThemeIsle website</a>.
40
 
41
  = What can I do with this plugin =
42
  This plugin extends the features of your sites by adding numerous features.
45
  - Choose from a large variety of custom icons.
46
  - No coding needed, you can leverage the power of our dropdown icons selector and choose the right icon for your menu.
47
 
48
+ **Why use our uptime monitor module:**
49
+ - Really easy to use, just put in your email and you will receive a message when / if your site goes down.
50
+
51
+ **Why use our Google Analytics integration module:**
52
+ - It's a one-click configuration.
53
+ - Just sign in with your google accounts
54
+
55
  **Why use our sharing module:**
56
  - It's easy to use
57
  - Enable sharing networks right from your admin dashboard and choose on what kind of devices you would like to show them.
80
 
81
  == Installation ==
82
 
83
+ Activating the Orbit Fox plugin is just like any other plugin. If you've uploaded the plugin package to your server already, skip to step 5 below:
84
 
85
  1. In your WordPress admin, go to **Plugins &gt; Add New**
86
  2. In the Search field type "Orbit Fox"
87
+ 3. Under "Orbit Fox" click the **Install Now** link
88
  4. Once the process is complete, click the **Activate Plugin** link
89
+ 5. Now, you're able to use Orbit fox and setup the modules you need. These can be found on the **Orbit Fox** dashboard page
90
  6. Make the changes desired, then click the **Save changes** button at the bottom
91
 
92
  == Screenshots ==
98
  5. Social Sharing Module
99
 
100
  == Changelog ==
101
+ = 2.4.2 - 2018-03-02 =
102
+
103
+ * Added a new Google Analytics Integration module
104
+ * Small UX improvements
105
+
106
+
107
  = 2.4.1 - 2018-02-20 =
108
 
109
  * Added intent confirmation for uptime monitor.
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
- * Version: 2.4.1
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
+ * Version: 2.4.2
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"92263ab7feb9b1783e7d0f035d271c75","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
1
+ {"class-autoloader.php":"57e533b653d235e76cb9953720e4f5e9","index.php":"39ab8276fb0e4bd3fcab3270822c5977","themeisle-companion.php":"87f3347ee3a4e3c1e19cc67a6bfd30fb","uninstall.php":"7abf753a29e0eb3a844c8a0ba9493b7c"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit910fcd2dac85fa9f6166ab7a9b5045b2::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit06dc1b4c7b9f52f5879703b184cdab5c::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.1",
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 the Actions theme */
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 the Virtue theme */
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 the Actions theme */
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 the Virtue theme */
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 the GeneratePress theme */
3
- $style = '
4
- .entry-header {
5
- background-color: #fff;
6
- }
7
- .entry-header .grid-container {
8
- padding: 10px 10px;
 
 
 
 
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 the Genesis theme */
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 the Storefront theme */
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 the Storefront 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
  }
9
- .page-template-builder-fullwidth-std .elementor-page .page-wrap .container {
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 the Twenty Fifteen theme */
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 the Twenty Fourteen theme */
3
  $style = '
4
- .page-template-builder-fullwidth-std .elementor-page .site {
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 the Twenty Seventeen theme */
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 the Twenty Sixteen theme */
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 the Twenty Thirteen theme */
3
  $thirteen = '
4
- .page-template-builder-fullwidth-std .elementor-page .site {
5
  max-width: 100%;
6
- overflow: hidden;
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 the Vantage theme */
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 the Virtue theme */
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/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit910fcd2dac85fa9f6166ab7a9b5045b2
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit910fcd2dac85fa9f6166ab7a9b5045b2
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit910fcd2dac85fa9f6166ab7a9b5045b2', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit910fcd2dac85fa9f6166ab7a9b5045b2', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit910fcd2dac85fa9f6166ab7a9b5045b2
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire910fcd2dac85fa9f6166ab7a9b5045b2($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire910fcd2dac85fa9f6166ab7a9b5045b2($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit06dc1b4c7b9f52f5879703b184cdab5c
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit06dc1b4c7b9f52f5879703b184cdab5c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit06dc1b4c7b9f52f5879703b184cdab5c', '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
+ composerRequire06dc1b4c7b9f52f5879703b184cdab5c($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire06dc1b4c7b9f52f5879703b184cdab5c($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -46,15 +46,15 @@
46
  "source": {
47
  "type": "git",
48
  "url": "https://github.com/Codeinwp/full-width-page-templates.git",
49
- "reference": "606569bcbd870ad02d220e0e8302cdf38d984e99"
50
  },
51
  "dist": {
52
  "type": "zip",
53
- "url": "https://api.github.com/repos/Codeinwp/full-width-page-templates/zipball/606569bcbd870ad02d220e0e8302cdf38d984e99",
54
- "reference": "606569bcbd870ad02d220e0e8302cdf38d984e99",
55
  "shasum": ""
56
  },
57
- "time": "2018-01-23 14:34:54",
58
  "type": "library",
59
  "installation-source": "dist",
60
  "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": {