@@ -11,16 +11,16 @@ discard block |
||
| 11 | 11 | |
| 12 | 12 | public function __construct() { |
| 13 | 13 | |
| 14 | - $disable_tour = lasso_editor_get_option('disable_tour', 'lasso_editor'); |
|
| 14 | + $disable_tour = lasso_editor_get_option('disable_tour', 'lasso_editor'); |
|
| 15 | 15 | if (!$disable_tour) { |
| 16 | - add_action( 'wp_footer', array( $this, 'draw_tour' ) ); |
|
| 16 | + add_action( 'wp_footer', array( $this, 'draw_tour' ) ); |
|
| 17 | 17 | } |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | - * Draw the modal used to house the walk through |
|
| 22 | - * @since 0.6 |
|
| 23 | - */ |
|
| 21 | + * Draw the modal used to house the walk through |
|
| 22 | + * @since 0.6 |
|
| 23 | + */ |
|
| 24 | 24 | public function draw_tour() { |
| 25 | 25 | |
| 26 | 26 | $tour_hidden = get_user_meta( get_current_user_ID(), 'lasso_hide_tour', true ); |
@@ -80,9 +80,9 @@ discard block |
||
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * Draw the inner slides for the welcome walkthrough |
|
| 84 | - * @since 0.6 |
|
| 85 | - */ |
|
| 83 | + * Draw the inner slides for the welcome walkthrough |
|
| 84 | + * @since 0.6 |
|
| 85 | + */ |
|
| 86 | 86 | public function tour_slides() { ?> |
| 87 | 87 | |
| 88 | 88 | <div id="lasso--loading" class="lasso--loading"><div class="lasso--loader"></div></div> |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | $toolbar_class = $toolbar_headings ? 'toolbar-extended' : false; |
| 149 | 149 | |
| 150 | 150 | // mobile styles |
| 151 | - $mobile_class = $is_mobile ? 'lasso-mobile' : false; |
|
| 151 | + $mobile_class = $is_mobile ? 'lasso-mobile' : false; |
|
| 152 | 152 | $mobile_style =$is_mobile ? 'style="top:40px;"' : null; |
| 153 | 153 | |
| 154 | 154 | //show color |
@@ -513,8 +513,8 @@ discard block |
||
| 513 | 513 | global $post; |
| 514 | 514 | |
| 515 | 515 | global $wp_post_types; |
| 516 | - $labels = &$wp_post_types['post']->labels; |
|
| 517 | - $labels->name = 'Articles'; |
|
| 516 | + $labels = &$wp_post_types['post']->labels; |
|
| 517 | + $labels->name = 'Articles'; |
|
| 518 | 518 | |
| 519 | 519 | ob_start(); |
| 520 | 520 | |