PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / 3.7.1
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More v3.7.1
4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / src / admin / notices / wizard-recommender-notice.php
superb-blocks / src / admin / notices Last commit date
addons-notice.php 5 months ago wizard-recommender-notice.php 5 months ago wizard-woocommerce-notice.php 5 months ago
wizard-recommender-notice.php
104 lines
1 <?php
2
3 use SuperbAddons\Admin\Controllers\DashboardController;
4
5 defined('ABSPATH') || exit;
6
7 $superb_blocks_recommend_url = add_query_arg(
8 array(
9 'page' => DashboardController::PAGE_WIZARD,
10 ),
11 admin_url("admin.php")
12 );
13 ?>
14 <div class="notice notice-info superb-addons-wizard-notification is-dismissible <?php echo esc_attr($notice['unique_id']); ?>" style="background-image:url(<?php echo esc_url(SUPERBADDONS_ASSETS_PATH . '/img/themedesigner-recommend.jpg'); ?>);">
15 <span class="superb-addons-wizard-notification-inner">
16 <div class="superbthemes-module-purple-badge"><?php echo esc_html__("Customize Your Theme", "superb-blocks"); ?></div>
17 <br>
18 <h2 class="notice-title"><?php echo esc_html__("Launch Theme Designer", "superb-blocks"); ?> </h2>
19 <p><?php echo esc_html__("Quickly customize your website’s design. Choose layouts for your menu, footer, homepage, blog, and more. Launch the Theme Designer now to easily create a website that looks just the way you want!", "superb-blocks"); ?></p>
20 <div>
21 <a class='button button-large button-primary' href='<?php echo esc_url($superb_blocks_recommend_url); ?>'><?php echo esc_html__("Launch Theme Designer", "superb-blocks"); ?></a>
22 </div>
23 <style>
24 .superb-addons-wizard-notification {
25 background-position: top right 20px;
26 background-repeat: no-repeat;
27 background-size: contain;
28 }
29
30 .superb-addons-wizard-notification-inner {
31 padding: 40px 400px 40px 30px;
32 display: inline-block;
33 width: 100%;
34 -webkit-box-sizing: border-box;
35 box-sizing: border-box;
36 position: relative;
37 background-size: contain;
38 }
39
40 .superb-addons-wizard-notification-inner .superbthemes-module-purple-badge {
41 background: #fff8e1;
42 color: #ff8f00;
43 font-weight: bold;
44 padding: 6px 10px;
45 border-radius: 30px;
46 display: inline-block;
47 }
48
49 .superb-addons-wizard-notification-inner .notice-title {
50 width: 100%;
51 display: inline-block;
52 font-weight: 500;
53 color: #263238;
54 font-size: 32px;
55 line-height: 130%;
56 margin: 15px 0 20px;
57 }
58
59 .superb-addons-wizard-notification-inner p {
60 display: inline-block;
61 width: 100%;
62 color: #546e7a;
63 font-size: 18px;
64 line-height: 144%;
65 max-width: 600px;
66 }
67
68 .superb-addons-wizard-notification-inner a.button:active,
69 .superb-addons-wizard-notification-inner a.button:hover,
70 .superb-addons-wizard-notification-inner a.button {
71 border: 1px solid #cfd8dc;
72 padding: 10px 20px !important;
73 -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
74 box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0) !important;
75 color: #fff !important;
76 font-weight: 500 !important;
77 font-size: 16px !important;
78 margin-right: 15px !important;
79 text-decoration: none !important;
80 background: #00BC87 !important;
81 border-radius: 6px !important;
82 border: 2px solid #00d096 !important;
83 margin: 20px 10px 0 0 !important;
84 }
85
86
87 @media screen and (max-width: 1200px) {
88 .superb-addons-wizard-notification-inner {
89 padding: 30px 380px 30px 30px;
90 }
91 }
92
93 @media screen and (max-width: 1100px) {
94 .superb-addons-wizard-notification-inner {
95 padding: 20px 0px 20px 20px;
96 }
97
98 .superb-addons-wizard-notification {
99 background-image: none !important;
100 }
101 }
102 </style>
103 </span>
104 </div>