Version Description
Download this release
Release Info
Developer | marnietave |
Plugin | Free Tools to Automate Your Site Growth |
Version | 1.14 |
Comparing to | |
See all releases |
Code changes from version 1.30 to 1.14
- Readme.txt +223 -137
- assets/screenshot-1.png +0 -0
- assets/screenshot-10.png +0 -0
- assets/screenshot-11.png +0 -0
- assets/screenshot-12.png +0 -0
- assets/screenshot-13.png +0 -0
- assets/screenshot-14.png +0 -0
- assets/screenshot-15.png +0 -0
- assets/screenshot-16.png +0 -0
- assets/screenshot-2.png +0 -0
- assets/screenshot-3.png +0 -0
- assets/screenshot-4.png +0 -0
- assets/screenshot-5.png +0 -0
- assets/screenshot-6.png +0 -0
- assets/screenshot-7.png +0 -0
- assets/screenshot-8.png +0 -0
- assets/screenshot-9.png +0 -0
- classes/class_sumome.php +0 -380
- images/apps-bg.png +0 -0
- images/appsumo-logo.png +0 -0
- images/checkmark.png +0 -0
- images/facebook.png +0 -0
- images/instagram.png +0 -0
- images/modal-close.png +0 -0
- images/popup-login-header.png +0 -0
- images/store-bg.png +0 -0
- images/sumo-banner.jpg +0 -0
- images/sumome-loading.gif +0 -0
- images/sumome-site-clients-4hourworkweek.png +0 -0
- images/sumome-site-clients-airbnb.png +0 -0
- images/sumome-site-clients-artofman.png +0 -0
- images/sumome-site-clients-beachbody.png +0 -0
- images/sumome-site-clients-chive.png +0 -0
- images/sumome-site-clients-entrepreneur.png +0 -0
- images/sumome-site-clients-tonyrobbins.png +0 -0
- images/sumome-site-team.jpg +0 -0
- images/sumome-site-team.png +0 -0
- images/sumome-site-welcome-graph.png +0 -0
- images/sumome-site-welcome-header.jpg +0 -0
- images/sumome-site-welcome1.png +0 -0
- images/sumome-site-welcome2.png +0 -0
- images/sumome-site-welcome3.png +0 -0
- images/sumome_crown.png +0 -0
- images/twitter.png +0 -0
- js/general.php +0 -162
- js/preload.php +0 -147
- styles/instructions.css +247 -0
- styles/media.css +0 -262
- styles/statistics.css +0 -536
- styles/styles.css +0 -958
- sumome.php +140 -11
- templates/settings.php +106 -0
- views/footer.php +0 -19
- views/landing.php +0 -28
- views/main.php +0 -96
- views/popup.php +0 -14
- views/siteID.php +0 -24
- views/statistics.php +0 -80
- views/wordpress-dashboard-welcome-page.php +0 -202
Readme.txt
CHANGED
@@ -1,67 +1,173 @@
|
|
1 |
-
===
|
2 |
Contributors: SumoMe
|
3 |
-
Tags:
|
4 |
Requires at least: 3.0.1
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
-
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
-
|
19 |
-
* Grow your email list with timed popups across your site
|
20 |
-
* Increase your average order value with smart bars that incentivise your visitors to buy more
|
21 |
-
* Create discount codes you can use to get more customers to buy
|
22 |
-
* See the ROI from every email subscriber and sale you make
|
23 |
|
24 |
-
|
25 |
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
|
29 |
|
30 |
-
|
31 |
|
32 |
-
|
33 |
|
34 |
-
=
|
35 |
|
36 |
-
|
37 |
|
38 |
-
=
|
39 |
|
40 |
-
|
41 |
|
42 |
-
=
|
43 |
|
44 |
-
|
45 |
|
46 |
-
=
|
47 |
|
48 |
-
|
49 |
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
= Latest Updates =
|
52 |
|
53 |
-
*
|
54 |
-
* Added
|
55 |
-
*
|
|
|
|
|
|
|
56 |
|
57 |
-
|
|
|
|
|
|
|
58 |
|
59 |
== Installation ==
|
60 |
|
61 |
1. Upload folder wp-sumome.zip to the `/wp-content/plugins/` directory
|
62 |
1. Activate the plugin through the `Plugins` menu in WordPress
|
63 |
1. Click on the blue thingy in the top right.
|
64 |
-
1. Register and
|
65 |
1. Eat a taco and enjoy the increased traffic to your site.
|
66 |
|
67 |
== Frequently Asked Questions ==
|
@@ -70,10 +176,30 @@ Our team always make sure Sumo is 100% compliant with Google's latest SEO update
|
|
70 |
|
71 |
Not at all. This plugin loads asynchronously so it won't down your site at all.
|
72 |
|
73 |
-
= Where do I login to
|
74 |
|
75 |
Once you install the plugin and activate it. Go to any page on your site and you'll see a little blue thing in the top right, click on it and then the crown icon to login.
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
= Can I customize the look and feel of the popup? =
|
78 |
|
79 |
You can use our default options or fully control the CSS in the advanced section.
|
@@ -82,18 +208,78 @@ You can use our default options or fully control the CSS in the advanced section
|
|
82 |
|
83 |
Yes, we provide instant integration with MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, and Maropost. When a user joins, their email is automatically subscribed to your MailChimp, Aweber, or other newsletter list. Alternately, you can simply download a CSV list of your newsletter subscribers.
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
== Screenshots ==
|
87 |
|
88 |
-
[See all of our screenshots at
|
89 |
|
90 |
-
1. This screen shot is how to Sign up once you have activated the plugin
|
91 |
-
2. This
|
92 |
-
3. Fully customizable email pop ups
|
93 |
4. Total control of the design and feel of the pop ups
|
94 |
5. Connect with all major email providers (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
95 |
6. A/B testing to maximize your conversion rate
|
96 |
-
7. Advanced display rules to control which visitors see your pop ups
|
97 |
8. Detailed stats page to track your email growth
|
98 |
9. Super sexy sharing buttons for mobile and desktop (Share app)
|
99 |
10. Performance of how your shares are doing
|
@@ -144,56 +330,6 @@ Yes, we provide instant integration with MailChimp, Aweber, Constant Contact, Ca
|
|
144 |
= 1.14 =
|
145 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
146 |
|
147 |
-
= 1.15 =
|
148 |
-
* Integration with WordPress Admin.
|
149 |
-
* Statistics inside WordPress dashboard.
|
150 |
-
* Better on-boarding.
|
151 |
-
|
152 |
-
= 1.16 =
|
153 |
-
* CSS and pathname fixes
|
154 |
-
|
155 |
-
= 1.17 =
|
156 |
-
* CSS, notification bubble, and more random Site ID
|
157 |
-
|
158 |
-
= 1.18 =
|
159 |
-
* Fixes site ID conflict
|
160 |
-
|
161 |
-
= 1.19 =
|
162 |
-
* Fixes logout redirect, and updated WordPress tested version.
|
163 |
-
|
164 |
-
= 1.20 =
|
165 |
-
* Added social media. Fixed help link.
|
166 |
-
|
167 |
-
= 1.21 =
|
168 |
-
* Updating versions.
|
169 |
-
|
170 |
-
= 1.22 =
|
171 |
-
* Upgrading users that inserted the Sumo tag manually.
|
172 |
-
|
173 |
-
= 1.23 =
|
174 |
-
* Sumo
|
175 |
-
|
176 |
-
= 1.24 =
|
177 |
-
* Sumo transition
|
178 |
-
|
179 |
-
= 1.25 =
|
180 |
-
* Sumo transition. Added more information to statistics section. Fixed broken link.
|
181 |
-
|
182 |
-
= 1.26 =
|
183 |
-
* Sumo transition. Fixed broken link. Design changes.
|
184 |
-
|
185 |
-
= 1.27 =
|
186 |
-
* Tested up to the newest Wordpress version.
|
187 |
-
|
188 |
-
= 1.28 =
|
189 |
-
* Updated Sumo script tag. Tested up to the newest Wordpress version.
|
190 |
-
|
191 |
-
= 1.29 =
|
192 |
-
* Moved Sumo script tag to the footer.
|
193 |
-
|
194 |
-
= 1.30 =
|
195 |
-
* Added WooCommerce functionality. Updated Readme. Tested up to the newest Wordpress version.
|
196 |
-
|
197 |
== Upgrade Notice ==
|
198 |
|
199 |
= 1.04 =
|
@@ -233,54 +369,4 @@ Yes, we provide instant integration with MailChimp, Aweber, Constant Contact, Ca
|
|
233 |
* images, updated instructions
|
234 |
|
235 |
= 1.14 =
|
236 |
-
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
237 |
-
|
238 |
-
= 1.15 =
|
239 |
-
* Integration with WordPress Admin.
|
240 |
-
* Statistics inside WordPress dashboard.
|
241 |
-
* Better on-boarding.
|
242 |
-
|
243 |
-
= 1.16 =
|
244 |
-
* CSS and pathname fixes
|
245 |
-
|
246 |
-
= 1.17 =
|
247 |
-
* CSS, notification bubble, and more random Site ID
|
248 |
-
|
249 |
-
= 1.18 =
|
250 |
-
* Fixes site ID conflict
|
251 |
-
|
252 |
-
= 1.19 =
|
253 |
-
* Fixes logout redirect, and updated WordPress tested version.
|
254 |
-
|
255 |
-
= 1.20 =
|
256 |
-
* Added social media. Fixed help link.
|
257 |
-
|
258 |
-
= 1.21 =
|
259 |
-
* Updating versions.
|
260 |
-
|
261 |
-
= 1.22 =
|
262 |
-
* Upgrading users that inserted the Sumo tag manually.
|
263 |
-
|
264 |
-
= 1.23 =
|
265 |
-
* Sumo
|
266 |
-
|
267 |
-
= 1.24 =
|
268 |
-
* Sumo transition
|
269 |
-
|
270 |
-
= 1.25 =
|
271 |
-
* Sumo transition. Added more information to statistics section. Fixed broken link.
|
272 |
-
|
273 |
-
= 1.26 =
|
274 |
-
* Sumo transition. Fixed broken link. Design changes.
|
275 |
-
|
276 |
-
= 1.27 =
|
277 |
-
* Tested up to the newest Wordpress version.
|
278 |
-
|
279 |
-
= 1.28 =
|
280 |
-
* Updated Sumo script tag. Tested up to the newest Wordpress version.
|
281 |
-
|
282 |
-
= 1.29 =
|
283 |
-
* Moved Sumo script tag to the footer.
|
284 |
-
|
285 |
-
= 1.30 =
|
286 |
-
* Added WooCommerce functionality. Updated Readme. Tested up to the newest Wordpress version.
|
1 |
+
=== Free Tools to grow your Email List, Social Sharing and Analytics ===
|
2 |
Contributors: SumoMe
|
3 |
+
Tags: MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, popup, exit intent, growth, subscribers, twitter, facebook share, social plugin, social sharing, subscription, email form, share, sharing, social , social media buttons , links, click to tweet , analytics , newsletter, widget,lightbox, analytics, newsletter, newsletter, Facebook, floating social buttons, google plus, Image sharing, pinterest plugin, pintrest, share image, sharebar, sharing, social bookmarking, social plugin, sms, tweet button, heat map, heatmaps, twitter share, contact form, scroll box, content analytics, inbound marketing, mailing list, share buttons, welcome mat, landing page
|
4 |
Requires at least: 3.0.1
|
5 |
+
Tested up to: 4.2.1
|
6 |
+
Stable tag: 1.14
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
+
Free and easy way to double your email subscribers. And Sharing tools to double your traffic from Facebook, Twitter, Pinterest & more.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
Most blogs are designed for hit-and-run readers. People find your blog, read your article, and leave. Wouldn't it be nice if some of those people subscribe or share your amazing post?
|
15 |
|
16 |
+
>SumoMe provides free tools you need to grow your WordPress site. This plugin will make it easy for your readers to join your email list, share your articles and optimize with analytics. The free tools include:
|
17 |
+
>
|
18 |
+
>`List Builder` will let you create a fancy lightbox pop up to [build email subscriptions](http://sumome.com/?src=wordpress) (for MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost, or others).
|
19 |
+
>
|
20 |
+
>`Share` makes it insanely easy for people to share on mobile or web all of your great content.
|
21 |
+
>
|
22 |
+
>`Welcome Mat` displays a full-screen call to action that shows when visitors land on your site.
|
23 |
+
>
|
24 |
+
>`Heat Maps` help you see where people are clicking (or not) on your website.
|
25 |
+
>
|
26 |
+
>`Scroll Box` is an email collection box triggered by how far your reader makes it down the screen.
|
27 |
+
>
|
28 |
+
>`Smart Bar` is a Floating Bar that can appear at the top or bottom of your website. You can encourage people to subscribe to your newsletter, go to a specific page or follow you on your social networks.
|
29 |
+
>
|
30 |
+
>`Highlighter` makes it easy to click to tweet about your article by selecting popular parts of your writing (like Kindle and Medium).
|
31 |
+
>
|
32 |
+
>`Image Sharer` makes it stupid simple to share your images (with a link to your post) on Pinterest, Facebook and Twitter.
|
33 |
+
>
|
34 |
+
>And even more great free tools in our Sumo Store.
|
35 |
|
36 |
+
Now, people will find your blog, read your article, share your article on Twitter/Facebook/Pinterest, and subscribe via email to your email newsletter.
|
|
|
|
|
|
|
|
|
37 |
|
38 |
+
= Features =
|
39 |
|
40 |
+
* Free and Easy integration with any WordPress theme
|
41 |
+
* Simple email integration with MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, and Maropost
|
42 |
+
* 100% mobile optimized. A lot of your traffic is mobile, make sure your tools are too
|
43 |
+
* Asynchronous loading that won't affect page load speed
|
44 |
+
* Total control over which growth features to enable
|
45 |
+
* Easy sharing on Twitter
|
46 |
+
* Customize templates to make your email popup look amazing
|
47 |
+
* See gravatars of your most recent email subscribers
|
48 |
+
* Highlighting of popular Twitter sections (like Kindle and Medium)
|
49 |
+
* Simply delete any tweet highlights you don't want
|
50 |
+
* Promotion of your Twitter handle
|
51 |
+
* Works with other social plugins like Digg Digg
|
52 |
+
* Popover that significantly increase email subscribes
|
53 |
+
* Custom email subscription popover timing
|
54 |
+
* Optional smart email popover timing (like Exit Monitor)
|
55 |
+
* Customizable email subscribe box wording and colors
|
56 |
+
* Full HTML control of popover content
|
57 |
+
* Or simply export email subscribers in a .csv file
|
58 |
+
* Quickly growth your email newsletter list
|
59 |
+
* View email subscription statistics for all time
|
60 |
+
* Easily add Facebook, Twitter, and Pinterest sharing to your images
|
61 |
+
* Images have higher engagement on social networks
|
62 |
+
* Include your Twitter username in tweeted images
|
63 |
+
* Share count shows how often people share your images
|
64 |
+
* Install image sharing in literally seconds
|
65 |
+
* Choose which features/apps you want to enable
|
66 |
+
* Smart Bar to ask for emails at the top of your website
|
67 |
+
* Heat maps so you can visually see where your visitors are clicking (or not)
|
68 |
+
* Share app - Get more traffic to your site with these super easy to setup share buttons!
|
69 |
+
* Contact Form - Simplest way to have your readers contact you
|
70 |
+
* Content Analytics - See how far people are scrolling on your website
|
71 |
+
* Welcome Mat - Now you can instantly add a full-screen call to action to grow your email list or drive visitors to a certain page.
|
72 |
|
73 |
+
= List Builder (email subscribe feature) =
|
74 |
|
75 |
+
The most important asset on your blog isn't your theme or even your content. It's your email list. As you build your email subscriber list, promoting your new posts becomes faster and more effective as you can quickly send a notification to thousands of interested people who want to ready your content.
|
76 |
|
77 |
+
While most email subscription boxes are static widgets in your sidebar, our MailChimp/Aweber list builder generates extra attention and higher signup rates by launching an unobtrusive popover signup box. You can decide whether this box loads manually after the visitor has been on your page for a few seconds or automatically when the mouse moves away from the page (much like Exit Monitor).
|
78 |
|
79 |
+
= A/B testing your email pop ups =
|
80 |
|
81 |
+
Now you can figure out which text, size, timing, colors and more will convert best on your site. A/B testing can be setup in seconds and most people see 20-100% more email subscribers after testing.
|
82 |
|
83 |
+
= Advanced display rules =
|
84 |
|
85 |
+
Now you can target all of our apps to any specific visitors you’d like. Want an email pop up or share to only show for visitors coming from Facebook. Done. Want your email pop up customized for a specific audience, done.
|
86 |
|
87 |
+
= Choose when to request subscribes =
|
88 |
|
89 |
+
You can adjust the List Builder settings to automatically load the popover subscription form after a set period of time - like 10 seconds - so it loads after your visitor has started reading. Alternately, you can set a much shorter load time - like 1 second - so that more of your visitors see the MailChimp subscribe box before leaving.
|
90 |
|
91 |
+
= Optional smart load timing =
|
92 |
|
93 |
+
The optional smart timing will automatically load the Aweber email subscription box when we think the reader is getting ready to leave. Much like Exit Monitor, we do this by monitoring mouse movements that determine exit intent. When the mouse moves toward the X to close your website, the popover will quickly ask for their email. (Note: This isn't a popup, so it won't interfere with closing the tab.)
|
94 |
|
95 |
|
96 |
+
= Automatically Connect with major email providers =
|
97 |
+
|
98 |
+
Our email list builder easily connects with all major email providers including MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, and Maropost. This means that if you use an email manager like MailChimp, your new subscribers can automatically subscribe to your list instantly.
|
99 |
+
|
100 |
+
Alternately, you can simply set List Builder to collect email addresses that you can export in CSV format.
|
101 |
+
|
102 |
+
= Easily modify design =
|
103 |
+
|
104 |
+
The email form is completely customizable. You can quickly change the wording, confirmation message, and colors to match the rest of your website. This will increase conversions by making users more comfortable subscribing.
|
105 |
+
|
106 |
+
= Or go completely old school =
|
107 |
+
|
108 |
+
If you really want to customize your email popover, you can actually edit the full HTML. You can add a different form, select specific pages to not show the popover on, and even add a redirected confirmation URL. Customize to your heart's content.
|
109 |
+
|
110 |
+
|
111 |
+
= Share (optimized social sharing buttons) =
|
112 |
+
|
113 |
+
This app is used by many top 1000 sites. Instantly add sharing buttons to your desktop and mobile experience. Most people using Share see at least 20% more page views afterwards. The buttons auto optimize themselves and you can choose from these different places to share on (Facebook, Twitter, Pinterest, Reddit, Buffer, Delicious, Digg, Evernote, Amazon Wishlist, Instapaper, Pocket, LinkedIn, Tumblr, StumbleUpon, Yummly). Includes SMS sharing and WhatsApp sharing.
|
114 |
+
|
115 |
+
= Highlighter (Twitter sharing feature) =
|
116 |
+
|
117 |
+
Designed to encourage sharing on Twitter, the Highlighter feature lets readers easily select portions of your article to share as quotes on Twitter. Popularly tweeted sections are highlighted on your blog which boosts Twitter sharing significantly. It's an automatic click-to-tweet.
|
118 |
+
|
119 |
+
= Get more tweets =
|
120 |
+
|
121 |
+
The Highlighter feature improves Twitter shares in two important ways. First, we let users highlight portions of your text to quickly quote on Twitter. Similar to Kindle's sharing feature or Medium's commenting design, this functionality makes tweeting about your latest post quick and easy. Social sharing has never been easier.
|
122 |
+
|
123 |
+
= Highlight popular sentences =
|
124 |
+
|
125 |
+
When someone tweets a quote from your article, our plugin automatically highlights that portion of your text. Much like the popular highlights feature in Kindle, this attracts your reader's attention and boosts social sharing. These highlights can also be edited by the admin if you don't want a particular highlight showing.
|
126 |
+
|
127 |
+
= Include your username in tweets =
|
128 |
+
|
129 |
+
Tweets generated through Highlighter will both link to your article and include your Twitter username. This will build traffic to your website while also boosting your Twitter profile and building your Twitter following. Adding your Twitter username is as easy as typing your username into the Highlighter settings - you don't need to give access to your Twitter account.
|
130 |
+
|
131 |
+
= ImageSharer (Image sharing feature) =
|
132 |
+
|
133 |
+
Have you ever noticed how some blogs and websites make it easy to share their images on social networks like Pinterest? Because these images link back to your article, people who share your images on Pinterest, Twitter, and Facebook can drive significant traffic to your website. ImageSharer makes it easy for you to add professional image sharing to your website with just a click of the button.
|
134 |
+
|
135 |
+
= Image sharing for Pinterest =
|
136 |
+
|
137 |
+
Pinterest is one of the fastest growing social networks right now, and some studies have found Pinterest users spend more than other social network visitors. By making it easy for your visitors to share their favorite images from your blog on Pinterest, we're helping you unlock a major source of valuable traffic that many bloggers aren't even pursuing yet.
|
138 |
+
|
139 |
+
= Image sharing for Facebook =
|
140 |
+
|
141 |
+
Did you know that photo posts on Facebook get 84% more click-throughs than text posts (according to KISSmetrics)? The ImageSharer plugin makes it stupid simple for your readers to easily share your beautiful images on Facebook with just a click of the button.
|
142 |
+
|
143 |
+
= Image sharing for Twitter =
|
144 |
+
|
145 |
+
According to Buffer, image tweets on Twitter get fully 2x the engagement of text tweets! Essentially, every time one of your readers shares an image from your blog, you're getting the equivalent of two ordinary tweets.
|
146 |
+
|
147 |
+
= Easy image sharing for all three social networks =
|
148 |
+
|
149 |
+
ImageSharer makes it super easy to add image sharing for all three powerful social networks without any coding or frustrating setup. Simply install the SumoMe plugin, click to activate ImageSharer, and watch your share stats start rolling in.
|
150 |
+
|
151 |
= Latest Updates =
|
152 |
|
153 |
+
* 6/20 - Smart bar can now appear at the bottom of your pages, TONS more templates for Scroll Box / Smart Bar and List Builder,
|
154 |
+
* 5/21 Added tons new List Builder design templates
|
155 |
+
* Added URL shortener for all sharing tools
|
156 |
+
* Made Scroll Box and Smart Bar (hello bar alternative) to Pro versions (AB testing, multiple popups, advanced display rules)
|
157 |
+
* Updating Heat Maps (crazyegg alternative) and Content Analytics (scroll tracking) to more automatic tracking abilities
|
158 |
+
* Added SMS and WhatsApp social sharing buttons
|
159 |
|
160 |
+
|
161 |
+
[`See more` at SumoMe.com](http://sumome.com/?src=wordpress_bottom)
|
162 |
+
|
163 |
+
[youtube http://www.youtube.com/watch?v=L_kbSb97QS0]
|
164 |
|
165 |
== Installation ==
|
166 |
|
167 |
1. Upload folder wp-sumome.zip to the `/wp-content/plugins/` directory
|
168 |
1. Activate the plugin through the `Plugins` menu in WordPress
|
169 |
1. Click on the blue thingy in the top right.
|
170 |
+
1. Register and click on the Sumo Store to install the apps you want.
|
171 |
1. Eat a taco and enjoy the increased traffic to your site.
|
172 |
|
173 |
== Frequently Asked Questions ==
|
176 |
|
177 |
Not at all. This plugin loads asynchronously so it won't down your site at all.
|
178 |
|
179 |
+
= Where do I login to SumoMe? =
|
180 |
|
181 |
Once you install the plugin and activate it. Go to any page on your site and you'll see a little blue thing in the top right, click on it and then the crown icon to login.
|
182 |
|
183 |
+
= How can I install an app? =
|
184 |
+
|
185 |
+
Once you've logged into SumoMe, click on Sumo Store and click Install for whichever app you'd like to install. Once you have installed the List Builder app, you can integrate with MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, or Maropost.
|
186 |
+
|
187 |
+
= How does Highlighter work? =
|
188 |
+
|
189 |
+
Once you or a visitor to your site clicks and selects a piece of text on your site, they can choose to share that text on Facebook or Twitter. Subsequent visitors will then see that text highlighted and it'll be easier for them to share your site.
|
190 |
+
|
191 |
+
= Can I delete a highlight? =
|
192 |
+
|
193 |
+
Yup. Click on the highlight while logged in. Then click on delete highlight.
|
194 |
+
|
195 |
+
= How many more emails will list builder help me get? =
|
196 |
+
|
197 |
+
Most people see a double in growing their email list from the list builder application.
|
198 |
+
|
199 |
+
= What does the Smart mode mean on List Builder? =
|
200 |
+
|
201 |
+
We calculate the ideal time to show a person
|
202 |
+
|
203 |
= Can I customize the look and feel of the popup? =
|
204 |
|
205 |
You can use our default options or fully control the CSS in the advanced section.
|
208 |
|
209 |
Yes, we provide instant integration with MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, and Maropost. When a user joins, their email is automatically subscribed to your MailChimp, Aweber, or other newsletter list. Alternately, you can simply download a CSV list of your newsletter subscribers.
|
210 |
|
211 |
+
== Other Notes ==
|
212 |
+
|
213 |
+
Our MailChimp email newsletter list builder and Twitter share button apps help Wordpress users build their audiences online.
|
214 |
+
|
215 |
+
Email newsletter integration options
|
216 |
+
|
217 |
+
* MailChimp newsletter integration
|
218 |
+
* Aweber newsletter integration
|
219 |
+
* Constant Contact newsletter integration
|
220 |
+
* Campaign Monitor newsletter integration
|
221 |
+
* GetResponse newsletter integration
|
222 |
+
* ActiveCampaign newsletter integration
|
223 |
+
* MyEmma newsletter integration
|
224 |
+
* Mad Mimi newsletter integration
|
225 |
+
* Infusionsoft newsletter integration
|
226 |
+
* Feedblitz newsletter integration
|
227 |
+
* HubSpot newsletter integration
|
228 |
+
* MyNewsletterBuilder newsletter integration
|
229 |
+
* Inbox First newsletter integration
|
230 |
+
* Sailthru newsletter integration
|
231 |
+
* Klaviyo newsletter integration
|
232 |
+
* Vero newsletter integration
|
233 |
+
* Pardot newsletter integration
|
234 |
+
* Zapier newsletter integration
|
235 |
+
* Ontraport newsletter integration
|
236 |
+
* ExactTarget newsletter integration
|
237 |
+
* Vertical Response newsletter integration
|
238 |
+
* Drip newsletter integration
|
239 |
+
* MailerLite newsletter integration
|
240 |
+
* WhatCounts newsletter integration
|
241 |
+
* ConvertKit newsletter integration
|
242 |
+
* MailJet newsletter integration
|
243 |
+
* Maropost newsletter integration
|
244 |
+
|
245 |
+
Why people use MailChimp
|
246 |
+
|
247 |
+
* MailChimp has free plans
|
248 |
+
* MailChimp automatically integrates with our plugin
|
249 |
+
* MailChimp easily sends newsletters
|
250 |
+
* MailChimp handles lists of all sizes
|
251 |
+
* MailChimp can send drip campaigns (scheduled emails)
|
252 |
+
|
253 |
+
Why people use Aweber
|
254 |
+
|
255 |
+
* Aweber has a $1 first month
|
256 |
+
* Aweber automatically integrates with our plugin
|
257 |
+
* Aweber easily sends your newsletters
|
258 |
+
* Aweber scales to handle large or small lists
|
259 |
+
* Aweber can also send drip campaigns
|
260 |
+
|
261 |
+
Why you should encourage Twitter sharing
|
262 |
+
|
263 |
+
* Twitter helps you reach new readers
|
264 |
+
* Twitter shares help build your newsletter
|
265 |
+
* Twitter helps engage your current readers
|
266 |
+
* Twitter followers read your articles more often
|
267 |
+
* Twitter shares build your social reach
|
268 |
+
* Twitter sharing establishes your thought leadership
|
269 |
+
* Twitter shares encourage discussion of your posts
|
270 |
+
|
271 |
|
272 |
== Screenshots ==
|
273 |
|
274 |
+
[See all of our screenshots at SumoMe.com](http://sumome.com/?src=wordpress_ss)
|
275 |
|
276 |
+
1. This screen shot is how to Sign up once you have activated the plugin.
|
277 |
+
2. This is the screen to choose which apps to install.
|
278 |
+
3. Fully customizable email pop ups (List Builder app)
|
279 |
4. Total control of the design and feel of the pop ups
|
280 |
5. Connect with all major email providers (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
281 |
6. A/B testing to maximize your conversion rate
|
282 |
+
7. Advanced display rules to control which visitors see your pop ups
|
283 |
8. Detailed stats page to track your email growth
|
284 |
9. Super sexy sharing buttons for mobile and desktop (Share app)
|
285 |
10. Performance of how your shares are doing
|
330 |
= 1.14 =
|
331 |
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
332 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
== Upgrade Notice ==
|
334 |
|
335 |
= 1.04 =
|
369 |
* images, updated instructions
|
370 |
|
371 |
= 1.14 =
|
372 |
+
* Added new integrations (MailChimp, Aweber, Constant Contact, Campaign Monitor, GetResponse, ActiveCampaign, MyEmma, Mad Mimi, Infusionsoft, Feedblitz, HubSpot, MyNewsletterBuilder, Inbox First, Sailthru, Klaviyo, Vero, Pardot, Zapier, Ontraport, ExactTarget, Vertical Response, Drip, MailerLite, WhatCounts, ConvertKit, MailJet, Maropost)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/screenshot-1.png
ADDED
Binary file
|
assets/screenshot-10.png
ADDED
Binary file
|
assets/screenshot-11.png
ADDED
Binary file
|
assets/screenshot-12.png
ADDED
Binary file
|
assets/screenshot-13.png
ADDED
Binary file
|
assets/screenshot-14.png
ADDED
Binary file
|
assets/screenshot-15.png
ADDED
Binary file
|
assets/screenshot-16.png
ADDED
Binary file
|
assets/screenshot-2.png
ADDED
Binary file
|
assets/screenshot-3.png
ADDED
Binary file
|
assets/screenshot-4.png
ADDED
Binary file
|
assets/screenshot-5.png
ADDED
Binary file
|
assets/screenshot-6.png
ADDED
Binary file
|
assets/screenshot-7.png
ADDED
Binary file
|
assets/screenshot-8.png
ADDED
Binary file
|
assets/screenshot-9.png
ADDED
Binary file
|
classes/class_sumome.php
DELETED
@@ -1,380 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class WP_Plugin_SumoMe {
|
3 |
-
public function __construct() {
|
4 |
-
add_action('wp_ajax_sumome_main', array($this, 'ajax_sumome_main'));
|
5 |
-
add_action('wp_ajax_sumome_dashboard_welcome', array($this, 'ajax_sumome_dashboard_welcome'));
|
6 |
-
add_action('wp_ajax_sumome_hide_dashboard_overlay', array($this, 'ajax_sumome_hide_dashboard_overlay'));
|
7 |
-
add_action('wp_footer', array($this, 'append_script_code'));
|
8 |
-
add_action('admin_footer', array($this, 'append_admin_script_code'));
|
9 |
-
add_action('admin_menu', array($this, 'admin_menu'));
|
10 |
-
add_action('admin_init', array($this, 'admin_init'));
|
11 |
-
add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
|
12 |
-
add_action('wp_dashboard_setup', array($this, 'dashboard_setup'));
|
13 |
-
|
14 |
-
//add to front end footer
|
15 |
-
add_action('wp_footer', array($this, 'woocommerce_cart_scripts'));
|
16 |
-
//add to backend footer
|
17 |
-
add_action('admin_footer', array($this, 'woocommerce_cart_scripts'));
|
18 |
-
|
19 |
-
// WooCommerce helpers
|
20 |
-
add_action('wp_ajax_nopriv_sumo_get_woocommerce_cart_subtotal', array($this, 'ajax_sumo_get_woocommerce_cart_subtotal'));
|
21 |
-
add_action('wp_ajax_nopriv_sumo_add_woocommerce_coupon', array($this, 'ajax_sumo_add_woocommerce_coupon'));
|
22 |
-
add_action('wp_ajax_nopriv_sumo_remove_woocommerce_coupon', array($this, 'ajax_sumo_remove_woocommerce_coupon'));
|
23 |
-
|
24 |
-
add_action('wp_ajax_sumo_get_woocommerce_cart_subtotal', array($this, 'ajax_sumo_get_woocommerce_cart_subtotal'));
|
25 |
-
add_action('wp_ajax_sumo_add_woocommerce_coupon', array($this, 'ajax_sumo_add_woocommerce_coupon'));
|
26 |
-
add_action('wp_ajax_sumo_remove_woocommerce_coupon', array($this, 'ajax_sumo_remove_woocommerce_coupon'));
|
27 |
-
|
28 |
-
$this->dataSumoPlatform="wordpress";
|
29 |
-
if (get_option('endurance_user')==1) $this->dataSumoPlatform="wordpress-endurance";
|
30 |
-
}
|
31 |
-
|
32 |
-
public function activate_SumoMe_plugin() {
|
33 |
-
WP_Plugin_SumoMe::upgrade_manual_sumome_installation();
|
34 |
-
WP_Plugin_SumoMe::ajax_sumome_show_dashboard_overlay();
|
35 |
-
}
|
36 |
-
|
37 |
-
public function deactivate_SumoMe_plugin() {
|
38 |
-
WP_Plugin_SumoMe::ajax_sumome_show_dashboard_overlay();
|
39 |
-
}
|
40 |
-
|
41 |
-
public function admin_init() {
|
42 |
-
register_setting('sumome', 'sumome_site_id', array($this, 'sanitize_site_id'));
|
43 |
-
|
44 |
-
$this->check_generate_site_id();
|
45 |
-
|
46 |
-
add_settings_section(
|
47 |
-
'sumome-settings',
|
48 |
-
'Settings',
|
49 |
-
null,
|
50 |
-
'sumome'
|
51 |
-
);
|
52 |
-
|
53 |
-
add_settings_field(
|
54 |
-
'sumome-site_id',
|
55 |
-
'',
|
56 |
-
array(&$this, 'settings_field_site_id'),
|
57 |
-
'sumome',
|
58 |
-
'sumome-settings',
|
59 |
-
array('field' => 'sumome_site_id', 'label_for' => 'sumome_site_id')
|
60 |
-
);
|
61 |
-
}
|
62 |
-
|
63 |
-
public function admin_menu() {
|
64 |
-
add_menu_page('Sumo', 'Sumo', 'manage_options', 'sumo', array($this, 'sumome_render_dashboard_page'), plugins_url('images/icon.png', SUMOME__PLUGIN_FILE));
|
65 |
-
|
66 |
-
if (isset($_COOKIE['__smUser'])) {
|
67 |
-
add_submenu_page('sumo', 'Dashboard', 'Dashboard', 'manage_options', 'sumo', array($this, 'sumome_render_dashboard_page') );
|
68 |
-
add_submenu_page('sumo', 'Statistics', 'Statistics', 'manage_options', 'sumo-statistics', array($this, 'sumome_render_statistics_page'));
|
69 |
-
add_submenu_page('sumo', 'About', 'About', 'manage_options', 'sumo-about', array($this, 'sumome_render_welcome_page'));
|
70 |
-
}
|
71 |
-
|
72 |
-
add_submenu_page(null, 'SiteID', 'SiteID', 'manage_options', 'sumo-siteID', array($this, 'sumome_render_siteID_page'));
|
73 |
-
}
|
74 |
-
|
75 |
-
public function sanitize_site_id($value) {
|
76 |
-
$value = preg_replace('/[^0-9a-f]/', '', strtolower($value));
|
77 |
-
|
78 |
-
return $value;
|
79 |
-
}
|
80 |
-
|
81 |
-
public function settings_field_site_id($args) {
|
82 |
-
$field = $args['field'];
|
83 |
-
$value = get_option($field);
|
84 |
-
|
85 |
-
if (!$value) {
|
86 |
-
|
87 |
-
}
|
88 |
-
|
89 |
-
?>
|
90 |
-
<script type="text/javascript">
|
91 |
-
function sumome_generate_site_id() {
|
92 |
-
function _sumome_r() {
|
93 |
-
return (Math.random().toString(16)+"000000000").substr(2,8);
|
94 |
-
}
|
95 |
-
|
96 |
-
var new_sumome_site_id = _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r();
|
97 |
-
|
98 |
-
jQuery('.sumome-site-id').val(new_sumome_site_id);
|
99 |
-
|
100 |
-
}
|
101 |
-
</script>
|
102 |
-
<?php
|
103 |
-
echo sprintf('<textarea type="text" name="%s" id="%s" class="sumome-site-id" />%s</textarea><button onclick="sumome_generate_site_id(); return false;" class="button">Get New Site ID</button>', $field, $field, esc_attr($value));
|
104 |
-
}
|
105 |
-
|
106 |
-
public function check_generate_site_id() {
|
107 |
-
$site_id = get_option('sumome_site_id');
|
108 |
-
|
109 |
-
if (!$site_id || WP_Plugin_SumoMe::blacklisted_site_id($site_id)) {
|
110 |
-
list($usec, $sec) = explode(' ', microtime());
|
111 |
-
$sumoSeed=(float) $sec + ((float) $usec * 100000);
|
112 |
-
|
113 |
-
mt_srand($sumoSeed);
|
114 |
-
$site_id='';
|
115 |
-
for ($i=0;$i<8;$i++) {
|
116 |
-
$site_id.=substr(dechex(mt_rand()).'000000000',2,8);
|
117 |
-
}
|
118 |
-
|
119 |
-
update_option('sumome_site_id', $site_id);
|
120 |
-
}
|
121 |
-
}
|
122 |
-
|
123 |
-
private function blacklisted_site_id($site_id) {
|
124 |
-
$blacklist=array("8ce3f35797bf87c1644e567db13d9b3c2d9422027c10a7874b3446c9283c9aad");
|
125 |
-
if ($site_id && in_array($site_id, $blacklist)) return true;
|
126 |
-
}
|
127 |
-
|
128 |
-
public function upgrade_manual_sumome_installation() {
|
129 |
-
$wpThemeFiles=array("header","footer");
|
130 |
-
foreach ($wpThemeFiles as $wpThemeFile) {
|
131 |
-
$themeFile=get_template_directory()."/".$wpThemeFile.".php";
|
132 |
-
|
133 |
-
if (file_exists($themeFile) && is_writable($themeFile)) {
|
134 |
-
$themeFile_contents = file_get_contents($themeFile);
|
135 |
-
|
136 |
-
libxml_use_internal_errors(true);
|
137 |
-
$pageDom = new \DOMDocument('1.0', 'utf-8');
|
138 |
-
$pageDom->loadHTML($themeFile_contents);
|
139 |
-
$scripts = $pageDom->getElementsByTagName('script');
|
140 |
-
|
141 |
-
for ($i = 0; $i < $scripts->length; $i++) {
|
142 |
-
|
143 |
-
$scriptDoc = new \DOMDocument('1.0', 'utf-8');
|
144 |
-
$scriptDoc->appendChild($scriptDoc->importNode($scripts->item($i), true));
|
145 |
-
$scriptLine=$scriptDoc->saveHTML();
|
146 |
-
|
147 |
-
if ($scriptLine) {
|
148 |
-
$dom = new \DOMDocument('1.0', 'utf-8');
|
149 |
-
$dom->loadHTML($scriptLine);
|
150 |
-
$nodes = $dom->getElementsByTagName('script');
|
151 |
-
|
152 |
-
if (substr_count($scriptLine, 'data-sumo-site-id')>0) {
|
153 |
-
$manuallyInsertedScriptTagSiteID=$nodes->item(0)->getAttribute('data-sumo-site-id');
|
154 |
-
} else {
|
155 |
-
$scriptBreakdown=explode(';', $scriptLine);
|
156 |
-
|
157 |
-
if ($scriptBreakdown) foreach ($scriptBreakdown as $scriptBreakdownSpec) {
|
158 |
-
if (substr_count($scriptBreakdownSpec, 'j.dataset.sumoSiteId')) $siteIDLine=$scriptBreakdownSpec;
|
159 |
-
}
|
160 |
-
$findSiteID[]="'";
|
161 |
-
$findSiteID[]="j.dataset.sumoSiteId=";
|
162 |
-
$manuallyInsertedScriptTagSiteID=str_replace($findSiteID,"",$siteIDLine);
|
163 |
-
}
|
164 |
-
}
|
165 |
-
}
|
166 |
-
|
167 |
-
if (trim($manuallyInsertedScriptTagSiteID)!="") {
|
168 |
-
|
169 |
-
//save users site ID from the manually inserted tag
|
170 |
-
update_option('sumome_site_id', $manuallyInsertedScriptTagSiteID);
|
171 |
-
|
172 |
-
$sumomeScriptTag[]='<script src="//load.sumome.com/" data-sumo-site-id="' . esc_attr($manuallyInsertedScriptTagSiteID) . '" async="async"></script>';
|
173 |
-
$sumomeScriptTag[]='<script src="//load.sumo.com/" data-sumo-site-id="' . esc_attr($manuallyInsertedScriptTagSiteID) . '" async="async"></script>';
|
174 |
-
$sumomeScriptTag[]="<script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='".esc_attr($manuallyInsertedScriptTagSiteID)."';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</script>";
|
175 |
-
$modified_themeFile = str_replace($sumomeScriptTag,"",$themeFile_contents);
|
176 |
-
|
177 |
-
//make backup of theme file just in case
|
178 |
-
copy($themeFile,get_template_directory()."/".$wpThemeFile.".bak[".date('Y-m-d_H.i.s')."].php");
|
179 |
-
|
180 |
-
//remove manually inserted SumoMe tag
|
181 |
-
if (trim($modified_themeFile)) file_put_contents($themeFile,$modified_themeFile);
|
182 |
-
}
|
183 |
-
}
|
184 |
-
}
|
185 |
-
}
|
186 |
-
|
187 |
-
|
188 |
-
public function append_script_code() {
|
189 |
-
$this->check_generate_site_id();
|
190 |
-
|
191 |
-
$site_id = get_option('sumome_site_id');
|
192 |
-
|
193 |
-
if ($site_id) {
|
194 |
-
echo("<script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='".esc_attr($site_id)."';j.dataset.sumoPlatform='".$this->dataSumoPlatform."';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</script>");
|
195 |
-
}
|
196 |
-
}
|
197 |
-
|
198 |
-
public function append_admin_script_code() {
|
199 |
-
if (defined('XMLRPC_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST'))
|
200 |
-
return false;
|
201 |
-
|
202 |
-
$this->check_generate_site_id();
|
203 |
-
|
204 |
-
$site_id = get_option('sumome_site_id');
|
205 |
-
|
206 |
-
if ($site_id) {
|
207 |
-
include(SUMOME__PLUGIN_DIR.'/js/preload.php');
|
208 |
-
echo("<script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='".esc_attr($site_id)."';j.dataset.sumoPlatform='".$this->dataSumoPlatform."';j.dataset.sumoMode='admin';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</script>");
|
209 |
-
}
|
210 |
-
}
|
211 |
-
|
212 |
-
public function admin_enqueue_scripts() {
|
213 |
-
wp_enqueue_style('sumome-admin-styles', plugins_url('styles/styles.css', SUMOME__PLUGIN_FILE));
|
214 |
-
wp_enqueue_style('sumome-admin-media', plugins_url('styles/media.css', SUMOME__PLUGIN_FILE));
|
215 |
-
}
|
216 |
-
|
217 |
-
public function sumome_render_welcome_page() {
|
218 |
-
$noClose=true;
|
219 |
-
print '<div class="sumome-plugin-container"><div class="sumome-plugin-main">';
|
220 |
-
include(SUMOME__PLUGIN_DIR.'/views/wordpress-dashboard-welcome-page.php');
|
221 |
-
print '</div></div>';
|
222 |
-
$this->sumome_plugin_only();
|
223 |
-
}
|
224 |
-
|
225 |
-
public function sumome_render_dashboard_page() {
|
226 |
-
include(SUMOME__PLUGIN_DIR.'/js/general.php');
|
227 |
-
include(SUMOME__PLUGIN_DIR.'/views/landing.php');
|
228 |
-
$this->sumome_plugin_only();
|
229 |
-
}
|
230 |
-
|
231 |
-
public function sumome_render_statistics_page() {
|
232 |
-
print '<link rel="stylesheet" type="text/css" href="'.plugins_url('styles/statistics.css', dirname(__FILE__)).'">';
|
233 |
-
include(SUMOME__PLUGIN_DIR.'/views/statistics.php');
|
234 |
-
$this->sumome_plugin_only();
|
235 |
-
}
|
236 |
-
|
237 |
-
public function sumome_render_siteID_page() {
|
238 |
-
include(SUMOME__PLUGIN_DIR.'/views/siteID.php');
|
239 |
-
$this->sumome_plugin_only();
|
240 |
-
}
|
241 |
-
|
242 |
-
public function sumome_plugin_only() {
|
243 |
-
?>
|
244 |
-
<script>
|
245 |
-
function sumo_logout_redirect(){
|
246 |
-
setTimeout(function(){
|
247 |
-
document.location.href='<?php print admin_url('admin.php?page=sumo')?>';
|
248 |
-
}, 500);
|
249 |
-
}
|
250 |
-
</script>
|
251 |
-
<?php
|
252 |
-
}
|
253 |
-
|
254 |
-
public function sumome_plugin_footer() {
|
255 |
-
include(SUMOME__PLUGIN_DIR.'/views/footer.php');
|
256 |
-
}
|
257 |
-
|
258 |
-
public function ajax_sumome_main() {
|
259 |
-
include(SUMOME__PLUGIN_DIR.'/views/main.php');
|
260 |
-
$this->sumome_plugin_footer();
|
261 |
-
exit;
|
262 |
-
}
|
263 |
-
|
264 |
-
public function ajax_sumome_dashboard_welcome() {
|
265 |
-
include(SUMOME__PLUGIN_DIR.'/views/wordpress-dashboard-welcome-page.php');
|
266 |
-
exit;
|
267 |
-
}
|
268 |
-
|
269 |
-
public function ajax_sumome_hide_dashboard_overlay() {
|
270 |
-
update_option('sumome_hide_dashboard_overlay', 1);
|
271 |
-
}
|
272 |
-
|
273 |
-
public function ajax_sumome_show_dashboard_overlay() {
|
274 |
-
update_option('sumome_hide_dashboard_overlay', 0);
|
275 |
-
}
|
276 |
-
|
277 |
-
public function dashboard_setup() {
|
278 |
-
add_meta_box( 'my_dashboard_widget', 'Sumo', array($this , 'dashboard_widget'), 'dashboard', 'normal', 'high');
|
279 |
-
}
|
280 |
-
|
281 |
-
public function dashboard_widget() {
|
282 |
-
$dashboardWidgetClass = '';
|
283 |
-
|
284 |
-
$enduranceUser=get_option('endurance_user');
|
285 |
-
$sumoMeInitialDashboardLoadTime=get_option('sumome_initial_wpdashboard_load_time');
|
286 |
-
|
287 |
-
$date = new DateTime($sumoMeInitialDashboardLoadTime);
|
288 |
-
$date->modify('+1 hour');
|
289 |
-
$sumoMeInitialDashboardLoadTimePlusHour=$date->format('YmdHis');
|
290 |
-
|
291 |
-
if (isset($_COOKIE['__smUser']) ||
|
292 |
-
$enduranceUser!=1 ||
|
293 |
-
get_option('sumome_hide_dashboard_overlay')==1 ||
|
294 |
-
!$sumoMeInitialDashboardLoadTime ||
|
295 |
-
($enduranceUser==1 && date('YmdHis')<$sumoMeInitialDashboardLoadTimePlusHour)
|
296 |
-
) {
|
297 |
-
$dashboardWidgetClass = 'minimized';
|
298 |
-
}
|
299 |
-
|
300 |
-
if (!$sumoMeInitialDashboardLoadTime) {
|
301 |
-
update_option('sumome_initial_wpdashboard_load_time',date('YmdHis'));
|
302 |
-
}
|
303 |
-
|
304 |
-
include_once(SUMOME__PLUGIN_DIR.'/js/general.php');
|
305 |
-
echo '<div class="sumome-plugin-dashboard-widget '.$dashboardWidgetClass.'"></div>';
|
306 |
-
?>
|
307 |
-
<script>
|
308 |
-
jQuery.post(ajaxurl, { action: 'sumome_dashboard_welcome' },
|
309 |
-
function(data) {
|
310 |
-
jQuery('.sumome-plugin-dashboard-widget').html(data);
|
311 |
-
});
|
312 |
-
|
313 |
-
function sumo_logout_redirect(){
|
314 |
-
jQuery('.sumome-wp-dash-logged-in').addClass('status-logged-out');
|
315 |
-
jQuery('.sumome-wp-dash-logged-in').removeClass('status-logged-in');
|
316 |
-
|
317 |
-
jQuery('.sumome-wp-dash-logged-out').addClass('status-logged-out');
|
318 |
-
jQuery('.sumome-wp-dash-logged-out').removeClass('status-logged-in');
|
319 |
-
}
|
320 |
-
</script>
|
321 |
-
<?php
|
322 |
-
}
|
323 |
-
|
324 |
-
public function ajax_sumo_add_woocommerce_coupon() {
|
325 |
-
$code = $_POST['code'];
|
326 |
-
WC()->cart->apply_coupon($code);
|
327 |
-
wp_die();
|
328 |
-
}
|
329 |
-
|
330 |
-
public function ajax_sumo_remove_woocommerce_coupon() {
|
331 |
-
$code = $_POST['code'];
|
332 |
-
WC()->cart->remove_coupon($code);
|
333 |
-
wp_die();
|
334 |
-
}
|
335 |
-
|
336 |
-
public function ajax_sumo_get_woocommerce_cart_subtotal() {
|
337 |
-
echo WC()->cart->subtotal;
|
338 |
-
wp_die();
|
339 |
-
}
|
340 |
-
|
341 |
-
public function woocommerce_cart_scripts() {
|
342 |
-
?>
|
343 |
-
<script type="application/javascript">
|
344 |
-
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
345 |
-
|
346 |
-
function sumo_add_woocommerce_coupon(code) {
|
347 |
-
jQuery.post(ajaxurl, {
|
348 |
-
action: 'sumo_add_woocommerce_coupon',
|
349 |
-
code: code,
|
350 |
-
});
|
351 |
-
}
|
352 |
-
|
353 |
-
function sumo_remove_woocommerce_coupon(code) {
|
354 |
-
jQuery.post(ajaxurl, {
|
355 |
-
action: 'sumo_remove_woocommerce_coupon',
|
356 |
-
code: code,
|
357 |
-
});
|
358 |
-
}
|
359 |
-
|
360 |
-
function sumo_get_woocommerce_cart_subtotal(callback) {
|
361 |
-
jQuery.ajax({
|
362 |
-
method: 'POST',
|
363 |
-
url: ajaxurl,
|
364 |
-
dataType: 'html',
|
365 |
-
data: {
|
366 |
-
action: 'sumo_get_woocommerce_cart_subtotal',
|
367 |
-
},
|
368 |
-
success: function(subtotal) {
|
369 |
-
return callback(null, subtotal);
|
370 |
-
},
|
371 |
-
error: function(err) {
|
372 |
-
return callback(err, 0);
|
373 |
-
}
|
374 |
-
});
|
375 |
-
}
|
376 |
-
</script>
|
377 |
-
<?php
|
378 |
-
}
|
379 |
-
|
380 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
images/apps-bg.png
DELETED
Binary file
|
images/appsumo-logo.png
DELETED
Binary file
|
images/checkmark.png
DELETED
Binary file
|
images/facebook.png
DELETED
Binary file
|
images/instagram.png
DELETED
Binary file
|
images/modal-close.png
DELETED
Binary file
|
images/popup-login-header.png
DELETED
Binary file
|
images/store-bg.png
DELETED
Binary file
|
images/sumo-banner.jpg
DELETED
Binary file
|
images/sumome-loading.gif
DELETED
Binary file
|
images/sumome-site-clients-4hourworkweek.png
DELETED
Binary file
|
images/sumome-site-clients-airbnb.png
DELETED
Binary file
|
images/sumome-site-clients-artofman.png
DELETED
Binary file
|
images/sumome-site-clients-beachbody.png
DELETED
Binary file
|
images/sumome-site-clients-chive.png
DELETED
Binary file
|
images/sumome-site-clients-entrepreneur.png
DELETED
Binary file
|
images/sumome-site-clients-tonyrobbins.png
DELETED
Binary file
|
images/sumome-site-team.jpg
DELETED
Binary file
|
images/sumome-site-team.png
DELETED
Binary file
|
images/sumome-site-welcome-graph.png
DELETED
Binary file
|
images/sumome-site-welcome-header.jpg
DELETED
Binary file
|
images/sumome-site-welcome1.png
DELETED
Binary file
|
images/sumome-site-welcome2.png
DELETED
Binary file
|
images/sumome-site-welcome3.png
DELETED
Binary file
|
images/sumome_crown.png
DELETED
Binary file
|
images/twitter.png
DELETED
Binary file
|
js/general.php
DELETED
@@ -1,162 +0,0 @@
|
|
1 |
-
<script>
|
2 |
-
var setCookie = function(cname, cvalue, exdays) {
|
3 |
-
var d = new Date();
|
4 |
-
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
|
5 |
-
var expires = "expires=" + d.toUTCString();
|
6 |
-
document.cookie = cname + "=" + cvalue + "; " + expires;
|
7 |
-
}
|
8 |
-
function getCookie(cname) {
|
9 |
-
var name = cname + "=";
|
10 |
-
var ca = document.cookie.split(';');
|
11 |
-
for(var i = 0; i <ca.length; i++) {
|
12 |
-
var c = ca[i];
|
13 |
-
while (c.charAt(0)==' ') {
|
14 |
-
c = c.substring(1);
|
15 |
-
}
|
16 |
-
if (c.indexOf(name) == 0) {
|
17 |
-
return c.substring(name.length,c.length);
|
18 |
-
}
|
19 |
-
}
|
20 |
-
return "";
|
21 |
-
}
|
22 |
-
jQuery(document).ready(function() {
|
23 |
-
<?php
|
24 |
-
if(isset($_COOKIE['__smUser'])) {
|
25 |
-
print 'sumo_login_start_page_refresh();';
|
26 |
-
}
|
27 |
-
?>
|
28 |
-
|
29 |
-
function sumo_login_start_form_submit() {
|
30 |
-
jQuery('.main-bottom').hide();
|
31 |
-
setTimeout( function() {
|
32 |
-
jQuery('.logged-in').html('');
|
33 |
-
jQuery('.logged-in').append('<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>');
|
34 |
-
},500);
|
35 |
-
|
36 |
-
jQuery('.logged-out').hide();
|
37 |
-
jQuery('.logged-in').show();
|
38 |
-
|
39 |
-
setTimeout( function() {
|
40 |
-
document.location.href='';
|
41 |
-
},3000);
|
42 |
-
}
|
43 |
-
|
44 |
-
function sumo_login_start_page_refresh() {
|
45 |
-
jQuery('.main-bottom').hide();
|
46 |
-
jQuery('.logged-in').html('');
|
47 |
-
jQuery('.logged-in').append('<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>');
|
48 |
-
jQuery('.logged-out').hide();
|
49 |
-
jQuery('.logged-in').show();
|
50 |
-
sumo_login();
|
51 |
-
}
|
52 |
-
|
53 |
-
function sumo_login() {
|
54 |
-
jQuery('.site-ID-container').hide();
|
55 |
-
jQuery('.list-number').hide();
|
56 |
-
|
57 |
-
jQuery.post(ajaxurl, { action: 'sumome_main' }, function(data) {
|
58 |
-
jQuery('.logged-in').html(data);
|
59 |
-
jQuery('.main-bottom').show();
|
60 |
-
});
|
61 |
-
}
|
62 |
-
|
63 |
-
|
64 |
-
jQuery(document).on('click','.sumome-logged-in-container .items div, a.sumome-popup-iframe,.sumome-button,.sumome-link-button', function (e) {
|
65 |
-
|
66 |
-
var dataName=jQuery(this).data('name');
|
67 |
-
var dataType=jQuery(this).data('type');
|
68 |
-
var dataTitle=jQuery(this).data('title');
|
69 |
-
|
70 |
-
//auto size inner frame
|
71 |
-
jQuery('.sumome-plugin-popup-container-inner').addClass('default-height');
|
72 |
-
|
73 |
-
jQuery('.sumome-plugin-popup-container-inner').css("height", function(){
|
74 |
-
return jQuery('.sumome-plugin-popup-container-inner').height()-jQuery('.sumome-plugin-popup-container .sumome-modal-header').height();
|
75 |
-
});
|
76 |
-
|
77 |
-
jQuery('.sumome-plugin-popup-container').css("top", ((jQuery(window).height()-jQuery('.sumome-plugin-popup-container-inner').height())/2)-jQuery('#wpadminbar').height());
|
78 |
-
|
79 |
-
|
80 |
-
jQuery('.sumome-plugin-popup-container-inner').removeClass('default-height');
|
81 |
-
|
82 |
-
if (dataType!="sumome-app") {
|
83 |
-
if (!jQuery(this).hasClass('sumome-popup-no-dim') && !jQuery(this).parent().hasClass('sumome-popup-no-dim')) {
|
84 |
-
jQuery('.sumome-logged-in-container-overlay').addClass('dim');
|
85 |
-
}
|
86 |
-
jQuery('.sumome-plugin-popup-container .popup-title').html(dataTitle);
|
87 |
-
}
|
88 |
-
|
89 |
-
if (dataName=="sumome-control-advanced-settings") {
|
90 |
-
document.location.href='<?php print admin_url('admin.php?page=sumo-siteID')?>';
|
91 |
-
} else if (jQuery(this).hasClass('sumome-popup-iframe')) {
|
92 |
-
var popupHref=jQuery(this).data('href');
|
93 |
-
if (jQuery(this).attr('href')) popupHref=jQuery(this).attr('href');
|
94 |
-
|
95 |
-
jQuery('.sumome-plugin-popup-container .sumome-plugin-popup-contents').html('<iframe class="popup-iframe" src="'+popupHref+'"></iframe>');
|
96 |
-
jQuery('.sumome-plugin-popup-container-inner').addClass('disable-scroll');
|
97 |
-
|
98 |
-
jQuery('.sumome-plugin-popup-container').show();
|
99 |
-
|
100 |
-
e.stopImmediatePropagation();
|
101 |
-
return false;
|
102 |
-
|
103 |
-
} else if (dataName=="sumome-control-help") {
|
104 |
-
window.open('http://help.sumome.com');
|
105 |
-
} else if (dataName=="sumome-control-about") {
|
106 |
-
window.open('https://sumo.com/about?src=wpplugin');
|
107 |
-
} else if (dataName=="sumome-control-account-settings") {
|
108 |
-
window.open('https://sumo.com/account');
|
109 |
-
} else if (dataName=="sumome-control-statistics") {
|
110 |
-
document.location.href='<?php print admin_url('admin.php?page=sumo-statistics')?>';
|
111 |
-
} else {
|
112 |
-
jQuery('.'+dataName).click();
|
113 |
-
}
|
114 |
-
|
115 |
-
});
|
116 |
-
|
117 |
-
jQuery(document).on('click','.back-logged-in', function () {
|
118 |
-
jQuery('.logged-in .items').show();
|
119 |
-
jQuery('.tabbed-content-container').hide();
|
120 |
-
jQuery('.back-logged-in').hide();
|
121 |
-
});
|
122 |
-
|
123 |
-
//save new site-id and then logout
|
124 |
-
jQuery(document).on('click','.popup-close,.sumome-modal-close', function () {
|
125 |
-
jQuery('.sumome-plugin-popup-container .sumome-plugin-popup-contents').html('');
|
126 |
-
jQuery('.sumome-plugin-popup-container').hide();
|
127 |
-
jQuery('.sumome-plugin-popup-container-inner').removeClass('disable-scroll');
|
128 |
-
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
129 |
-
jQuery('.sumome-plugin-popup-container-inner').height('');
|
130 |
-
getLoadInformation();
|
131 |
-
});
|
132 |
-
|
133 |
-
jQuery(document).on('click','.sumome-plugin-popup-container .site-ID .button-primary', function (e) {
|
134 |
-
var press = jQuery.Event("keypress");
|
135 |
-
press.shiftKey = false;
|
136 |
-
jQuery('.sumome-control-close').trigger(press).click();
|
137 |
-
});
|
138 |
-
|
139 |
-
});
|
140 |
-
|
141 |
-
function getLoadInformation(specificRequest) {
|
142 |
-
data=jQuery(document).triggerHandler('getSandbox');
|
143 |
-
|
144 |
-
//notifications
|
145 |
-
jQuery('.notification-count').remove();
|
146 |
-
if (data.unreadNotificationCount!=null && data.unreadNotificationCount>0) {
|
147 |
-
jQuery('.sumo-notifications .item-tile-title').append('<div class="notification-count">'+data.unreadNotificationCount+'</div>');
|
148 |
-
}
|
149 |
-
|
150 |
-
}
|
151 |
-
|
152 |
-
jQuery(window).load(function() {
|
153 |
-
<?php
|
154 |
-
if (isset($_GET['changeSiteKey']) && $_GET['changeSiteKey'] && !$_POST) {
|
155 |
-
?>
|
156 |
-
jQuery('.sumome-link-button.sumome-tile-advanced-settings').click();
|
157 |
-
<?php
|
158 |
-
}
|
159 |
-
?>
|
160 |
-
});
|
161 |
-
|
162 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/preload.php
DELETED
@@ -1,147 +0,0 @@
|
|
1 |
-
<script>
|
2 |
-
function __smReady(sumome) {
|
3 |
-
sumome.core.emit('login');
|
4 |
-
sumome.core.on('login', function() {
|
5 |
-
jQuery('.sumome-wp-dash-logged-in').removeClass('status-logged-out');
|
6 |
-
jQuery('.sumome-wp-dash-logged-in').addClass('status-logged-in');
|
7 |
-
jQuery('.sumome-wp-dash-logged-out').removeClass('status-logged-out');
|
8 |
-
jQuery('.sumome-wp-dash-logged-out').addClass('status-logged-in');
|
9 |
-
|
10 |
-
getLoadInformation();
|
11 |
-
});
|
12 |
-
|
13 |
-
//auto populate form when clicking badge to login
|
14 |
-
if (!getCookie('__smUser')) {
|
15 |
-
sumome.core.on('startApp', function() {
|
16 |
-
sumo_plugin_populate_form();
|
17 |
-
});
|
18 |
-
}
|
19 |
-
|
20 |
-
function show_sumome_login() {
|
21 |
-
sumome.core.emit('startApp', {app: 'login', opts: { launch: false }});
|
22 |
-
|
23 |
-
sumo_plugin_populate_form();
|
24 |
-
|
25 |
-
sumome.core.on('login', function() {
|
26 |
-
sumome_login_refresh();
|
27 |
-
});
|
28 |
-
}
|
29 |
-
|
30 |
-
jQuery(document).on('click','.connect-button', function (e) {
|
31 |
-
show_sumome_login();
|
32 |
-
});
|
33 |
-
|
34 |
-
jQuery(document).on('click','.sumome-login-login,.sumome-login-signup', function (e) {
|
35 |
-
sumo_plugin_populate_form();
|
36 |
-
});
|
37 |
-
|
38 |
-
function sumo_plugin_populate_form() {
|
39 |
-
var populateLoginInterval=setInterval(
|
40 |
-
function(){
|
41 |
-
if (jQuery('.sumome-login input[name=email]').is(':visible') || jQuery('.sumome-register input[name=email]').is(':visible')) {
|
42 |
-
jQuery('.sumome-login input[name=email]').val('<?php print esc_js(get_option('admin_email', ''))?>');
|
43 |
-
jQuery('.sumome-register input[name=email]').val('<?php print esc_js(get_option('admin_email', ''))?>');
|
44 |
-
clearInterval(populateLoginInterval);
|
45 |
-
}
|
46 |
-
}
|
47 |
-
, 100);
|
48 |
-
}
|
49 |
-
|
50 |
-
if (getCookie('__smUser')) {
|
51 |
-
sumome.core.on('removeCookie', function(cookie) {
|
52 |
-
if (cookie=='__smUser') {
|
53 |
-
sumo_logout();
|
54 |
-
}
|
55 |
-
|
56 |
-
});
|
57 |
-
} else {
|
58 |
-
sumome.core.on('removeCookie', function(cookie) {
|
59 |
-
if (cookie=='__smUser') {
|
60 |
-
jQuery('.sumome-wp-dash-logged-in').addClass('status-logged-out');
|
61 |
-
jQuery('.sumome-wp-dash-logged-in').removeClass('status-logged-in');
|
62 |
-
jQuery('.sumome-wp-dash-logged-out').addClass('status-logged-out');
|
63 |
-
jQuery('.sumome-wp-dash-logged-out').removeClass('status-logged-in');
|
64 |
-
}
|
65 |
-
|
66 |
-
});
|
67 |
-
}
|
68 |
-
|
69 |
-
function get_sumome_sandbox() {
|
70 |
-
window.sumome = sumome;
|
71 |
-
var sandbox = new sumome.core.Sandbox(sumome.core, 'wordpress', {}, 'wordpress');
|
72 |
-
return sandbox.properties;
|
73 |
-
}
|
74 |
-
|
75 |
-
jQuery(document).on('getSandbox',function () {
|
76 |
-
return get_sumome_sandbox();
|
77 |
-
});
|
78 |
-
|
79 |
-
jQuery(document).on('click', '.sumo-notifications',function () {
|
80 |
-
sumome.core.emit('startApp', 'ee27a0af-9947-40c9-8eab-0ab6a4f7a9c1');
|
81 |
-
});
|
82 |
-
jQuery(document).on('click', '.sumo-store',function () {
|
83 |
-
sumome.core.emit('startApp', 'app_store');
|
84 |
-
});
|
85 |
-
jQuery(document).on('click', '.sumo-apps',function () {
|
86 |
-
sumome.core.emit('startApp', 'launcher');
|
87 |
-
});
|
88 |
-
jQuery(document).on('click', '.sumo-settings',function () {
|
89 |
-
sumome.core.emit('startApp', '5d26e2da-aef5-41c1-947a-624497281723');
|
90 |
-
});
|
91 |
-
|
92 |
-
jQuery(document).on('click', '.sumome-control-close',function () {
|
93 |
-
jQuery('.sumome-logged-in-container-overlay').removeClass('dim');
|
94 |
-
});
|
95 |
-
|
96 |
-
jQuery(document).on('click', '.popup-container .site-ID button',function () {
|
97 |
-
function _sumome_r() {
|
98 |
-
return (Math.random().toString(16)+"000000000").substr(2,8);
|
99 |
-
}
|
100 |
-
var new_sumome_site_id = _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r();
|
101 |
-
jQuery('.sumome-site-id').val(new_sumome_site_id);
|
102 |
-
});
|
103 |
-
|
104 |
-
jQuery(document).on('click','.site-ID .submit input[type=submit]', function (e) {
|
105 |
-
sumo_logout();
|
106 |
-
sumome.core.emit('logout', false);
|
107 |
-
|
108 |
-
});
|
109 |
-
jQuery(document).on('click', '.sumome-plugin-dashboard-widget-learn-more',function () {
|
110 |
-
jQuery('.sumome-plugin-dashboard-widget').removeClass('minimized');
|
111 |
-
});
|
112 |
-
|
113 |
-
function sumo_logout() {
|
114 |
-
setCookie('__smToken', '', -1);
|
115 |
-
setCookie('__smUser', '', -1);
|
116 |
-
if(typeof sumo_logout_redirect=='function'){
|
117 |
-
sumo_logout_redirect();
|
118 |
-
}
|
119 |
-
}
|
120 |
-
|
121 |
-
};
|
122 |
-
function getCookie(cname) {
|
123 |
-
var name = cname + "=";
|
124 |
-
var ca = document.cookie.split(';');
|
125 |
-
for(var i = 0; i <ca.length; i++) {
|
126 |
-
var c = ca[i];
|
127 |
-
while (c.charAt(0)==' ') {
|
128 |
-
c = c.substring(1);
|
129 |
-
}
|
130 |
-
if (c.indexOf(name) == 0) {
|
131 |
-
return c.substring(name.length,c.length);
|
132 |
-
}
|
133 |
-
}
|
134 |
-
return "";
|
135 |
-
}
|
136 |
-
var setCookie = function(cname, cvalue, exdays) {
|
137 |
-
var d = new Date();
|
138 |
-
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
|
139 |
-
var expires = "expires=" + d.toUTCString();
|
140 |
-
document.cookie = cname + "=" + cvalue + "; " + expires;
|
141 |
-
}
|
142 |
-
|
143 |
-
function sumome_login_refresh() {
|
144 |
-
document.location.href='<?php print admin_url('admin.php?page=sumo')?>';
|
145 |
-
}
|
146 |
-
|
147 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/instructions.css
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body,html {
|
2 |
+
background-color: #ffffff !important;
|
3 |
+
}
|
4 |
+
#wpcontent {
|
5 |
+
padding-left: 0px;
|
6 |
+
}
|
7 |
+
#wpfooter {
|
8 |
+
display:none;
|
9 |
+
}
|
10 |
+
#wpbody-content {
|
11 |
+
padding-bottom: 0px;
|
12 |
+
}
|
13 |
+
#sumome_instructions {
|
14 |
+
width: 100%;
|
15 |
+
box-sizing: border-box;
|
16 |
+
-moz-box-sizing: border-box;
|
17 |
+
-webkit-box-sizing: border-box;
|
18 |
+
background:#fff;
|
19 |
+
color:#65717b;
|
20 |
+
}
|
21 |
+
|
22 |
+
#sumome_instructions .row {
|
23 |
+
width: 100%;
|
24 |
+
margin-left: auto;
|
25 |
+
margin-right: auto;
|
26 |
+
margin-top: 0;
|
27 |
+
margin-bottom: 0;
|
28 |
+
box-sizing: border-box;
|
29 |
+
-moz-box-sizing: border-box;
|
30 |
+
-webkit-box-sizing: border-box;
|
31 |
+
display:block;
|
32 |
+
}
|
33 |
+
|
34 |
+
#sumome_instructions .row .row {
|
35 |
+
width: auto;
|
36 |
+
margin-left: -0.9375rem;
|
37 |
+
margin-right: -0.9375rem;
|
38 |
+
margin-top: 0;
|
39 |
+
margin-bottom: 0;
|
40 |
+
max-width: none;
|
41 |
+
}
|
42 |
+
|
43 |
+
#sumome_instructions .columns {
|
44 |
+
position: relative;
|
45 |
+
padding-left: 0.9375rem;
|
46 |
+
padding-right: 0.9375rem;
|
47 |
+
float: left;
|
48 |
+
box-sizing: border-box;
|
49 |
+
-moz-box-sizing: border-box;
|
50 |
+
-webkit-box-sizing: border-box;
|
51 |
+
|
52 |
+
}
|
53 |
+
|
54 |
+
#sumome_instructions .large-4 {
|
55 |
+
width: 33.33333%;
|
56 |
+
}
|
57 |
+
|
58 |
+
#sumome_instructions .large-6 {
|
59 |
+
width: 50%;
|
60 |
+
}
|
61 |
+
|
62 |
+
#sumome_instructions .large-8 {
|
63 |
+
width: 66.66667%;
|
64 |
+
}
|
65 |
+
|
66 |
+
#sumome_instructions .large-12 {
|
67 |
+
width: 100%;
|
68 |
+
}
|
69 |
+
|
70 |
+
#sumome_instructions .th {
|
71 |
+
line-height: 0;
|
72 |
+
display: inline-block;
|
73 |
+
border: solid 4px #fff;
|
74 |
+
max-width: 100%;
|
75 |
+
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
76 |
+
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
77 |
+
-webkit-transition: all 200ms ease-out;
|
78 |
+
-moz-transition: all 200ms ease-out;
|
79 |
+
transition: all 200ms ease-out;
|
80 |
+
}
|
81 |
+
|
82 |
+
#sumome_instructions img {
|
83 |
+
display: inline-block;
|
84 |
+
vertical-align: middle;
|
85 |
+
max-width: 100%;
|
86 |
+
height: auto;
|
87 |
+
}
|
88 |
+
|
89 |
+
#sumome_instructions h4 {
|
90 |
+
font-size: 1.4375rem;
|
91 |
+
line-height: 1.4;
|
92 |
+
margin: .5em 0;
|
93 |
+
}
|
94 |
+
|
95 |
+
#sumome_instructions .sumome-instructions {
|
96 |
+
text-align:center;
|
97 |
+
width:50%;
|
98 |
+
margin:0px auto;
|
99 |
+
padding-top:10px;
|
100 |
+
}
|
101 |
+
|
102 |
+
#sumome_instructions .header-banner {
|
103 |
+
text-align:center;
|
104 |
+
background:#f0f3f5;
|
105 |
+
margin-bottom:20px;
|
106 |
+
}
|
107 |
+
#sumome_instructions .header-banner img {
|
108 |
+
display: inline-block;
|
109 |
+
vertical-align: middle;
|
110 |
+
/*width: 100%;*/
|
111 |
+
max-width: 100%;
|
112 |
+
height: auto;
|
113 |
+
margin-bottom:0px;
|
114 |
+
}
|
115 |
+
#sumome_instructions .list-number {
|
116 |
+
border-radius: 25px;
|
117 |
+
background: #6c65c2;
|
118 |
+
width: 35px;
|
119 |
+
height: 35px;
|
120 |
+
color:#fff;
|
121 |
+
display:inline-block;
|
122 |
+
text-align:center;
|
123 |
+
line-height:35px;
|
124 |
+
font-size:18px;
|
125 |
+
}
|
126 |
+
#sumome_instructions .list-number-title {
|
127 |
+
color:#0f74b5;
|
128 |
+
font-size:24px;
|
129 |
+
font-weight:bold;
|
130 |
+
display:inline-block;
|
131 |
+
width:auto;
|
132 |
+
margin-left:10px;
|
133 |
+
}
|
134 |
+
#sumome_instructions .row3 .list-bullet{
|
135 |
+
margin-top:80px;
|
136 |
+
}
|
137 |
+
|
138 |
+
#sumome_instructions .row3, .row3 p.submit {
|
139 |
+
text-align:center;
|
140 |
+
margin:0px auto;
|
141 |
+
padding-top:25px;
|
142 |
+
}
|
143 |
+
#sumome_instructions .row3 table {
|
144 |
+
margin:0px auto;
|
145 |
+
}
|
146 |
+
|
147 |
+
#sumome_instructions input[type=text] {
|
148 |
+
border-radius: 5px;
|
149 |
+
border: 1px solid #dcd9ea;
|
150 |
+
height:41px;
|
151 |
+
}
|
152 |
+
#sumome_instructions button {
|
153 |
+
height:40px;
|
154 |
+
line-height:40px;
|
155 |
+
vertical-align:middle;
|
156 |
+
padding:0px 20px;
|
157 |
+
border-radius: 0px 50px 50px 0px;
|
158 |
+
background-color:#c8cbcd;
|
159 |
+
color:#65717b;
|
160 |
+
position:relative;
|
161 |
+
left:-8px;
|
162 |
+
top:-2px;
|
163 |
+
}
|
164 |
+
#sumome_instructions input[type=submit] {
|
165 |
+
border-radius: 50px;
|
166 |
+
height:40px;
|
167 |
+
padding:0px 20px;
|
168 |
+
background: #8067db;
|
169 |
+
color:#fff;
|
170 |
+
margin:0px auto;
|
171 |
+
text-transform: uppercase;
|
172 |
+
border-color: transparent;
|
173 |
+
-webkit-box-shadow: none;
|
174 |
+
box-shadow: none;
|
175 |
+
text-shadow: none;
|
176 |
+
}
|
177 |
+
#sumome_instructions .footer {
|
178 |
+
background: #f0f3f5;
|
179 |
+
margin:0px auto;
|
180 |
+
text-align:center;
|
181 |
+
position:relative;
|
182 |
+
bottom:0px;
|
183 |
+
left:0px;
|
184 |
+
height:250px;
|
185 |
+
padding-top:60px;
|
186 |
+
line-height:25px;
|
187 |
+
margin-top:50px;
|
188 |
+
}
|
189 |
+
#sumome_instructions .footer a {
|
190 |
+
color: #8067db;
|
191 |
+
}
|
192 |
+
#sumome_instructions .sumome-help {
|
193 |
+
width:50%;
|
194 |
+
margin:0px auto;
|
195 |
+
background: #f0f3f5;
|
196 |
+
}
|
197 |
+
.text {
|
198 |
+
/*padding: 0% 50%;*/
|
199 |
+
width: 80% !important;
|
200 |
+
margin: 0px auto;
|
201 |
+
float: none !important;
|
202 |
+
padding-top:15%;
|
203 |
+
}
|
204 |
+
#sumome_instructions .sumome-help span {
|
205 |
+
display:block;
|
206 |
+
}
|
207 |
+
.mobile{
|
208 |
+
display:none;
|
209 |
+
}
|
210 |
+
.no-mobile{
|
211 |
+
display:block;
|
212 |
+
}
|
213 |
+
@media screen and (max-width: 1000px) {
|
214 |
+
#sumome_instructions .large-6 {
|
215 |
+
width: 100%;
|
216 |
+
}
|
217 |
+
#sumome_instructions #sumome_site_id {
|
218 |
+
width:150px !important;
|
219 |
+
}
|
220 |
+
#sumome_instructions .sumome-instructions,#sumome_instructions .sumome-help {
|
221 |
+
width:90% !important;
|
222 |
+
}
|
223 |
+
#sumome_instructions .text {
|
224 |
+
padding-top: 0%;
|
225 |
+
}
|
226 |
+
#sumome_instructions .footer {
|
227 |
+
height: 250px;
|
228 |
+
padding-top: 10px;
|
229 |
+
line-height: 25px;
|
230 |
+
}
|
231 |
+
#sumome_instructions .list-bullet {
|
232 |
+
white-space:nowrap;
|
233 |
+
}
|
234 |
+
#sumome_instructions .list-number-title {
|
235 |
+
font-size: 20px;
|
236 |
+
}
|
237 |
+
.mobile{
|
238 |
+
display:block;
|
239 |
+
}
|
240 |
+
.no-mobile{
|
241 |
+
display:none;
|
242 |
+
}
|
243 |
+
#sumome_instructions .sumome-help span {
|
244 |
+
display:inline-block;
|
245 |
+
}
|
246 |
+
|
247 |
+
}
|
styles/media.css
DELETED
@@ -1,262 +0,0 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
@media screen and (max-width: 1000px) {
|
4 |
-
.sumome-plugin-main .large-6 {
|
5 |
-
width: 100%;
|
6 |
-
}
|
7 |
-
|
8 |
-
.sumome-plugin-container {
|
9 |
-
margin-left: -20px;
|
10 |
-
}
|
11 |
-
.sumome-plugin-dashboard-widget-learn-more {
|
12 |
-
display:none;
|
13 |
-
}
|
14 |
-
|
15 |
-
.sumome-plugin-dashboard-widget div.sumome-plugin-dashboard-widget-close-button {
|
16 |
-
|
17 |
-
z-index:999999;
|
18 |
-
position:absolute;
|
19 |
-
top:10px;
|
20 |
-
right:10px;
|
21 |
-
}
|
22 |
-
|
23 |
-
.sumome-plugin-popup-contents .sumome-site-id {
|
24 |
-
width: 180px !important;
|
25 |
-
height: 110px;
|
26 |
-
}
|
27 |
-
|
28 |
-
.sumome-plugin-main .site-ID-container button.button {
|
29 |
-
left: 0px;
|
30 |
-
margin-top:10px;
|
31 |
-
}
|
32 |
-
|
33 |
-
.sumome-plugin-main .site-ID-container .sumome-site-id {
|
34 |
-
width: 100%;
|
35 |
-
height: 100px;
|
36 |
-
}
|
37 |
-
|
38 |
-
.sumome-plugin-main .site-ID-container .sumome-plugin-main .site-ID .sumome-instructions {
|
39 |
-
text-align: center;
|
40 |
-
}
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
.sumome-plugin-popup-container .sumome-plugin-popup-container-outer {
|
45 |
-
width: 80%;
|
46 |
-
}
|
47 |
-
.sumome-plugin-popup-container .site-ID button.button {
|
48 |
-
height: 40px;
|
49 |
-
line-height: 40px;
|
50 |
-
vertical-align: middle;
|
51 |
-
padding: 0px 20px;
|
52 |
-
border-radius: 0px 0px 0px 0px;
|
53 |
-
background-color: #c8cbcd;
|
54 |
-
color: #65717b;
|
55 |
-
|
56 |
-
left: 0px;
|
57 |
-
margin: 0px auto;
|
58 |
-
display: block;
|
59 |
-
|
60 |
-
width: 100%;
|
61 |
-
}
|
62 |
-
|
63 |
-
|
64 |
-
.sumome-plugin-main .sumome-instructions,.sumome-plugin-main .sumome-help {
|
65 |
-
width:90% !important;
|
66 |
-
}
|
67 |
-
.sumome-plugin-main .text {
|
68 |
-
padding-top: 0%;
|
69 |
-
}
|
70 |
-
.sumome-plugin-main .footer {
|
71 |
-
padding-top: 10px;
|
72 |
-
line-height: 25px;
|
73 |
-
}
|
74 |
-
.sumome-plugin-main .list-bullet {
|
75 |
-
white-space:nowrap;
|
76 |
-
}
|
77 |
-
.sumome-plugin-main .list-number-title {
|
78 |
-
font-size: 20px;
|
79 |
-
}
|
80 |
-
.sumome-plugin-main .mobile{
|
81 |
-
display:block;
|
82 |
-
}
|
83 |
-
.sumome-plugin-main .no-mobile{
|
84 |
-
display:none;
|
85 |
-
}
|
86 |
-
.sumome-plugin-main .sumome-help span {
|
87 |
-
display:inline;
|
88 |
-
}
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile {
|
94 |
-
width:45%;
|
95 |
-
margin:25px 1%;
|
96 |
-
}
|
97 |
-
|
98 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile {
|
99 |
-
font-size:20px;
|
100 |
-
}
|
101 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile:nth-child(even) {
|
102 |
-
float: right;
|
103 |
-
}
|
104 |
-
|
105 |
-
|
106 |
-
/* top 2 tiles */
|
107 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps,
|
108 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-store {
|
109 |
-
width:98%;
|
110 |
-
float:left;
|
111 |
-
font-size:25px;
|
112 |
-
text-align:right;
|
113 |
-
}
|
114 |
-
|
115 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps {
|
116 |
-
background-size: 90%;
|
117 |
-
background-position: -120px -35px;
|
118 |
-
float:left;
|
119 |
-
}
|
120 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-store {
|
121 |
-
background-size: 80%;
|
122 |
-
background-position: -60px -35px;
|
123 |
-
float:left;
|
124 |
-
}
|
125 |
-
|
126 |
-
.sumome-plugin-main .sumome-logged-in-container .items div .item-tile-title {
|
127 |
-
top: 0%;
|
128 |
-
transform: none;
|
129 |
-
}
|
130 |
-
|
131 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-apps .item-tile-title,
|
132 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile.sumo-store .item-tile-title {
|
133 |
-
padding-right:30px;
|
134 |
-
}
|
135 |
-
|
136 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile,
|
137 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile-background {
|
138 |
-
line-height:normal;
|
139 |
-
}
|
140 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-apps,
|
141 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store {
|
142 |
-
line-height:200px;
|
143 |
-
}
|
144 |
-
|
145 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile-title {
|
146 |
-
line-height:normal;
|
147 |
-
display: inline-flex;
|
148 |
-
align-items: center;
|
149 |
-
height:100%;
|
150 |
-
}
|
151 |
-
|
152 |
-
.sumome-plugin-dashboard-widget-header-title,
|
153 |
-
.sumome-plugin-dashboard-widget-header-desc {
|
154 |
-
width:96% !important;
|
155 |
-
}
|
156 |
-
|
157 |
-
|
158 |
-
.sumome-plugin-dashboard-widget {
|
159 |
-
top: 0;
|
160 |
-
left: 0px;
|
161 |
-
width: 100vw;
|
162 |
-
}
|
163 |
-
|
164 |
-
.sumome-plugin-dashboard-widget-inner {
|
165 |
-
border: 0px solid #ddd;
|
166 |
-
}
|
167 |
-
.sumome-plugin-dashboard-widget-inner .sumome-plugin-dashboard-widget-row ul {
|
168 |
-
margin-left: 0px;
|
169 |
-
}
|
170 |
-
|
171 |
-
.sumome-plugin-dashboard-widget-inner button.green.connect-button, .sumome-plugin-dashboard-widget-inner button.green.dashboard-button {
|
172 |
-
|
173 |
-
}
|
174 |
-
.sumome-plugin-dashboard-widget.minimized button.green {
|
175 |
-
line-height: 27px;
|
176 |
-
font-size: 13px;
|
177 |
-
}
|
178 |
-
|
179 |
-
.sumome-plugin-dashboard-widget-top-note {
|
180 |
-
max-width: 95% !important;
|
181 |
-
}
|
182 |
-
|
183 |
-
.sumome-plugin-dashboard-widget-row {
|
184 |
-
max-width: 90%;
|
185 |
-
white-space: normal;
|
186 |
-
min-height: 400px;
|
187 |
-
margin-top:0px;
|
188 |
-
margin-bottom:0px;
|
189 |
-
}
|
190 |
-
.sumome-plugin-dashboard-widget-separator2 {
|
191 |
-
min-height: 270px;
|
192 |
-
}
|
193 |
-
|
194 |
-
.sumome-plugin-dashboard-widget-top-note-desc br {
|
195 |
-
display:none;
|
196 |
-
}
|
197 |
-
|
198 |
-
.sumome-plugin-dashboard-widget-inner .sumome-plugin-dashboard-widget-top-note ul {
|
199 |
-
margin-top: 15px;
|
200 |
-
width:80%;
|
201 |
-
}
|
202 |
-
|
203 |
-
.sumome-plugin-dashboard-widget-middle-note-title {
|
204 |
-
margin-top: 80px;
|
205 |
-
}
|
206 |
-
.sumome-plugin-dashboard-widget-middle-note-title,
|
207 |
-
.sumome-plugin-dashboard-widget-middle-note-desc,
|
208 |
-
.sumome-plugin-dashboard-widget-middle-note-clients {
|
209 |
-
width: 85%;
|
210 |
-
}
|
211 |
-
|
212 |
-
.sumome-plugin-dashboard-widget-middle-note-clients img {
|
213 |
-
width: 30%;
|
214 |
-
padding: 20px;
|
215 |
-
}
|
216 |
-
|
217 |
-
|
218 |
-
.sumome-plugin-dashboard-widget-row-title {
|
219 |
-
text-align: center;
|
220 |
-
}
|
221 |
-
.sumome-plugin-left div {
|
222 |
-
padding-left: 0px;
|
223 |
-
}
|
224 |
-
|
225 |
-
.sumome-plugin-left, .sumome-plugin-right {
|
226 |
-
display: block;
|
227 |
-
min-width: 80%;
|
228 |
-
margin:25px;
|
229 |
-
}
|
230 |
-
.sumome-plugin-left img, .sumome-plugin-right img {
|
231 |
-
width: 100%;
|
232 |
-
margin:5px;
|
233 |
-
|
234 |
-
}
|
235 |
-
|
236 |
-
.sumome-plugin-main .sumome-logged-in-container .header-banner {
|
237 |
-
background-image: url('../images/sumo-banner.jpg');
|
238 |
-
background-repeat: no-repeat;
|
239 |
-
min-height: 150px;
|
240 |
-
background-position: top center;
|
241 |
-
background-size: 100% 150px;
|
242 |
-
}
|
243 |
-
|
244 |
-
.sumome-plugin-main .sumome-plugin-popup-contents .site-ID {
|
245 |
-
padding-top:0px;
|
246 |
-
}
|
247 |
-
|
248 |
-
.sumome-plugin-main .statistics table {
|
249 |
-
text-align: center;
|
250 |
-
}
|
251 |
-
|
252 |
-
|
253 |
-
}
|
254 |
-
|
255 |
-
@media screen and (max-width: 475px) {
|
256 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile {
|
257 |
-
width: 100%;
|
258 |
-
}
|
259 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile:nth-child(even) {
|
260 |
-
float: none;
|
261 |
-
}
|
262 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/statistics.css
DELETED
@@ -1,536 +0,0 @@
|
|
1 |
-
|
2 |
-
.sumome-plugin-main .statistics-container {
|
3 |
-
border-radius: 5px;
|
4 |
-
margin-bottom: 20px;
|
5 |
-
display:none;
|
6 |
-
}
|
7 |
-
.sumome-plugin-main .statistics-inner-container {
|
8 |
-
|
9 |
-
}
|
10 |
-
.sumome-plugin-main .statistics {
|
11 |
-
min-height: 100px;
|
12 |
-
background-color: #f0f3f5;
|
13 |
-
max-width: 960px;
|
14 |
-
margin: 0px auto;
|
15 |
-
word-wrap: normal;
|
16 |
-
-ms-word-wrap: normal;
|
17 |
-
-moz-box-sizing: border-box;
|
18 |
-
-webkit-box-sizing: border-box;
|
19 |
-
box-sizing: border-box;
|
20 |
-
padding: 0;
|
21 |
-
border: 0;
|
22 |
-
font: inherit;
|
23 |
-
font-size: 100%;
|
24 |
-
vertical-align: baseline;
|
25 |
-
width: auto;
|
26 |
-
line-height: initial;
|
27 |
-
font-style: initial;
|
28 |
-
font-weight: initial;
|
29 |
-
border-collapse: collapse;
|
30 |
-
border-spacing: 0;
|
31 |
-
text-align: left;
|
32 |
-
font-weight: normal;
|
33 |
-
vertical-align: middle;
|
34 |
-
quotes: none;
|
35 |
-
border: none;
|
36 |
-
border: initial;
|
37 |
-
-webkit-border-radius: 0;
|
38 |
-
-moz-border-radius: 0;
|
39 |
-
-ms-border-radius: 0;
|
40 |
-
-o-border-radius: 0;
|
41 |
-
border-radius: 0;
|
42 |
-
/* copied stats styles */
|
43 |
-
/*background-color: #f0f3f5;*/
|
44 |
-
border-radius: 5px;
|
45 |
-
margin-bottom: 20px;
|
46 |
-
padding: 20px 20px 0;
|
47 |
-
}
|
48 |
-
.sumome-plugin-main .statistics:before,
|
49 |
-
.sumome-plugin-main .statistics:after {
|
50 |
-
content: "";
|
51 |
-
content: none;
|
52 |
-
}
|
53 |
-
.sumome-plugin-main .statistics div, .sumome-plugin-main .statistics span, .sumome-plugin-main .statistics applet, .sumome-plugin-main .statistics object, .sumome-plugin-main .statistics iframe,
|
54 |
-
.sumome-plugin-main .statistics h1, .sumome-plugin-main .statistics h2, .sumome-plugin-main .statistics h3, .sumome-plugin-main .statistics h4, .sumome-plugin-main .statistics h5, .sumome-plugin-main .statistics h6, .sumome-plugin-main .statistics p, .sumome-plugin-main .statistics blockquote, .sumome-plugin-main .statistics pre,
|
55 |
-
.sumome-plugin-main .statistics a, .sumome-plugin-main .statistics abbr, .sumome-plugin-main .statistics acronym, .sumome-plugin-main .statistics address, .sumome-plugin-main .statistics big, .sumome-plugin-main .statistics cite, .sumome-plugin-main .statistics code,
|
56 |
-
.sumome-plugin-main .statistics del, .sumome-plugin-main .statistics dfn, .sumome-plugin-main .statistics em, .sumome-plugin-main .statistics img, .sumome-plugin-main .statistics ins, .sumome-plugin-main .statistics kbd, .sumome-plugin-main .statistics q, .sumome-plugin-main .statistics s, .sumome-plugin-main .statistics samp,
|
57 |
-
.sumome-plugin-main .statistics small, .sumome-plugin-main .statistics strike, .sumome-plugin-main .statistics strong, .sumome-plugin-main .statistics sub, .sumome-plugin-main .statistics sup, .sumome-plugin-main .statistics tt, .sumome-plugin-main .statistics var,
|
58 |
-
.sumome-plugin-main .statistics b, .sumome-plugin-main .statistics u, .sumome-plugin-main .statistics i, .sumome-plugin-main .statistics center,
|
59 |
-
.sumome-plugin-main .statistics dl, .sumome-plugin-main .statistics dt, .sumome-plugin-main .statistics dd, .sumome-plugin-main .statistics ol, .sumome-plugin-main .statistics ul, .sumome-plugin-main .statistics li,
|
60 |
-
.sumome-plugin-main .statistics fieldset, .sumome-plugin-main .statistics form, .sumome-plugin-main .statistics label, .sumome-plugin-main .statistics legend,
|
61 |
-
.sumome-plugin-main .statistics table, .sumome-plugin-main .statistics caption, .sumome-plugin-main .statistics tbody, .sumome-plugin-main .statistics tfoot, .sumome-plugin-main .statistics thead, .sumome-plugin-main .statistics tr, .sumome-plugin-main .statistics th, .sumome-plugin-main .statistics td,
|
62 |
-
.sumome-plugin-main .statistics article, .sumome-plugin-main .statistics aside, .sumome-plugin-main .statistics canvas, .sumome-plugin-main .statistics details, .sumome-plugin-main .statistics embed,
|
63 |
-
.sumome-plugin-main .statistics figure, .sumome-plugin-main .statistics figcaption, .sumome-plugin-main .statistics footer, .sumome-plugin-main .statistics header, .sumome-plugin-main .statistics hgroup,
|
64 |
-
.sumome-plugin-main .statistics menu, .sumome-plugin-main .statistics nav, .sumome-plugin-main .statistics output, .sumome-plugin-main .statistics ruby, .sumome-plugin-main .statistics section, .sumome-plugin-main .statistics summary,
|
65 |
-
.sumome-plugin-main .statistics time, .sumome-plugin-main .statistics mark, .sumome-plugin-main .statistics audio, .sumome-plugin-main .statistics video {
|
66 |
-
word-wrap: normal;
|
67 |
-
-ms-word-wrap: normal;
|
68 |
-
-moz-box-sizing: border-box;
|
69 |
-
-webkit-box-sizing: border-box;
|
70 |
-
box-sizing: border-box;
|
71 |
-
margin: 0;
|
72 |
-
padding: 0;
|
73 |
-
border: 0;
|
74 |
-
font: inherit;
|
75 |
-
font-size: 100%;
|
76 |
-
vertical-align: baseline;
|
77 |
-
background: transparent;
|
78 |
-
line-height: inherit;
|
79 |
-
font-style: inherit;
|
80 |
-
font-weight: inherit;
|
81 |
-
opacity: 1;
|
82 |
-
color: inherit;
|
83 |
-
border: initial;
|
84 |
-
-webkit-border-radius: 0;
|
85 |
-
-moz-border-radius: 0;
|
86 |
-
-ms-border-radius: 0;
|
87 |
-
-o-border-radius: 0;
|
88 |
-
border-radius: 0;
|
89 |
-
}
|
90 |
-
.sumome-plugin-main .statistics div {
|
91 |
-
width: auto;
|
92 |
-
float: none;
|
93 |
-
}
|
94 |
-
.sumome-plugin-main .statistics table {
|
95 |
-
border-collapse: collapse;
|
96 |
-
border-spacing: 0;
|
97 |
-
}
|
98 |
-
.sumome-plugin-main .statistics caption,
|
99 |
-
.sumome-plugin-main .statistics th,
|
100 |
-
.sumome-plugin-main .statistics td {
|
101 |
-
text-align: left;
|
102 |
-
font-weight: normal;
|
103 |
-
vertical-align: middle;
|
104 |
-
}
|
105 |
-
.sumome-plugin-main .statistics q,
|
106 |
-
.sumome-plugin-main .statistics blockquote {
|
107 |
-
quotes: none;
|
108 |
-
}
|
109 |
-
.sumome-plugin-main .statistics q:before,
|
110 |
-
.sumome-plugin-main .statistics q:after,
|
111 |
-
.sumome-plugin-main .statistics blockquote:before,
|
112 |
-
.sumome-plugin-main .statistics blockquote:after {
|
113 |
-
content: "";
|
114 |
-
content: none;
|
115 |
-
}
|
116 |
-
.sumome-plugin-main .statistics img {
|
117 |
-
width: auto;
|
118 |
-
}
|
119 |
-
.sumome-plugin-main .statistics a img {
|
120 |
-
border: none;
|
121 |
-
}
|
122 |
-
.sumome-plugin-main .statistics input[type=text], .statistics input[type=password],
|
123 |
-
.sumome-plugin-main .statistics input[type=radio], .statistics input[type=checkbox],
|
124 |
-
.sumome-plugin-main .statistics textarea {
|
125 |
-
border-width: 1px;
|
126 |
-
outline: 0;
|
127 |
-
border-color: black;
|
128 |
-
display: block;
|
129 |
-
margin: 0;
|
130 |
-
padding: 0;
|
131 |
-
width: auto;
|
132 |
-
max-width: initial;
|
133 |
-
max-height: initial;
|
134 |
-
min-width: initial;
|
135 |
-
min-height: initial;
|
136 |
-
line-height: initial;
|
137 |
-
position: static;
|
138 |
-
-webkit-border-radius: 3px 3px;
|
139 |
-
-moz-border-radius: 3px / 3px;
|
140 |
-
border-radius: 3px / 3px;
|
141 |
-
}
|
142 |
-
.sumome-plugin-main .statistics input[type=text]:focus,
|
143 |
-
.sumome-plugin-main .statistics input[type=password]:focus,
|
144 |
-
.sumome-plugin-main .statistics input[type=radio]:focus,
|
145 |
-
.sumome-plugin-main .statistics input[type=checkbox]:focus,
|
146 |
-
.sumome-plugin-main .statistics textarea:focus {
|
147 |
-
outline: 0;
|
148 |
-
}
|
149 |
-
.sumome-plugin-main .statistics input[type=radio],
|
150 |
-
.sumome-plugin-main .statistics input[type=checkbox] {
|
151 |
-
max-width: initial;
|
152 |
-
max-height: initial;
|
153 |
-
min-width: initial;
|
154 |
-
min-height: initial;
|
155 |
-
position: static;
|
156 |
-
display: inline-block;
|
157 |
-
}
|
158 |
-
.sumome-plugin-main .statistics select {
|
159 |
-
border-color: black;
|
160 |
-
outline: 0;
|
161 |
-
margin: 0;
|
162 |
-
padding: 0;
|
163 |
-
width: auto;
|
164 |
-
max-width: initial;
|
165 |
-
max-height: initial;
|
166 |
-
min-width: initial;
|
167 |
-
min-height: initial;
|
168 |
-
position: static;
|
169 |
-
-webkit-border-radius: 3px 3px;
|
170 |
-
-moz-border-radius: 3px / 3px;
|
171 |
-
border-radius: 3px / 3px;
|
172 |
-
}
|
173 |
-
.sumome-plugin-main .statistics select:focus {
|
174 |
-
outline: 0;
|
175 |
-
}
|
176 |
-
.sumome-plugin-main .statistics button {
|
177 |
-
border: initial;
|
178 |
-
-webkit-border-radius: 0;
|
179 |
-
-moz-border-radius: 0;
|
180 |
-
-ms-border-radius: 0;
|
181 |
-
-o-border-radius: 0;
|
182 |
-
border-radius: 0;
|
183 |
-
}
|
184 |
-
.sumome-plugin-main .statistics address:before, .sumome-plugin-main .statistics address:after,
|
185 |
-
.sumome-plugin-main .statistics article:before, .sumome-plugin-main .statistics article:after,
|
186 |
-
.sumome-plugin-main .statistics aside:before, .sumome-plugin-main .statistics aside:after,
|
187 |
-
.sumome-plugin-main .statistics audio:before, .sumome-plugin-main .statistics audio:after,
|
188 |
-
.sumome-plugin-main .statistics blockquote:before, .sumome-plugin-main .statistics blockquote:after,
|
189 |
-
.sumome-plugin-main .statistics canvas:before, .sumome-plugin-main .statistics canvas:after,
|
190 |
-
.sumome-plugin-main .statistics dd:before, .sumome-plugin-main .statistics dd:after,
|
191 |
-
.sumome-plugin-main .statistics div:before, .sumome-plugin-main .statistics div:after,
|
192 |
-
.sumome-plugin-main .statistics dl:before, .sumome-plugin-main .statistics dl:after,
|
193 |
-
.sumome-plugin-main .statistics fieldset:before, .sumome-plugin-main .statistics fieldset:after,
|
194 |
-
.sumome-plugin-main .statistics figcaption:before, .sumome-plugin-main .statistics figcaption:after,
|
195 |
-
.sumome-plugin-main .statistics figure:before, .sumome-plugin-main .statistics figure:after,
|
196 |
-
.sumome-plugin-main .statistics footer:before, .sumome-plugin-main .statistics footer:after,
|
197 |
-
.sumome-plugin-main .statistics form:before, .sumome-plugin-main .statistics form:after,
|
198 |
-
.sumome-plugin-main .statistics header:before, .sumome-plugin-main .statistics header:after,
|
199 |
-
.sumome-plugin-main .statistics hr:before, .sumome-plugin-main .statistics hr:after,
|
200 |
-
.sumome-plugin-main .statistics main:before, .sumome-plugin-main .statistics main:after,
|
201 |
-
.sumome-plugin-main .statistics output:before, .sumome-plugin-main .statistics output:after,
|
202 |
-
.sumome-plugin-main .statistics pre:before, .sumome-plugin-main .statistics pre:after,
|
203 |
-
.sumome-plugin-main .statistics section:before, .sumome-plugin-main .statistics section:after,
|
204 |
-
.sumome-plugin-main .statistics table:before, .sumome-plugin-main .statistics table:after,
|
205 |
-
.sumome-plugin-main .statistics tfoot:before, .sumome-plugin-main .statistics tfoot:after,
|
206 |
-
.sumome-plugin-main .statistics video:before, .sumome-plugin-main .statistics video:after {
|
207 |
-
content: none;
|
208 |
-
}
|
209 |
-
.sumome-plugin-main .statistics a {
|
210 |
-
text-decoration: none;
|
211 |
-
}
|
212 |
-
.sumome-plugin-main .statistics h4 {
|
213 |
-
font-weight: 700;
|
214 |
-
}
|
215 |
-
.sumome-plugin-main .statistics .statsEmpty {
|
216 |
-
padding-bottom: 20px;
|
217 |
-
}
|
218 |
-
.sumome-plugin-main .statistics .center {
|
219 |
-
display: block;
|
220 |
-
margin: 0 auto;
|
221 |
-
}
|
222 |
-
.sumome-plugin-main .statistics .article,
|
223 |
-
.sumome-plugin-main .statistics .articleLink {
|
224 |
-
display: table-cell;
|
225 |
-
}
|
226 |
-
.sumome-plugin-main .statistics .article {
|
227 |
-
vertical-align: middle;
|
228 |
-
}
|
229 |
-
.sumome-plugin-main .statistics > table.row {
|
230 |
-
width: 100%;
|
231 |
-
}
|
232 |
-
.sumome-plugin-main .statistics > table.row .wrapper {
|
233 |
-
display: inline-block;
|
234 |
-
vertical-align: top;
|
235 |
-
/*width: 100%;*/
|
236 |
-
min-width: 280px;
|
237 |
-
width: 19.8%;
|
238 |
-
}
|
239 |
-
.sumome-plugin-main .statistics > table.row .wrapper table.four.columns {
|
240 |
-
margin-bottom: 20px;
|
241 |
-
width: 100%;
|
242 |
-
}
|
243 |
-
.sumome-plugin-main .statistics > table.row .wrapper.last {
|
244 |
-
margin-right: 0;
|
245 |
-
}
|
246 |
-
.sumome-plugin-main .statistics > table.row .statTable td {
|
247 |
-
padding-bottom: 4px;
|
248 |
-
vertical-align: top;
|
249 |
-
}
|
250 |
-
.sumome-plugin-main .statistics > table.row:last-child,
|
251 |
-
.sumome-plugin-main .statistics > table.row:last-child .wrapper {
|
252 |
-
margin-bottom: 0;
|
253 |
-
padding-bottom: 0;
|
254 |
-
margin: 0px 10px;
|
255 |
-
}
|
256 |
-
.sumome-plugin-main .statistics h1 {
|
257 |
-
font-size: 38px;
|
258 |
-
line-height: 38px;
|
259 |
-
text-align: center;
|
260 |
-
color: #ffffff;
|
261 |
-
padding-top: 8px;
|
262 |
-
padding-bottom: 6px;
|
263 |
-
}
|
264 |
-
.sumome-plugin-main .statistics h2 {
|
265 |
-
font-size: 14px;
|
266 |
-
line-height: 14px;
|
267 |
-
font-weight: 500;
|
268 |
-
padding-top: 14px;
|
269 |
-
text-align: center;
|
270 |
-
color: #ffffff;
|
271 |
-
}
|
272 |
-
.sumome-plugin-main .statistics h3 {
|
273 |
-
font-size: 32px;
|
274 |
-
line-height: 40px;
|
275 |
-
text-align: center;
|
276 |
-
color: #ffffff;
|
277 |
-
padding-bottom: 8px;
|
278 |
-
}
|
279 |
-
.sumome-plugin-main .statistics h4 {
|
280 |
-
font-size: 12px;
|
281 |
-
line-height: 12px;
|
282 |
-
font-weight: 700;
|
283 |
-
padding-top: 10px;
|
284 |
-
padding-bottom: 6px;
|
285 |
-
text-align: center;
|
286 |
-
color: #ffffff;
|
287 |
-
text-transform: uppercase;
|
288 |
-
}
|
289 |
-
.sumome-plugin-main .statistics h5 {
|
290 |
-
font-size: 28px;
|
291 |
-
line-height: 28px;
|
292 |
-
letter-spacing: -3px;
|
293 |
-
text-align: center;
|
294 |
-
color: #495259;
|
295 |
-
}
|
296 |
-
.sumome-plugin-main .statistics h6 {
|
297 |
-
font-size: 14px;
|
298 |
-
line-height: 14px;
|
299 |
-
font-weight: 700;
|
300 |
-
padding-top: 8px;
|
301 |
-
padding-bottom: 4px;
|
302 |
-
text-align: center;
|
303 |
-
color: #495259;
|
304 |
-
text-transform: uppercase;
|
305 |
-
}
|
306 |
-
.sumome-plugin-main .statistics p {
|
307 |
-
margin: 0;
|
308 |
-
font-size: 12px;
|
309 |
-
line-height: 12px;
|
310 |
-
letter-spacing: -1px;
|
311 |
-
color: #495259;
|
312 |
-
}
|
313 |
-
.sumome-plugin-main .statistics p.date {
|
314 |
-
font-size: 18px;
|
315 |
-
font-weight: 400;
|
316 |
-
padding-top: 6px;
|
317 |
-
text-align: center;
|
318 |
-
letter-spacing: 0;
|
319 |
-
color: #ffffff;
|
320 |
-
line-height: 22px;
|
321 |
-
}
|
322 |
-
.sumome-plugin-main .statistics .proText {
|
323 |
-
color: #ffffff;
|
324 |
-
font-size: 16px;
|
325 |
-
line-height: 26px;
|
326 |
-
text-align: center;
|
327 |
-
letter-spacing: 0px;
|
328 |
-
}
|
329 |
-
.sumome-plugin-main .statistics .proContainer {
|
330 |
-
height: auto;
|
331 |
-
background: #6c62c5;
|
332 |
-
padding: 9px 10px 8px 10px;
|
333 |
-
border-radius: 5px;
|
334 |
-
}
|
335 |
-
.sumome-plugin-main .statistics a:visited {
|
336 |
-
color: #ffffff !important;
|
337 |
-
}
|
338 |
-
.sumome-plugin-main .statistics .small-button {
|
339 |
-
color: #ffffff !important;
|
340 |
-
font-weight: 700 !important;
|
341 |
-
box-shadow: none;
|
342 |
-
margin-bottom: 5px;
|
343 |
-
}
|
344 |
-
.sumome-plugin-main .statistics .article {
|
345 |
-
height: auto;
|
346 |
-
font-size: 23px;
|
347 |
-
line-height: 28px;
|
348 |
-
background: #6c62c5;
|
349 |
-
padding: 30px 14px;
|
350 |
-
border-radius: 5px;
|
351 |
-
text-align: center;
|
352 |
-
color: #ffffff !important;
|
353 |
-
height: 233px;
|
354 |
-
}
|
355 |
-
.sumome-plugin-main .statistics .article:hover {
|
356 |
-
color: #ffffff !important;
|
357 |
-
text-decoration: underline;
|
358 |
-
}
|
359 |
-
.sumome-plugin-main .statistics .appTitle {
|
360 |
-
height: 28px;
|
361 |
-
border-top-left-radius: 4px;
|
362 |
-
border-top-right-radius: 4px;
|
363 |
-
}
|
364 |
-
.sumome-plugin-main .statistics .titlePadding {
|
365 |
-
padding-left: 20px;
|
366 |
-
}
|
367 |
-
.sumome-plugin-main .statistics .statTable {
|
368 |
-
border-radius: 4px;
|
369 |
-
width: 280px;
|
370 |
-
background-color: #fff;
|
371 |
-
}
|
372 |
-
.sumome-plugin-main .statistics .negativeNumber {
|
373 |
-
font-size: 17px;
|
374 |
-
color: #f33f13;
|
375 |
-
text-align: center;
|
376 |
-
padding-top: 4px;
|
377 |
-
padding-bottom: 6px;
|
378 |
-
}
|
379 |
-
.sumome-plugin-main .statistics .positiveNumber {
|
380 |
-
font-size: 17px;
|
381 |
-
color: #56c92b;
|
382 |
-
text-align: center;
|
383 |
-
padding-top: 4px;
|
384 |
-
padding-bottom: 6px;
|
385 |
-
}
|
386 |
-
.sumome-plugin-main .statistics .neutralNumber {
|
387 |
-
font-size: 11px;
|
388 |
-
color: #ffffff;
|
389 |
-
background-color: #a4a9ac;
|
390 |
-
padding: 3px 6px;
|
391 |
-
border-radius: 4px;
|
392 |
-
}
|
393 |
-
.sumome-plugin-main .statistics .graphLeft {
|
394 |
-
padding-left: 10px;
|
395 |
-
letter-spacing: 0;
|
396 |
-
height: 12px;
|
397 |
-
text-align: left;
|
398 |
-
}
|
399 |
-
.sumome-plugin-main .statistics p {
|
400 |
-
margin-bottom: 0px;
|
401 |
-
}
|
402 |
-
.sumome-plugin-main .statistics .graphBar {
|
403 |
-
height: 10px;
|
404 |
-
border-radius: 4px 4px 4px 4px;
|
405 |
-
-webkit-border-radius: 4px 4px 4px 4px;
|
406 |
-
}
|
407 |
-
.sumome-plugin-main .statistics .graphBlank {
|
408 |
-
padding-top: 10px;
|
409 |
-
letter-spacing: 0;
|
410 |
-
}
|
411 |
-
.sumome-plugin-main .statistics .graphDivider {
|
412 |
-
padding: 0 10px 6px 10px !important;
|
413 |
-
padding-bottom: 6px !important;
|
414 |
-
}
|
415 |
-
.sumome-plugin-main .statistics .grayLine {
|
416 |
-
height: 1px;
|
417 |
-
width: 100%;
|
418 |
-
background: #c2dced;
|
419 |
-
margin-bottom: 4px;
|
420 |
-
font-size: 0px;
|
421 |
-
}
|
422 |
-
.sumome-plugin-main .statistics .graphNumberRight {
|
423 |
-
font-weight: 700;
|
424 |
-
letter-spacing: 0;
|
425 |
-
padding-left: 4px;
|
426 |
-
padding-right: 10px;
|
427 |
-
text-align: right;
|
428 |
-
float: right;
|
429 |
-
}
|
430 |
-
.sumome-plugin-main .statistics .totalNumber {
|
431 |
-
text-align: center;
|
432 |
-
padding-top: 3px;
|
433 |
-
padding-bottom: 7px;
|
434 |
-
}
|
435 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats {
|
436 |
-
position: relative !important;
|
437 |
-
top: initial;
|
438 |
-
left: initial;
|
439 |
-
padding: 20px 0 0 20px;
|
440 |
-
}
|
441 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats .articleLink .article {
|
442 |
-
height: 233px;
|
443 |
-
}
|
444 |
-
.sumome-plugin-main .statistics h3.headline {
|
445 |
-
color: #000000;
|
446 |
-
text-align: left;
|
447 |
-
font-size: 18px;
|
448 |
-
line-height: 28px;
|
449 |
-
padding-bottom: 20px;
|
450 |
-
text-align: center;
|
451 |
-
}
|
452 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats > table.row .wrapper {
|
453 |
-
margin-right: 20px;
|
454 |
-
width: calc(100% - 20px) !important;
|
455 |
-
}
|
456 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-2 > table.row .wrapper {
|
457 |
-
width: calc(50% - 20px) !important;
|
458 |
-
}
|
459 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-3 > table.row .wrapper {
|
460 |
-
width: calc(33.333333333% - 20px) !important;
|
461 |
-
}
|
462 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-4 > table.row .wrapper {
|
463 |
-
width: calc(25% - 20px) !important;
|
464 |
-
}
|
465 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-5 > table.row .wrapper {
|
466 |
-
width: calc(20% - 20px) !important;
|
467 |
-
}
|
468 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-6 > table.row .wrapper {
|
469 |
-
width: calc(16.666666666% - 20px) !important;
|
470 |
-
}
|
471 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-7 > table.row .wrapper {
|
472 |
-
width: calc(14.285714285% - 20px) !important;
|
473 |
-
}
|
474 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-8 > table.row .wrapper {
|
475 |
-
width: calc(12.5% - 20px) !important;
|
476 |
-
}
|
477 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-9 > table.row .wrapper {
|
478 |
-
width: calc(12.5% - 20px) !important;
|
479 |
-
}
|
480 |
-
.sumome-plugin-main .statistics.sumome-dashboard-stats.columns-10 > table.row .wrapper {
|
481 |
-
width: calc(11.111111111% - 20px) !important;
|
482 |
-
}
|
483 |
-
|
484 |
-
.sumome-plugin-main .statistics-search {
|
485 |
-
padding: 0px;
|
486 |
-
width:960px;
|
487 |
-
margin:0px auto;
|
488 |
-
border-radius-top-right: 5px;
|
489 |
-
border-radius-top-left: 5px;
|
490 |
-
}
|
491 |
-
.sumome-plugin-main .statistics-search .sumome-switch input {
|
492 |
-
margin: 0px !important;
|
493 |
-
}
|
494 |
-
.sumome-plugin-main .statistics-search .sumome-switch label {
|
495 |
-
margin-bottom: 16px !important;
|
496 |
-
}
|
497 |
-
.sumome-plugin-main .statistics-search select {
|
498 |
-
margin: 0 0 16px 0 !important;
|
499 |
-
}
|
500 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper {
|
501 |
-
background-color: #f0f3f5;
|
502 |
-
}
|
503 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper select,
|
504 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper input {
|
505 |
-
margin: 0 0 0 0 !important;
|
506 |
-
}
|
507 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper input.sumome-dashboard-end-date {
|
508 |
-
cursor: default;
|
509 |
-
}
|
510 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper select.sumome-dashboard-date-select {
|
511 |
-
background-color: #ffffff;
|
512 |
-
}
|
513 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper .sumome-columns {
|
514 |
-
padding-left: 20px;
|
515 |
-
padding-right: 20px;
|
516 |
-
width: auto;
|
517 |
-
display: inline-block;
|
518 |
-
}
|
519 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper .sumome-button {
|
520 |
-
margin-bottom: 0px;
|
521 |
-
}
|
522 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-date-select-wrapper div.sumome-small-12 {
|
523 |
-
margin-top: 20px;
|
524 |
-
}
|
525 |
-
.sumome-plugin-main .statistics-search .sumome-row-header span {
|
526 |
-
cursor: default;
|
527 |
-
}
|
528 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-wrapper {
|
529 |
-
background-color: #f0f3f5;
|
530 |
-
width: 100% !important;
|
531 |
-
}
|
532 |
-
.sumome-plugin-main .statistics-search .sumome-dashboard-stats-wrapper div.row {
|
533 |
-
display: inline;
|
534 |
-
width: 100%;
|
535 |
-
}
|
536 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/styles.css
DELETED
@@ -1,958 +0,0 @@
|
|
1 |
-
|
2 |
-
.sumome-plugin-main .mobile{
|
3 |
-
display:none;
|
4 |
-
}
|
5 |
-
.sumome-plugin-main .no-mobile{
|
6 |
-
display:block;
|
7 |
-
}
|
8 |
-
.sumome-plugin-main .hidden {
|
9 |
-
display:none;
|
10 |
-
}
|
11 |
-
|
12 |
-
.sumome-plugin-container{
|
13 |
-
background:#f0f3f5;
|
14 |
-
}
|
15 |
-
.sumome-plugin-container {
|
16 |
-
clear:both;
|
17 |
-
margin-left:-20px;
|
18 |
-
overflow:auto;
|
19 |
-
}
|
20 |
-
.sumome-plugin-linkalike {
|
21 |
-
display:inline-block;
|
22 |
-
width:auto;
|
23 |
-
cursor:pointer;
|
24 |
-
color:#6c65c2;
|
25 |
-
|
26 |
-
}
|
27 |
-
.sumome-plugin-main {
|
28 |
-
width: 100%;
|
29 |
-
box-sizing: border-box;
|
30 |
-
-moz-box-sizing: border-box;
|
31 |
-
-webkit-box-sizing: border-box;
|
32 |
-
|
33 |
-
color:#65717b;
|
34 |
-
}
|
35 |
-
.sumome-plugin-main .sumome-plugin-dashboard-widget-inner {
|
36 |
-
margin: 0px;
|
37 |
-
}
|
38 |
-
|
39 |
-
|
40 |
-
.sumome-plugin-main .row {
|
41 |
-
width: 100%;
|
42 |
-
margin-left: auto;
|
43 |
-
margin-right: auto;
|
44 |
-
margin-top: 0;
|
45 |
-
margin-bottom: 0;
|
46 |
-
box-sizing: border-box;
|
47 |
-
-moz-box-sizing: border-box;
|
48 |
-
-webkit-box-sizing: border-box;
|
49 |
-
display:block;
|
50 |
-
}
|
51 |
-
|
52 |
-
.sumome-plugin-main .row .row {
|
53 |
-
width: auto;
|
54 |
-
margin-left: -0.9375rem;
|
55 |
-
margin-right: -0.9375rem;
|
56 |
-
margin-top: 0;
|
57 |
-
margin-bottom: 0;
|
58 |
-
max-width: none;
|
59 |
-
}
|
60 |
-
|
61 |
-
.sumome-plugin-main .columns {
|
62 |
-
position: relative;
|
63 |
-
padding-left: 0.9375rem;
|
64 |
-
padding-right: 0.9375rem;
|
65 |
-
float: left;
|
66 |
-
box-sizing: border-box;
|
67 |
-
-moz-box-sizing: border-box;
|
68 |
-
-webkit-box-sizing: border-box;
|
69 |
-
}
|
70 |
-
|
71 |
-
.sumome-plugin-main .large-4 {
|
72 |
-
width: 33.33333%;
|
73 |
-
}
|
74 |
-
|
75 |
-
.sumome-plugin-main .large-6 {
|
76 |
-
width: 50%;
|
77 |
-
}
|
78 |
-
|
79 |
-
.sumome-plugin-main .large-8 {
|
80 |
-
width: 66.66667%;
|
81 |
-
}
|
82 |
-
|
83 |
-
.sumome-plugin-main .large-12 {
|
84 |
-
width: 100%;
|
85 |
-
}
|
86 |
-
|
87 |
-
.sumome-plugin-main .th {
|
88 |
-
line-height: 0;
|
89 |
-
display: inline-block;
|
90 |
-
border: solid 4px #fff;
|
91 |
-
max-width: 100%;
|
92 |
-
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
93 |
-
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
94 |
-
-webkit-transition: all 200ms ease-out;
|
95 |
-
-moz-transition: all 200ms ease-out;
|
96 |
-
transition: all 200ms ease-out;
|
97 |
-
}
|
98 |
-
|
99 |
-
.sumome-plugin-main img {
|
100 |
-
display: inline-block;
|
101 |
-
vertical-align: middle;
|
102 |
-
max-width: 100%;
|
103 |
-
height: auto;
|
104 |
-
}
|
105 |
-
|
106 |
-
.sumome-plugin-main h4 {
|
107 |
-
font-size: 1.4375rem;
|
108 |
-
line-height: 1.4;
|
109 |
-
margin: .5em 0;
|
110 |
-
}
|
111 |
-
|
112 |
-
.sumome-plugin-main .sumome-instructions {
|
113 |
-
text-align:center;
|
114 |
-
width:50%;
|
115 |
-
margin:0px auto;
|
116 |
-
padding-top:10px;
|
117 |
-
}
|
118 |
-
.sumome-plugin-main .site-ID .sumome-instructions {
|
119 |
-
text-align:left;
|
120 |
-
}
|
121 |
-
|
122 |
-
.sumome-plugin-main .site-ID input[type=submit] {
|
123 |
-
border-radius: 4px;
|
124 |
-
height: 40px;
|
125 |
-
padding: 0px 20px;
|
126 |
-
background: #5bc739;
|
127 |
-
color: #fff;
|
128 |
-
margin: 0px auto;
|
129 |
-
text-transform: uppercase;
|
130 |
-
border-color: transparent;
|
131 |
-
-webkit-box-shadow: none;
|
132 |
-
box-shadow: none;
|
133 |
-
text-shadow: none;
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
line-height: 40px;
|
138 |
-
|
139 |
-
}
|
140 |
-
|
141 |
-
|
142 |
-
.sumome-plugin-main .header-banner {
|
143 |
-
text-align:center;
|
144 |
-
background:#f0f3f5;
|
145 |
-
margin-bottom:20px;
|
146 |
-
}
|
147 |
-
.sumome-plugin-main .header-banner img {
|
148 |
-
display: inline-block;
|
149 |
-
vertical-align: middle;
|
150 |
-
/*width: 100%;*/
|
151 |
-
max-width: 100%;
|
152 |
-
height: auto;
|
153 |
-
margin-bottom:0px;
|
154 |
-
}
|
155 |
-
.sumome-plugin-main .list-number {
|
156 |
-
border-radius: 25px;
|
157 |
-
background: #6c65c2;
|
158 |
-
width: 35px;
|
159 |
-
height: 35px;
|
160 |
-
color:#fff;
|
161 |
-
display:inline-block;
|
162 |
-
text-align:center;
|
163 |
-
line-height:35px;
|
164 |
-
font-size:18px;
|
165 |
-
}
|
166 |
-
.sumome-plugin-main .list-number-title {
|
167 |
-
color:#0f74b5;
|
168 |
-
font-size:24px;
|
169 |
-
font-weight:bold;
|
170 |
-
display:inline-block;
|
171 |
-
width:auto;
|
172 |
-
margin-left:10px;
|
173 |
-
}
|
174 |
-
.sumome-plugin-main .site-ID .list-bullet {
|
175 |
-
margin-top: 0px !important;
|
176 |
-
}
|
177 |
-
.sumome-plugin-main .row3 .list-bullet{
|
178 |
-
margin-top:80px;
|
179 |
-
}
|
180 |
-
|
181 |
-
.sumome-plugin-main .row3, .row3 p.submit {
|
182 |
-
text-align:center;
|
183 |
-
margin:0px auto;
|
184 |
-
padding-top:25px;
|
185 |
-
}
|
186 |
-
.sumome-plugin-main .row3 table {
|
187 |
-
margin:0px auto;
|
188 |
-
}
|
189 |
-
|
190 |
-
.sumome-plugin-main input[type=text] {
|
191 |
-
border-radius: 5px;
|
192 |
-
border: 1px solid #dcd9ea;
|
193 |
-
height:41px;
|
194 |
-
}
|
195 |
-
.sumome-plugin-main .site-ID-container button.button {
|
196 |
-
line-height: 42px;
|
197 |
-
vertical-align: middle;
|
198 |
-
padding: 0px 20px;
|
199 |
-
color: #495259;
|
200 |
-
position: relative;
|
201 |
-
border: 0px;
|
202 |
-
left: 10px;
|
203 |
-
top: -1px;
|
204 |
-
cursor: pointer;
|
205 |
-
border-radius: 4px;
|
206 |
-
height: 42px;
|
207 |
-
background-color: #ccc;
|
208 |
-
font-weight:bold;
|
209 |
-
}
|
210 |
-
.sumome-plugin-popup-container .site-ID button.button {
|
211 |
-
height:40px;
|
212 |
-
line-height:40px;
|
213 |
-
vertical-align:middle;
|
214 |
-
padding:0px 20px;
|
215 |
-
border-radius: 4px;
|
216 |
-
background-color:#d6d3e5;
|
217 |
-
color:#5a596d;
|
218 |
-
position:relative;
|
219 |
-
left:20px;
|
220 |
-
font-weight:bold;
|
221 |
-
}
|
222 |
-
|
223 |
-
.sumome-plugin-main input[type=submit] {
|
224 |
-
border-radius: 50px;
|
225 |
-
height:40px;
|
226 |
-
padding:0px 20px;
|
227 |
-
background: #8067db;
|
228 |
-
color:#fff;
|
229 |
-
margin:0px auto;
|
230 |
-
text-transform: uppercase;
|
231 |
-
border-color: transparent;
|
232 |
-
-webkit-box-shadow: none;
|
233 |
-
box-shadow: none;
|
234 |
-
text-shadow: none;
|
235 |
-
}
|
236 |
-
.sumome-plugin-main .footer {
|
237 |
-
background: #f0f3f5;
|
238 |
-
margin:0px auto;
|
239 |
-
text-align:center;
|
240 |
-
position:relative;
|
241 |
-
bottom:0px;
|
242 |
-
left:0px;
|
243 |
-
padding-top:60px;
|
244 |
-
line-height:25px;
|
245 |
-
margin-top:50px;
|
246 |
-
}
|
247 |
-
.sumome-plugin-main .footer a {
|
248 |
-
color: #8067db;
|
249 |
-
cursor:pointer;
|
250 |
-
text-decoration:underline;
|
251 |
-
}
|
252 |
-
.sumome-plugin-main .footer .appsumo-logo {
|
253 |
-
width:100%;
|
254 |
-
max-width:232px;
|
255 |
-
margin-top:75px;
|
256 |
-
}
|
257 |
-
.sumome-plugin-main .sumome-help {
|
258 |
-
width:50%;
|
259 |
-
margin:0px auto;
|
260 |
-
background: #f0f3f5;
|
261 |
-
}
|
262 |
-
|
263 |
-
.sumome-plugin-main .sumome-help span {
|
264 |
-
display:block;
|
265 |
-
}
|
266 |
-
|
267 |
-
.sumome-plugin-main .sumome-logged-in-container .header-banner {
|
268 |
-
background-image:url('../images/sumo-banner.jpg');
|
269 |
-
background-size:100% auto;
|
270 |
-
background-repeat:no-repeat;
|
271 |
-
min-height:238px;
|
272 |
-
background-position:center;
|
273 |
-
}
|
274 |
-
|
275 |
-
.sumome-plugin-main .sumome-logged-in-container-overlay.dim {
|
276 |
-
opacity:.4;
|
277 |
-
background-color:#000;
|
278 |
-
position:absolute;
|
279 |
-
top:0px;
|
280 |
-
bottom:0px;
|
281 |
-
left:0px;
|
282 |
-
right:0px;
|
283 |
-
margin-left: -20px;
|
284 |
-
}
|
285 |
-
|
286 |
-
.sumome-plugin-main .sumome-logged-in-container .items {
|
287 |
-
width:80%;
|
288 |
-
margin:0px auto;
|
289 |
-
}
|
290 |
-
|
291 |
-
.sumome-plugin-main .sumome-logged-in-container .items div:hover {
|
292 |
-
box-shadow: 0 10px 18px rgba(0,0,0,0.2);
|
293 |
-
opacity: 1;
|
294 |
-
color:#0073b7;
|
295 |
-
}
|
296 |
-
.sumome-plugin-main .sumome-logged-in-container .items div:hover div,
|
297 |
-
.sumome-plugin-main .sumome-logged-in-container .items div div:hover {
|
298 |
-
box-shadow: none;
|
299 |
-
opacity: 1;
|
300 |
-
color:#0073b7;
|
301 |
-
}
|
302 |
-
|
303 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile,
|
304 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile-background
|
305 |
-
{
|
306 |
-
width:22%;
|
307 |
-
display:inline-block;
|
308 |
-
background-color:#fff;
|
309 |
-
color:#65717b;
|
310 |
-
height:200px;
|
311 |
-
margin:25px 1%;
|
312 |
-
cursor:pointer;
|
313 |
-
font-size:20px;
|
314 |
-
text-align:center;
|
315 |
-
border:1px solid #c8cbcd;
|
316 |
-
border-radius:4px;
|
317 |
-
vertical-align:top;
|
318 |
-
font-weight:bold;
|
319 |
-
transition: 0.2s all ease;
|
320 |
-
opacity: .6;
|
321 |
-
}
|
322 |
-
|
323 |
-
/* top 2 tiles */
|
324 |
-
.sumome-plugin-main .sumome-logged-in-container .items>div:nth-child(1),
|
325 |
-
.sumome-plugin-main .sumome-logged-in-container .items>div:nth-child(2) {
|
326 |
-
width:46%;
|
327 |
-
/*float:right;*/
|
328 |
-
font-size:30px;
|
329 |
-
text-align:right;
|
330 |
-
}
|
331 |
-
|
332 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-apps,
|
333 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store {
|
334 |
-
white-space:nowrap;
|
335 |
-
}
|
336 |
-
|
337 |
-
.sumome-plugin-main .sumome-logged-in-container .items div .item-tile-title {
|
338 |
-
position: relative;
|
339 |
-
top: 50%;
|
340 |
-
transform: translateY(-50%);
|
341 |
-
}
|
342 |
-
|
343 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-apps .item-tile-title,
|
344 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store .item-tile-title {
|
345 |
-
padding-right:100px;
|
346 |
-
display:inline-block;
|
347 |
-
}
|
348 |
-
|
349 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-apps .item-tile-background {
|
350 |
-
/*background-image:url(../images/apps-bg.png);
|
351 |
-
background-position: -120px -90px;*/
|
352 |
-
background: linear-gradient(to right, rgba(255,255,255,0),rgba(255,255,255,1)), url(../images/apps-bg.png) -120px -90px no-repeat;
|
353 |
-
}
|
354 |
-
.sumome-plugin-main .sumome-logged-in-container .items div.sumo-store .item-tile-background {
|
355 |
-
/*background-image:url(../images/store-bg.png);
|
356 |
-
background-position: -80px -75px;*/
|
357 |
-
background: linear-gradient(to right, rgba(255,255,255,0),rgba(255,255,255,1)), url(../images/store-bg.png) -80px -75px no-repeat;
|
358 |
-
}
|
359 |
-
.sumome-plugin-main .sumome-logged-in-container .items .item-tile .item-tile-background {
|
360 |
-
background-repeat: no-repeat;
|
361 |
-
display:inline-block;
|
362 |
-
width:50%;
|
363 |
-
margin: 0px;
|
364 |
-
border:0px;
|
365 |
-
float: left;
|
366 |
-
}
|
367 |
-
|
368 |
-
.sumome-plugin-main .sumome-logged-in-container .items div:nth-child(even) {
|
369 |
-
/*float:right;*/
|
370 |
-
}
|
371 |
-
|
372 |
-
|
373 |
-
.sumome-plugin-main .sumome-logged-in-container .items .notification-count,
|
374 |
-
.sumome-plugin-main .sumome-logged-in-container .items .notification-count:hover,
|
375 |
-
.sumome-plugin-main .sumome-logged-in-container .items:hover .notification-count
|
376 |
-
{
|
377 |
-
|
378 |
-
text-align: center;
|
379 |
-
font-family: 'Open Sans', sans-serif;
|
380 |
-
font-weight: 700;
|
381 |
-
font-size: 15px;
|
382 |
-
color: #fff;
|
383 |
-
-webkit-border-radius: 4em;
|
384 |
-
-moz-border-radius: 4em;
|
385 |
-
border-radius: 50%;
|
386 |
-
background: #f03e18;
|
387 |
-
border: none;
|
388 |
-
text-indent: 0;
|
389 |
-
cursor: pointer;
|
390 |
-
white-space: nowrap;
|
391 |
-
height: 30px;
|
392 |
-
width: 30px;
|
393 |
-
line-height: 30px;
|
394 |
-
margin-left: 10px;
|
395 |
-
margin-bottom: 5px;
|
396 |
-
display: inline-block;
|
397 |
-
vertical-align: middle;
|
398 |
-
float:unset;
|
399 |
-
}
|
400 |
-
|
401 |
-
|
402 |
-
.sumome-plugin-main .form-container {
|
403 |
-
min-height:450px;
|
404 |
-
/*height:450px;*/
|
405 |
-
}
|
406 |
-
|
407 |
-
.sumome-plugin-main .loading {
|
408 |
-
text-align:center;
|
409 |
-
padding-top: 0px;
|
410 |
-
height: calc( 100vh - 32px);
|
411 |
-
line-height: calc( 100vh - 32px);
|
412 |
-
vertical-align: middle;
|
413 |
-
background-color: #fff;
|
414 |
-
}
|
415 |
-
|
416 |
-
.sumome-plugin-main .back-logged-in {
|
417 |
-
cursor:pointer;
|
418 |
-
display:none;
|
419 |
-
}
|
420 |
-
|
421 |
-
.sumome-plugin-main .tabbed-content-container {
|
422 |
-
text-align:center;
|
423 |
-
width:80%;
|
424 |
-
margin:0px auto;
|
425 |
-
}
|
426 |
-
|
427 |
-
.sumome-plugin-main .pointer {
|
428 |
-
cursor:pointer;
|
429 |
-
}
|
430 |
-
|
431 |
-
.sumome-plugin-container .status-logged-in,
|
432 |
-
.sumome-plugin-main.logged-in.status-logged-in {
|
433 |
-
display:block;
|
434 |
-
}
|
435 |
-
.sumome-plugin-container .sumome-wp-dash-logged-out.status-logged-in,
|
436 |
-
.sumome-plugin-main.logged-in.status-logged-out {
|
437 |
-
display:none;
|
438 |
-
}
|
439 |
-
|
440 |
-
.sumome-plugin-main.logged-out.status-logged-out {
|
441 |
-
display:block;
|
442 |
-
}
|
443 |
-
|
444 |
-
.sumome-plugin-main.logged-out.status-logged-in {
|
445 |
-
display:none;
|
446 |
-
}
|
447 |
-
|
448 |
-
.sumome-plugin-dashboard-widget-row.status-logged-in {
|
449 |
-
display:none;
|
450 |
-
}
|
451 |
-
.sumome-plugin-main.status-logged-out .site-ID table {
|
452 |
-
margin: 0px auto;
|
453 |
-
width: 100%;
|
454 |
-
}
|
455 |
-
.sumome-plugin-main.status-logged-out .sumome-site-id {
|
456 |
-
width: 100%;
|
457 |
-
height: 80px;
|
458 |
-
}
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
/*site id popup*/
|
464 |
-
.sumome-plugin-main .site-ID {
|
465 |
-
width: 80%;
|
466 |
-
margin: 0px auto;
|
467 |
-
text-align:center;
|
468 |
-
}
|
469 |
-
.sumome-plugin-main .site-id-form .site-ID {
|
470 |
-
width: 100%;
|
471 |
-
}
|
472 |
-
|
473 |
-
.sumome-plugin-main .site-ID .list-number-title {
|
474 |
-
font-size: 24px;
|
475 |
-
font-weight: 600;
|
476 |
-
color: #495259;
|
477 |
-
padding-bottom: 10px;
|
478 |
-
}
|
479 |
-
.sumome-plugin-main .site-ID table {
|
480 |
-
margin: 0px auto;
|
481 |
-
}
|
482 |
-
.sumome-plugin-main .sumome-site-id {
|
483 |
-
width: 650px;
|
484 |
-
height: 42px;
|
485 |
-
padding: 10px 10px;
|
486 |
-
vertical-align: bottom;
|
487 |
-
background-color: #fff;
|
488 |
-
box-shadow: none;
|
489 |
-
font-size: 16px;
|
490 |
-
border: 1px solid #d1d4d5;
|
491 |
-
border-radius: 4px;
|
492 |
-
}
|
493 |
-
.sumome-plugin-main .site-ID .button-primary {
|
494 |
-
padding-top: 14px;
|
495 |
-
padding-right: 28px;
|
496 |
-
padding-bottom: 15px;
|
497 |
-
padding-left: 28px;
|
498 |
-
font-size: 13px;
|
499 |
-
height: auto !important;
|
500 |
-
width: auto;
|
501 |
-
}
|
502 |
-
|
503 |
-
/*end site id popup*/
|
504 |
-
|
505 |
-
/*start popup*/
|
506 |
-
.sumome-plugin-popup-container {
|
507 |
-
display:none;
|
508 |
-
width:100vw;
|
509 |
-
height:70vh;
|
510 |
-
/*position:absolute;*/
|
511 |
-
top:5%;
|
512 |
-
left:0px;
|
513 |
-
min-width:200px;
|
514 |
-
position:fixed;
|
515 |
-
}
|
516 |
-
.sumome-plugin-popup-container .sumome-plugin-popup-container-outer {
|
517 |
-
width:60%;
|
518 |
-
/*height:70vh;
|
519 |
-
max-height:70vh;*/
|
520 |
-
margin:0px auto;
|
521 |
-
overflow:hidden;
|
522 |
-
overflow-x:hidden;
|
523 |
-
border-bottom: 1px solid #000;
|
524 |
-
}
|
525 |
-
|
526 |
-
.sumome-plugin-popup-container .sumome-plugin-popup-container-inner.default-height {
|
527 |
-
height:70vh !important;
|
528 |
-
}
|
529 |
-
.sumome-plugin-popup-container .sumome-plugin-popup-container-inner {
|
530 |
-
width:100%;
|
531 |
-
max-height:70vh;
|
532 |
-
margin:0px auto;
|
533 |
-
overflow:auto;
|
534 |
-
overflow-x:hidden;
|
535 |
-
background-color:white;
|
536 |
-
border:1px solid black;
|
537 |
-
padding-bottom: 0px;
|
538 |
-
}
|
539 |
-
|
540 |
-
.sumome-plugin-popup-container .sumome-plugin-popup-container-inner.disable-scroll {
|
541 |
-
overflow:hidden;
|
542 |
-
}
|
543 |
-
.sumome-plugin-popup-container .popup-iframe {
|
544 |
-
width:100%;
|
545 |
-
height:100%;
|
546 |
-
border-bottom: 1px solid black;
|
547 |
-
}
|
548 |
-
|
549 |
-
.sumome-plugin-popup-contents {
|
550 |
-
height: 100%;
|
551 |
-
}
|
552 |
-
|
553 |
-
.sumome-plugin-main .popup-header-container {
|
554 |
-
cursor: pointer;
|
555 |
-
width: 60%;
|
556 |
-
margin: 0px auto;
|
557 |
-
text-align:right;
|
558 |
-
|
559 |
-
border-top-left-radius:: 5px;
|
560 |
-
background-color: #0073b7;
|
561 |
-
color: #f0f3f5;
|
562 |
-
font-size: 16px;
|
563 |
-
font-family: "Open Sans",sans-serif;
|
564 |
-
font-weight: bold;
|
565 |
-
line-height: 20px;
|
566 |
-
text-shadow: none;
|
567 |
-
position: relative;
|
568 |
-
z-index: 1;
|
569 |
-
height: 60px;
|
570 |
-
}
|
571 |
-
|
572 |
-
.sumome-plugin-popup-container .sumome-modal-header {
|
573 |
-
margin: 0px auto;
|
574 |
-
display: block;
|
575 |
-
background-color: #0073b7;
|
576 |
-
color: #f0f3f5;
|
577 |
-
font-size: 16px;
|
578 |
-
font-family: "Open Sans",sans-serif;
|
579 |
-
font-weight: bold;
|
580 |
-
line-height: 20px;
|
581 |
-
text-shadow: none;
|
582 |
-
position: relative;
|
583 |
-
z-index: 1;
|
584 |
-
height: 60px;
|
585 |
-
cursor: auto !important;
|
586 |
-
margin: 0px;
|
587 |
-
padding: 0px;
|
588 |
-
border-top-left-radius:5px;
|
589 |
-
border-top-right-radius:5px;
|
590 |
-
}
|
591 |
-
.sumome-plugin-popup-container .sumome-modal-header .popup-title {
|
592 |
-
width: auto;
|
593 |
-
display: inline-block;
|
594 |
-
vertical-align: middle;
|
595 |
-
line-height: 60px;
|
596 |
-
padding-left: 45px;
|
597 |
-
background-image:url('../images/sumome_crown.png');
|
598 |
-
background-repeat:no-repeat;
|
599 |
-
background-position: left center;
|
600 |
-
margin-left: 20px;
|
601 |
-
}
|
602 |
-
|
603 |
-
|
604 |
-
.sumome-plugin-main .popup-close,
|
605 |
-
.sumome-plugin-dashboard-widget-close-button {
|
606 |
-
background: url('../images/modal-close.png') no-repeat;
|
607 |
-
float: right;
|
608 |
-
width: 15px;
|
609 |
-
height: 16px;
|
610 |
-
margin-top: 20px;
|
611 |
-
margin-right: 15px;
|
612 |
-
cursor:pointer;
|
613 |
-
}
|
614 |
-
/*end popup*/
|
615 |
-
|
616 |
-
.sumome-plugin-dashboard-widget-close-button {
|
617 |
-
width: 40px;
|
618 |
-
height: 40px;
|
619 |
-
margin-top: 20px;
|
620 |
-
margin-right: 15px;
|
621 |
-
background-color: #7584c5;
|
622 |
-
color: #fff;
|
623 |
-
border:2px solid #a5cff5;
|
624 |
-
border-radius: 99999px !important;
|
625 |
-
background-position: center;
|
626 |
-
}
|
627 |
-
|
628 |
-
|
629 |
-
/*dashboard*/
|
630 |
-
.sumome-plugin-dashboard-widget {
|
631 |
-
position: fixed;
|
632 |
-
top: 32px;
|
633 |
-
left: 160px;
|
634 |
-
bottom: 0;
|
635 |
-
z-index: 999;
|
636 |
-
width: calc( 100% - 160px);
|
637 |
-
overflow: auto;
|
638 |
-
box-sizing: border-box;
|
639 |
-
background-color: #f1f1f1;
|
640 |
-
}
|
641 |
-
.sumome-plugin-dashboard-widget-inner {
|
642 |
-
margin: 20px;
|
643 |
-
/*padding: 80px 16px;*/
|
644 |
-
min-height: calc( 100vh - 72px);
|
645 |
-
position: relative;
|
646 |
-
background: #fff;
|
647 |
-
border: 1px solid #ddd;
|
648 |
-
color:#65717b;
|
649 |
-
overflow-x: hidden;
|
650 |
-
}
|
651 |
-
.sumome-plugin-dashboard-widget.minimized {
|
652 |
-
cursor: unset;
|
653 |
-
height:300px;
|
654 |
-
width:auto;
|
655 |
-
position: static;
|
656 |
-
}
|
657 |
-
.sumome-plugin-dashboard-widget-learn-more {
|
658 |
-
color:#fff;
|
659 |
-
text-decoration:underline;
|
660 |
-
font-size:.8em;
|
661 |
-
font-weight:normal;
|
662 |
-
padding-top:10px;
|
663 |
-
padding-bottom:0px;
|
664 |
-
cursor:pointer;
|
665 |
-
display:none;
|
666 |
-
}
|
667 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-learn-more {
|
668 |
-
display:block;
|
669 |
-
}
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
.sumome-plugin-dashboard-widget div.forms {
|
674 |
-
text-align:center;
|
675 |
-
}
|
676 |
-
.sumome-plugin-dashboard-widget div.sumome-plugin-dashboard-widget-close-button {
|
677 |
-
margin-top: 10px;
|
678 |
-
margin-right: 10px;
|
679 |
-
right: 0px;
|
680 |
-
top: 0px;
|
681 |
-
}
|
682 |
-
.sumome-plugin-dashboard-widget.minimized div.sumome-plugin-dashboard-widget-close-button {
|
683 |
-
display:none;
|
684 |
-
}
|
685 |
-
|
686 |
-
|
687 |
-
.sumome-plugin-dashboard-widget-inner ul {
|
688 |
-
list-style-image: url('../images/checkmark.png');
|
689 |
-
text-align:left;
|
690 |
-
margin:0px auto;
|
691 |
-
font-size:16px;
|
692 |
-
line-height:25px;
|
693 |
-
}
|
694 |
-
.sumome-plugin-dashboard-widget-inner .sumome-plugin-dashboard-widget-top-note ul {
|
695 |
-
width:70%;
|
696 |
-
}
|
697 |
-
.sumome-plugin-dashboard-widget-inner .sumome-plugin-dashboard-widget-row ul {
|
698 |
-
margin-left:25px;
|
699 |
-
}
|
700 |
-
|
701 |
-
|
702 |
-
.sumome-plugin-dashboard-widget-inner.dim {
|
703 |
-
opacity:.2;
|
704 |
-
pointer-events: none;
|
705 |
-
}
|
706 |
-
|
707 |
-
.sumome-plugin-dashboard-widget-header {
|
708 |
-
background-image:url(../images/sumome-site-welcome-header.jpg);
|
709 |
-
background-size:100% auto;
|
710 |
-
background-repeat:no-repeat;
|
711 |
-
color:#fff;
|
712 |
-
min-height: 238px;
|
713 |
-
background-position: center;
|
714 |
-
background-repeat: no-repeat;
|
715 |
-
-webkit-background-size: cover; /* For WebKit*/
|
716 |
-
-moz-background-size: cover; /* Mozilla*/
|
717 |
-
-o-background-size: cover; /* Opera*/
|
718 |
-
background-size: cover; /* Generic*/
|
719 |
-
padding-bottom: 20px;
|
720 |
-
}
|
721 |
-
.sumome-plugin-dashboard-widget-header-title{
|
722 |
-
font-size:50px;
|
723 |
-
font-weight:bold;
|
724 |
-
margin:0px auto;
|
725 |
-
width:50%;
|
726 |
-
padding-top:50px;
|
727 |
-
padding-bottom:30px;
|
728 |
-
text-align:center;
|
729 |
-
line-height:50px;
|
730 |
-
}
|
731 |
-
.sumome-plugin-dashboard-widget-header-desc {
|
732 |
-
margin:0px auto;
|
733 |
-
text-align:center;
|
734 |
-
line-height:30px;
|
735 |
-
}
|
736 |
-
.sumome-plugin-dashboard-widget-separator {
|
737 |
-
min-height:180px;
|
738 |
-
}
|
739 |
-
.sumome-plugin-dashboard-widget-separator2 {
|
740 |
-
min-height:180px;
|
741 |
-
background-color:#f0f3f5;
|
742 |
-
}
|
743 |
-
.sumome-plugin-dashboard-widget-top-note-container{
|
744 |
-
position:absolute;
|
745 |
-
width:100% !important;
|
746 |
-
}
|
747 |
-
.sumome-plugin-dashboard-widget-top-note{
|
748 |
-
|
749 |
-
max-width:650px !important;
|
750 |
-
border: 1px solid #c8cbcd;
|
751 |
-
border-radius:4px;
|
752 |
-
background-color:#fff;
|
753 |
-
padding-bottom: 50px;
|
754 |
-
margin-top:25px;
|
755 |
-
background-image:url(../images/sumome-site-welcome-graph.png);
|
756 |
-
background-repeat:no-repeat;
|
757 |
-
background-position:center;
|
758 |
-
margin: 25px auto;
|
759 |
-
}
|
760 |
-
.sumome-plugin-dashboard-widget-top-note-title {
|
761 |
-
font-size:35px;
|
762 |
-
font-weight:bold;
|
763 |
-
margin:0px auto;
|
764 |
-
padding-top:50px;
|
765 |
-
padding-bottom:30px;
|
766 |
-
text-align:center;
|
767 |
-
line-height:40px;
|
768 |
-
color:#495259;
|
769 |
-
}
|
770 |
-
.sumome-plugin-dashboard-widget-top-note-desc {
|
771 |
-
width:80%;
|
772 |
-
margin:0px auto;
|
773 |
-
text-align:center;
|
774 |
-
font-size:18px;
|
775 |
-
line-height:28px;
|
776 |
-
}
|
777 |
-
.sumome-plugin-dashboard-widget-row {
|
778 |
-
max-width:1100px;
|
779 |
-
white-space:nowrap;
|
780 |
-
margin:0px auto;
|
781 |
-
margin-top:50px;
|
782 |
-
margin-bottom:30px;
|
783 |
-
}
|
784 |
-
.sumome-plugin-left,.sumome-plugin-right {
|
785 |
-
display:inline-block;
|
786 |
-
min-width:50%;
|
787 |
-
text-align: center;
|
788 |
-
vertical-align: middle;
|
789 |
-
float:none !important;
|
790 |
-
}
|
791 |
-
|
792 |
-
.sumome-plugin-center {
|
793 |
-
text-align: center;
|
794 |
-
}
|
795 |
-
.sumome-plugin-center.social-media a {
|
796 |
-
padding:7px;
|
797 |
-
}
|
798 |
-
|
799 |
-
.sumome-plugin-left div {
|
800 |
-
padding-left:80px;
|
801 |
-
}
|
802 |
-
|
803 |
-
.sumome-plugin-left img,.sumome-plugin-right img {
|
804 |
-
width:420px;
|
805 |
-
float:left;
|
806 |
-
margin-left:50px;
|
807 |
-
}
|
808 |
-
|
809 |
-
|
810 |
-
.sumome-plugin-dashboard-widget-row-title {
|
811 |
-
color:#495259;
|
812 |
-
text-align:left;
|
813 |
-
font-size:20px;
|
814 |
-
margin:0px auto;
|
815 |
-
width:80%;
|
816 |
-
margin-bottom:20px;
|
817 |
-
font-weight: bold;
|
818 |
-
}
|
819 |
-
.sumome-plugin-dashboard-widget-row-desc {
|
820 |
-
text-align:left;
|
821 |
-
font-size:15px;
|
822 |
-
width:80%;
|
823 |
-
white-space:normal;
|
824 |
-
margin:0px auto;
|
825 |
-
line-height:22px;
|
826 |
-
}
|
827 |
-
|
828 |
-
|
829 |
-
.sumome-plugin-dashboard-widget-middle-note-title {
|
830 |
-
font-size:25px;
|
831 |
-
margin:0px auto;
|
832 |
-
padding-top:35px;
|
833 |
-
padding-bottom:15px;
|
834 |
-
text-align:center;
|
835 |
-
line-height:40px;
|
836 |
-
color:#0f74b5;
|
837 |
-
}
|
838 |
-
.sumome-plugin-dashboard-widget-middle-note-desc {
|
839 |
-
width:530px;
|
840 |
-
margin:0px auto;
|
841 |
-
text-align:center;
|
842 |
-
font-size:15px;
|
843 |
-
line-height:22px;
|
844 |
-
}
|
845 |
-
.sumome-plugin-dashboard-widget-middle-note-clients {
|
846 |
-
margin:0px auto;
|
847 |
-
text-align:center;
|
848 |
-
padding-top:20px;
|
849 |
-
padding-bottom:45px;
|
850 |
-
width: 900px;
|
851 |
-
line-height: 80px;
|
852 |
-
}
|
853 |
-
.sumome-plugin-dashboard-widget-middle-note-clients img {
|
854 |
-
padding:0px 30px;
|
855 |
-
line-height:260px;
|
856 |
-
vertical-align:middle;
|
857 |
-
}
|
858 |
-
.sumome-plugin-dashboard-widget-header-button {
|
859 |
-
text-align:center;
|
860 |
-
padding-top: 30px;
|
861 |
-
padding-bottom: 20px;
|
862 |
-
}
|
863 |
-
|
864 |
-
.sumome-plugin-dashboard-widget-footer-button {
|
865 |
-
text-align:center;
|
866 |
-
padding-top: 50px;
|
867 |
-
padding-bottom: 50px;
|
868 |
-
}
|
869 |
-
|
870 |
-
|
871 |
-
.sumome-plugin-dashboard-widget-inner button.green.connect-button,
|
872 |
-
.sumome-plugin-dashboard-widget-inner button.green.dashboard-button
|
873 |
-
{
|
874 |
-
background-color: #5bc639;
|
875 |
-
width: auto;
|
876 |
-
height: auto;
|
877 |
-
color: #fff;
|
878 |
-
margin: 0px auto;
|
879 |
-
font-size: 1.4em;
|
880 |
-
border: 0px;
|
881 |
-
border-radius: 4px;
|
882 |
-
font-family: "Open Sans Semibold", helvetica, arial;
|
883 |
-
font-size: 20px;
|
884 |
-
padding: 20px 50px;
|
885 |
-
font-weight: 600;
|
886 |
-
border:0px;
|
887 |
-
box-shadow: none !important;
|
888 |
-
}
|
889 |
-
|
890 |
-
/*minimized*/
|
891 |
-
.sumome-plugin-dashboard-widget.minimized {
|
892 |
-
height: auto;
|
893 |
-
}
|
894 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-inner {
|
895 |
-
margin: 0px;
|
896 |
-
min-height:auto;
|
897 |
-
}
|
898 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-header-button {
|
899 |
-
padding-top: 0px;
|
900 |
-
padding-bottom: 0px;
|
901 |
-
}
|
902 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-header-title {
|
903 |
-
padding-top: 20px;
|
904 |
-
padding-bottom: 10px;
|
905 |
-
line-height: 40px;
|
906 |
-
font-size: 28px;
|
907 |
-
}
|
908 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-header-desc {
|
909 |
-
font-size: 13px;
|
910 |
-
}
|
911 |
-
|
912 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-header-title,
|
913 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-header-desc {
|
914 |
-
width: 100% !important;
|
915 |
-
}
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
.sumome-plugin-dashboard-widget .sumome-wp-dash-logged-in.status-logged-in,
|
920 |
-
.sumome-plugin-main .sumome-wp-dash-logged-in.status-logged-in
|
921 |
-
{
|
922 |
-
display:block;
|
923 |
-
}
|
924 |
-
.sumome-plugin-dashboard-widget .sumome-wp-dash-logged-in.status-logged-out,
|
925 |
-
.sumome-plugin-main .sumome-wp-dash-logged-in.status-logged-out
|
926 |
-
{
|
927 |
-
display:none;
|
928 |
-
}
|
929 |
-
.sumome-plugin-dashboard-widget .sumome-wp-dash-logged-out.status-logged-out,
|
930 |
-
.sumome-plugin-main .sumome-wp-dash-logged-out.status-logged-out
|
931 |
-
{
|
932 |
-
display:block;
|
933 |
-
padding:0 10px;
|
934 |
-
}
|
935 |
-
.sumome-plugin-dashboard-widget .sumome-wp-dash-logged-out.status-logged-in,
|
936 |
-
.sumome-plugin-main .sumome-wp-dash-logged-out.status-logged-in
|
937 |
-
{
|
938 |
-
display:none;
|
939 |
-
}
|
940 |
-
|
941 |
-
|
942 |
-
.sumome-plugin-dashboard-widget.minimized button.green {
|
943 |
-
width: auto;
|
944 |
-
height: auto;
|
945 |
-
line-height: 4em;
|
946 |
-
margin-top: 10px;
|
947 |
-
padding: 0 3em;
|
948 |
-
font-size:1em;
|
949 |
-
}
|
950 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-top-note {
|
951 |
-
width: 90% !important;
|
952 |
-
}
|
953 |
-
.sumome-plugin-dashboard-widget.minimized .sumome-plugin-dashboard-widget-container {
|
954 |
-
display:none;
|
955 |
-
}
|
956 |
-
|
957 |
-
/*end dashboard*/
|
958 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sumome.php
CHANGED
@@ -1,25 +1,154 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: SumoMe
|
4 |
-
Plugin URI:
|
5 |
-
Description: Free Tools to
|
6 |
-
Version: 1.
|
7 |
Author: SumoMe
|
8 |
-
Author URI:
|
9 |
*/
|
10 |
|
11 |
-
|
12 |
-
|
13 |
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
function sumome_plugin_settings_link($links)
|
21 |
{
|
22 |
-
$settings_link = '<a href="options-general.php?page=
|
23 |
array_unshift($links, $settings_link);
|
24 |
return $links;
|
25 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: SumoMe
|
4 |
+
Plugin URI: http://sumome.com
|
5 |
+
Description: Free Tools to grow your email list from SumoMe.com
|
6 |
+
Version: 1.14
|
7 |
Author: SumoMe
|
8 |
+
Author URI: http://www.SumoMe.com
|
9 |
*/
|
10 |
|
11 |
+
if (!class_exists('WP_Plugin_SumoMe'))
|
12 |
+
{
|
13 |
|
14 |
+
class WP_Plugin_SumoMe {
|
15 |
+
public function __construct()
|
16 |
+
{
|
17 |
+
add_action('wp_head', array(&$this, 'append_script_code'));
|
18 |
+
add_action('admin_head', array(&$this, 'append_admin_script_code'));
|
19 |
+
add_action('admin_menu', array(&$this, 'admin_menu'));
|
20 |
+
add_action('admin_init', array(&$this, 'admin_init'));
|
21 |
+
}
|
22 |
+
|
23 |
+
public static function activate()
|
24 |
+
{
|
25 |
+
}
|
26 |
+
|
27 |
+
public static function deactivate()
|
28 |
+
{
|
29 |
+
}
|
30 |
+
|
31 |
+
public function admin_init()
|
32 |
+
{
|
33 |
+
register_setting('sumome', 'sumome_site_id', array($this, 'sanitize_site_id'));
|
34 |
+
|
35 |
+
$this->check_generate_site_id();
|
36 |
+
|
37 |
+
add_settings_section(
|
38 |
+
'sumome-settings',
|
39 |
+
'Settings',
|
40 |
+
null,
|
41 |
+
'sumome'
|
42 |
+
);
|
43 |
+
|
44 |
+
add_settings_field(
|
45 |
+
'sumome-site_id',
|
46 |
+
'',
|
47 |
+
array(&$this, 'settings_field_site_id'),
|
48 |
+
'sumome',
|
49 |
+
'sumome-settings',
|
50 |
+
array('field' => 'sumome_site_id', 'label_for' => 'sumome_site_id')
|
51 |
+
);
|
52 |
+
}
|
53 |
+
|
54 |
+
public function sanitize_site_id($value)
|
55 |
+
{
|
56 |
+
$value = preg_replace('/[^0-9a-f]/', '', strtolower($value));
|
57 |
+
|
58 |
+
return $value;
|
59 |
+
}
|
60 |
+
|
61 |
+
public function settings_field_site_id($args)
|
62 |
+
{
|
63 |
+
$field = $args['field'];
|
64 |
+
$value = get_option($field);
|
65 |
+
|
66 |
+
if (!$value) {
|
67 |
+
|
68 |
+
}
|
69 |
+
|
70 |
+
echo <<<EOF
|
71 |
+
<script type="text/javascript">
|
72 |
+
function sumome_generate_site_id() {
|
73 |
+
function _sumome_r() {
|
74 |
+
return (Math.random().toString(16)+"000000000").substr(2,8);
|
75 |
+
}
|
76 |
+
|
77 |
+
var new_sumome_site_id = _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r() + _sumome_r();
|
78 |
+
|
79 |
+
document.getElementById('sumome_site_id').value = new_sumome_site_id;
|
80 |
+
}
|
81 |
+
</script>
|
82 |
+
EOF;
|
83 |
+
echo sprintf('<input type="text" name="%s" id="%s" value="%s" style="width: 540px" /> <button onclick="sumome_generate_site_id(); return false;" class="button">GET NEW SITE ID</button>', $field, $field, esc_attr($value));
|
84 |
+
}
|
85 |
|
86 |
+
public function admin_menu()
|
87 |
+
{
|
88 |
+
add_options_page('SumoMe', 'SumoMe', 'manage_options', 'sumome', array(&$this, 'plugin_settings_page'));
|
89 |
+
add_menu_page('SumoMe', 'SumoMe', 'manage_options', 'options-general.php?page=sumome', '', plugins_url('sumome/images/icon.png'));
|
90 |
+
}
|
91 |
+
|
92 |
+
public function plugin_settings_page()
|
93 |
+
{
|
94 |
+
if (!current_user_can('manage_options'))
|
95 |
+
{
|
96 |
+
wp_die(__('You do not have sufficient permissions to access this page.'));
|
97 |
+
}
|
98 |
+
|
99 |
+
include(sprintf('%s/templates/settings.php', dirname(__FILE__)));
|
100 |
+
}
|
101 |
+
|
102 |
+
public function check_generate_site_id()
|
103 |
+
{
|
104 |
+
$site_id = get_option('sumome_site_id');
|
105 |
+
|
106 |
+
if (!$site_id) {
|
107 |
+
$site_id = '';
|
108 |
+
for ($i = 0; $i < 8; $i++) {
|
109 |
+
$site_id .= substr(md5(uniqid()), 0, 8);
|
110 |
+
}
|
111 |
+
|
112 |
+
update_option('sumome_site_id', $site_id);
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
public function append_script_code()
|
117 |
+
{
|
118 |
+
$this->check_generate_site_id();
|
119 |
+
|
120 |
+
$site_id = get_option('sumome_site_id');
|
121 |
+
|
122 |
+
if ($site_id) {
|
123 |
+
echo('<script data-cfasync="false" src="//load.sumome.com/" data-sumo-site-id="' . esc_attr($site_id) . '" async></script>');
|
124 |
+
}
|
125 |
+
}
|
126 |
+
|
127 |
+
public function append_admin_script_code()
|
128 |
+
{
|
129 |
+
if (defined('XMLRPC_REQUEST') || defined('DOING_AJAX') || defined('IFRAME_REQUEST'))
|
130 |
+
return false;
|
131 |
+
|
132 |
+
$this->check_generate_site_id();
|
133 |
+
|
134 |
+
$site_id = get_option('sumome_site_id');
|
135 |
+
|
136 |
+
if ($site_id) {
|
137 |
+
echo('<script data-cfasync="false" src="//load.sumome.com/" data-sumo-mode="admin" data-sumo-site-id="' . esc_attr($site_id) . '" async></script>');
|
138 |
+
}
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
} // end class_exists
|
143 |
+
|
144 |
+
register_activation_hook(__FILE__, array('WP_Plugin_SumoMe', 'activate'));
|
145 |
+
register_deactivation_hook(__FILE__, array('WP_Plugin_SumoMe', 'deactivate'));
|
146 |
+
|
147 |
+
$wp_plugin_sumome = new WP_Plugin_SumoMe();
|
148 |
|
149 |
function sumome_plugin_settings_link($links)
|
150 |
{
|
151 |
+
$settings_link = '<a href="options-general.php?page=sumome">Settings</a>';
|
152 |
array_unshift($links, $settings_link);
|
153 |
return $links;
|
154 |
}
|
templates/settings.php
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<link rel="stylesheet" type="text/css" href="<?php echo plugins_url('styles/instructions.css', dirname(__FILE__)) ?>">
|
2 |
+
<div id="sumome_instructions">
|
3 |
+
<!-- Header -->
|
4 |
+
<div class="large-12 columns header-banner">
|
5 |
+
<img src="<?php echo plugins_url('images/sumome-banner.jpg', dirname(__FILE__)) ?>">
|
6 |
+
</div>
|
7 |
+
|
8 |
+
<!-- Register -->
|
9 |
+
<div class="row step1">
|
10 |
+
<div class="large-6 columns">
|
11 |
+
<div class="row">
|
12 |
+
<div class="large-12 columns">
|
13 |
+
<div class="text">
|
14 |
+
<div class="list-bullet">
|
15 |
+
<div class="list-number">1</div>
|
16 |
+
<h4 class="list-number-title">Register Your Account</h4>
|
17 |
+
</div>
|
18 |
+
<p>Click on the SumoMe badge in the top right of your screen. Sign up to register your account and get rolling.</p>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
<div class="large-6 columns">
|
24 |
+
<img src="<?php echo plugins_url('images/step2-browser.gif', dirname(__FILE__)) ?>">
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
|
28 |
+
<!-- Install Tools -->
|
29 |
+
<div class="row step2">
|
30 |
+
<div class="large-6 columns no-mobile">
|
31 |
+
<img src="<?php echo plugins_url('images/step3-browser.gif', dirname(__FILE__)) ?>">
|
32 |
+
</div>
|
33 |
+
<div class="large-6 columns">
|
34 |
+
<div class="row">
|
35 |
+
<div class="large-12 columns">
|
36 |
+
<div class="text">
|
37 |
+
<div class="list-bullet">
|
38 |
+
<div class="list-number">2</div>
|
39 |
+
<h4 class="list-number-title">Install Tools!</h4>
|
40 |
+
</div>
|
41 |
+
<p>Click on the Sumo Store icon to browse and install the different tools. Each take seconds and only one-click to install.</p>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<div class="large-6 columns mobile">
|
47 |
+
<img src="<?php echo plugins_url('images/step3-browser.gif', dirname(__FILE__)) ?>">
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
|
51 |
+
|
52 |
+
<!-- Review -->
|
53 |
+
<div class="row row3">
|
54 |
+
<div class="large-12 columns">
|
55 |
+
<div class="list-bullet">
|
56 |
+
<div class="list-number">3</div>
|
57 |
+
<h4 class="list-number-title">Leave a Review!</h4>
|
58 |
+
</div>
|
59 |
+
<div class="sumome-instructions">We will love you forever if you leave an <a href="https://wordpress.org/support/view/plugin-reviews/sumome" target="_blank">honest review here</a> of the SumoMe plugin.</div>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
|
63 |
+
|
64 |
+
<!-- Site ID -->
|
65 |
+
<div class="row row3">
|
66 |
+
<div class="large-12 columns">
|
67 |
+
<div class="list-bullet">
|
68 |
+
<h4 class="list-number-title">Your Site Id</h4>
|
69 |
+
</div>
|
70 |
+
|
71 |
+
<form method="post" action="options.php">
|
72 |
+
<?php settings_fields('sumome'); ?>
|
73 |
+
|
74 |
+
<table>
|
75 |
+
<?php do_settings_fields('sumome', 'sumome-settings') ?>
|
76 |
+
</table>
|
77 |
+
<div class="sumome-instructions">
|
78 |
+
NOTE: If you already have a site ID from a previous installation and you wish to retain all your settings then enter the site ID above otherwise you may use a new site ID to perform a new installation. Changing the site ID will lose all settings, apps, and purchases.
|
79 |
+
</div>
|
80 |
+
<?php submit_button(); ?>
|
81 |
+
</form>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
|
85 |
+
|
86 |
+
<!-- Help -->
|
87 |
+
<div class="row">
|
88 |
+
<div class="large-12 columns footer">
|
89 |
+
<h4 class="list-number-title">Need Help?</h4>
|
90 |
+
<div class="sumome-help">
|
91 |
+
<span>Take a look at our <a href="https://help.sumome.com/" target="_blank">help page</a> to see our frequently answered</span>
|
92 |
+
<span>questions or <a href="https://help.sumome.com/customer/portal/emails/new" target="_blank">send us a message</a> and we will get back to you asap.</span>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
|
97 |
+
</div>
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
+
|
104 |
+
|
105 |
+
|
106 |
+
|
views/footer.php
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
<!--footer-->
|
2 |
-
<div class="row">
|
3 |
-
<div class="large-12 columns footer">
|
4 |
-
<div class="sumome-plugin-center social-media">
|
5 |
-
<h4 class="list-number-title">Show Us Love and Give Us a Follow</h4>
|
6 |
-
<div>
|
7 |
-
<a href="https://twitter.com/SumoMe" target="_blank"><img class="appsumo-twitter" src="<?php print plugins_url('images/twitter.png', dirname(__FILE__))?>"></a>
|
8 |
-
<a href="https://www.facebook.com/sumo/" target="_blank"><img class="appsumo-facebook" src="<?php print plugins_url('images/facebook.png', dirname(__FILE__))?>"></a>
|
9 |
-
<a href="https://www.instagram.com/sumome/" target="_blank"><img class="appsumo-instagram" src="<?php print plugins_url('images/instagram.png', dirname(__FILE__))?>"></a>
|
10 |
-
</div>
|
11 |
-
</div>
|
12 |
-
|
13 |
-
|
14 |
-
<div class="sumome-plugin-center">Need to restore an existing account?
|
15 |
-
<div class="sumome-plugin-linkalike sumome-link-button sumome-tile-advanced-settings item-tile sumome-popup-no-dim" data-name="sumome-control-advanced-settings" data-title="">Click here</div>
|
16 |
-
</div>
|
17 |
-
|
18 |
-
</div>
|
19 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/landing.php
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if(isset($_COOKIE['__smUser'])) {
|
3 |
-
$sumomeStatus="status-logged-in";
|
4 |
-
} else{
|
5 |
-
$sumomeStatus="status-logged-out";
|
6 |
-
}
|
7 |
-
?>
|
8 |
-
|
9 |
-
<div class="sumome-plugin-container">
|
10 |
-
<!-- Logged in -->
|
11 |
-
<div class="sumome-plugin-main logged-in <?php print $sumomeStatus?>">
|
12 |
-
<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>
|
13 |
-
</div>
|
14 |
-
|
15 |
-
<!-- Logged out -->
|
16 |
-
<div class="sumome-plugin-main logged-out <?php print $sumomeStatus?>">
|
17 |
-
<?php
|
18 |
-
$noClose=true;
|
19 |
-
include "wordpress-dashboard-welcome-page.php";
|
20 |
-
?>
|
21 |
-
</div>
|
22 |
-
|
23 |
-
<?php
|
24 |
-
include_once "popup.php";
|
25 |
-
?>
|
26 |
-
|
27 |
-
|
28 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/main.php
DELETED
@@ -1,96 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$itemArray['My Apps']['data-name']="sumome-control-apps";
|
3 |
-
$itemArray['My Apps']['class']="sumo-apps";
|
4 |
-
$itemArray['My Apps']['columns']=2;
|
5 |
-
$itemArray['My Apps']['data-type']="sumome-app";
|
6 |
-
|
7 |
-
$itemArray['Store']['data-name']="sumome-control-store";
|
8 |
-
$itemArray['Store']['class']="sumo-store";
|
9 |
-
$itemArray['Store']['columns']=2;
|
10 |
-
$itemArray['Store']['data-type']="sumome-app";
|
11 |
-
|
12 |
-
$itemArray['Notifications']['data-name']="sumome-control-notifications";
|
13 |
-
$itemArray['Notifications']['class']="sumo-notifications";
|
14 |
-
$itemArray['Notifications']['data-type']="sumome-app";
|
15 |
-
$itemArray['Notifications']['columns']=1;
|
16 |
-
|
17 |
-
$itemArray['Statistics']['data-name']="sumome-control-statistics";
|
18 |
-
$itemArray['Statistics']['class']="sumome-popup-no-dim sumo-statistics";
|
19 |
-
$itemArray['Statistics']['columns']=1;
|
20 |
-
|
21 |
-
$itemArray['I Need Help']['data-name']="sumome-control-help";
|
22 |
-
$itemArray['I Need Help']['class']="sumome-control-help sumome-popup-no-dim";
|
23 |
-
$itemArray['I Need Help']['columns']=1;
|
24 |
-
|
25 |
-
$itemArray['About']['data-name']="sumome-control-about";
|
26 |
-
$itemArray['About']['class']="sumome-tile-about sumome-popup-no-dim";
|
27 |
-
$itemArray['About']['columns']=1;
|
28 |
-
|
29 |
-
$itemArray['Sumo Settings']['data-name']="sumome-control-settings";
|
30 |
-
$itemArray['Sumo Settings']['class']="sumo-settings";
|
31 |
-
$itemArray['Sumo Settings']['data-type']="sumome-app";
|
32 |
-
$itemArray['Sumo Settings']['columns']=1;
|
33 |
-
?>
|
34 |
-
<div class="sumome-plugin-main-wrapper">
|
35 |
-
<div class="sumome-logged-in-container">
|
36 |
-
<!-- Header -->
|
37 |
-
|
38 |
-
<div class="header-banner"></div>
|
39 |
-
|
40 |
-
<div class="items">
|
41 |
-
<?php
|
42 |
-
foreach ($itemArray as $title => $parameters) {
|
43 |
-
print '<div ';
|
44 |
-
foreach ($parameters as $parameterName=>$parameterValue) {
|
45 |
-
if ($parameterName=="class") $parameterValue.=' item-tile';
|
46 |
-
print $parameterName.'="'.$parameterValue.'" ';
|
47 |
-
}
|
48 |
-
print ' data-title="'.$title.'"';
|
49 |
-
print '>';
|
50 |
-
if ($parameters['columns']>1) print'<div class="item-tile-background"></div>';
|
51 |
-
|
52 |
-
print '<div class="item-tile-title">'.$title.'</div></div>';
|
53 |
-
}
|
54 |
-
?>
|
55 |
-
</div>
|
56 |
-
|
57 |
-
<div class="tabbed-content-container">
|
58 |
-
<div class="back-logged-in">Back</div>
|
59 |
-
<div class="content"></div>
|
60 |
-
</div>
|
61 |
-
</div>
|
62 |
-
|
63 |
-
|
64 |
-
<div class="sumome-plugin-main main-bottom">
|
65 |
-
<!-- Review -->
|
66 |
-
<div class="row row3">
|
67 |
-
<div class="large-12 columns">
|
68 |
-
<div class="list-bullet">
|
69 |
-
<h4 class="list-number-title">Leave a Review!</h4>
|
70 |
-
</div>
|
71 |
-
<div class="sumome-instructions">We will love you forever if you leave an <a href="https://wordpress.org/support/view/plugin-reviews/sumome" target="_blank">honest review here</a> of the Sumo plugin.</div>
|
72 |
-
</div>
|
73 |
-
</div>
|
74 |
-
|
75 |
-
<!-- Help -->
|
76 |
-
<div class="row">
|
77 |
-
<div class="large-12 columns footer">
|
78 |
-
<h4 class="list-number-title">Need Help?</h4>
|
79 |
-
<div class="sumome-help">
|
80 |
-
<span>Take a look at our <a target="_blank" href="https://help.sumome.com/">help page</a> to see our frequently answered</span>
|
81 |
-
<span>questions or <a target="_blank" href="https://help.sumome.com/hc/en-us/requests/new">send us a message</a> and we will get back to you asap.</span>
|
82 |
-
</div>
|
83 |
-
</div>
|
84 |
-
</div>
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
</div>
|
89 |
-
</div>
|
90 |
-
|
91 |
-
<div class="sumome-logged-in-container-overlay"></div>
|
92 |
-
<?php
|
93 |
-
include_once "popup.php";
|
94 |
-
?>
|
95 |
-
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/popup.php
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
<div class="sumome-plugin-popup-container">
|
2 |
-
<div class="sumome-plugin-popup-container-outer">
|
3 |
-
<div class="sumome-modal-header">
|
4 |
-
<div class="popup-title"></div>
|
5 |
-
<div class="popup-close"></div>
|
6 |
-
</div>
|
7 |
-
<div class="sumome-plugin-popup-container-inner">
|
8 |
-
|
9 |
-
|
10 |
-
<div class="sumome-plugin-popup-contents"></div>
|
11 |
-
</div>
|
12 |
-
</div>
|
13 |
-
</div>
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/siteID.php
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
<!-- Site ID -->
|
2 |
-
<div class="sumome-plugin-main">
|
3 |
-
<div class="site-ID-container">
|
4 |
-
<div class="row row3 site-ID">
|
5 |
-
<div class="columns">
|
6 |
-
<div class="list-bullet">
|
7 |
-
<h4 class="list-number-title">Your Site Id</h4>
|
8 |
-
</div>
|
9 |
-
|
10 |
-
<form method="post" action="options.php">
|
11 |
-
<?php settings_fields('sumome'); ?>
|
12 |
-
|
13 |
-
<table>
|
14 |
-
<?php do_settings_fields('sumome', 'sumome-settings') ?>
|
15 |
-
</table>
|
16 |
-
<div class="sumome-instructions">
|
17 |
-
NOTE: If you already have a site ID from a previous installation and you wish to retain all your settings then enter the site ID above otherwise you may use a new site ID to perform a new installation. Changing the site ID will lose all settings, apps, and purchases.
|
18 |
-
</div>
|
19 |
-
<?php submit_button(); ?>
|
20 |
-
</form>
|
21 |
-
</div>
|
22 |
-
</div>
|
23 |
-
</div>
|
24 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/statistics.php
DELETED
@@ -1,80 +0,0 @@
|
|
1 |
-
<div class="sumome-plugin-container">
|
2 |
-
<div class="sumome-plugin-main">
|
3 |
-
<div class="statistics-container">
|
4 |
-
<div class="statistics"></div>
|
5 |
-
</div>
|
6 |
-
<div class="loading"><img src="<?php echo plugins_url('images/sumome-loading.gif', dirname(__FILE__)) ?>"></div>
|
7 |
-
</div>
|
8 |
-
</div>
|
9 |
-
<script>
|
10 |
-
jQuery(document).ready(function() {
|
11 |
-
getSumomeStats();
|
12 |
-
});
|
13 |
-
|
14 |
-
function getSumomeStats() {
|
15 |
-
var siteID='<?php print get_option('sumome_site_id'); ?>';
|
16 |
-
statisticsDate=jQuery('.sumome-dashboard-date-select').val();
|
17 |
-
if (statisticsDate==null) {
|
18 |
-
statisticsDate='<?php print date('Y-m-d')?>'; //default=last week
|
19 |
-
}
|
20 |
-
jQuery.ajax({
|
21 |
-
url: 'https://sumome.com/apps/dashboard/stats',
|
22 |
-
type: 'POST',
|
23 |
-
dataType: 'json',
|
24 |
-
beforeSend: function(req) {
|
25 |
-
req.setRequestHeader('X-Sumo-Auth', '<?php print $_COOKIE['__smToken']?>');
|
26 |
-
},
|
27 |
-
xhrFields: {
|
28 |
-
withCredentials: false
|
29 |
-
},
|
30 |
-
crossDomain: true,
|
31 |
-
data: {'site_id':siteID,'date': statisticsDate},
|
32 |
-
success: function(data) {
|
33 |
-
jQuery('.loading').hide();
|
34 |
-
|
35 |
-
var returnText;
|
36 |
-
if (data.htmlBody!=null) {
|
37 |
-
returnText=data.htmlBody;
|
38 |
-
} else {
|
39 |
-
returnText='<h3 class="headline">'+data.headline+'</h3>';
|
40 |
-
}
|
41 |
-
|
42 |
-
jQuery('.statistics').html(returnText);
|
43 |
-
statisticsDateDropdown();
|
44 |
-
jQuery(".sumome-dashboard-date-select option[value='"+statisticsDate +"']").attr('selected', 'selected');
|
45 |
-
jQuery('.statistics-container').show();
|
46 |
-
},
|
47 |
-
});
|
48 |
-
}
|
49 |
-
|
50 |
-
|
51 |
-
function padDateString(n) {
|
52 |
-
return (n < 10) ? ("0" + n) : n;
|
53 |
-
}
|
54 |
-
|
55 |
-
function getDropDownDateFormat(givenDate,plusDays) {
|
56 |
-
if (plusDays==null) plusDays=0;
|
57 |
-
year=givenDate.getFullYear()
|
58 |
-
month=padDateString(givenDate.getMonth() + 1);
|
59 |
-
day=padDateString(givenDate.getDate()+plusDays);
|
60 |
-
return year+"-"+month+"-"+day;
|
61 |
-
}
|
62 |
-
|
63 |
-
function statisticsDateDropdown() {
|
64 |
-
var thisSundayFull=new Date(new Date().setDate(new Date().getDate() - new Date().getDay()));
|
65 |
-
var todayFull=new Date();
|
66 |
-
var thisWeek=getDropDownDateFormat(todayFull,6);
|
67 |
-
var lastWeek=getDropDownDateFormat(thisSundayFull);
|
68 |
-
|
69 |
-
var dropdownContent= '<select class="sumome-dashboard-date-select">\
|
70 |
-
<option value="'+thisWeek+'">This Week</option>\
|
71 |
-
<option value="'+lastWeek+'" selected="">Last Week</option>\
|
72 |
-
</select><br>';
|
73 |
-
|
74 |
-
jQuery('.statistics .headline').prepend(dropdownContent);
|
75 |
-
}
|
76 |
-
|
77 |
-
jQuery(document).on('change','.sumome-dashboard-date-select',function() {
|
78 |
-
getSumomeStats();
|
79 |
-
});
|
80 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
views/wordpress-dashboard-welcome-page.php
DELETED
@@ -1,202 +0,0 @@
|
|
1 |
-
<div class="sumome-plugin-dashboard-widget-inner">
|
2 |
-
<?php
|
3 |
-
if(isset($_COOKIE['__smUser'])) {
|
4 |
-
$sumomeStatus="status-logged-in";
|
5 |
-
} else{
|
6 |
-
$sumomeStatus="status-logged-out";
|
7 |
-
}
|
8 |
-
|
9 |
-
if (!isset($noClose)) print '<div class="sumome-plugin-dashboard-widget-close-button"><div></div></div>';
|
10 |
-
?>
|
11 |
-
<div class="sumome-plugin-dashboard-widget-header">
|
12 |
-
<div class="forms">
|
13 |
-
|
14 |
-
<div class="sumome-wp-dash-logged-in <?php print $sumomeStatus?>">
|
15 |
-
<div class="sumome-plugin-dashboard-widget-header-title">Sumo is Connected!</div>
|
16 |
-
<div class="sumome-plugin-dashboard-widget-header-button">
|
17 |
-
<button type="submit" class="button green dashboard-button" onclick="document.location.href='<?php print admin_url('admin.php?page=sumo')?>'">DASHBOARD</button>
|
18 |
-
</div>
|
19 |
-
</div>
|
20 |
-
|
21 |
-
<div class="sumome-wp-dash-logged-out <?php print $sumomeStatus?>">
|
22 |
-
|
23 |
-
|
24 |
-
<div class="sumome-popup-forms">
|
25 |
-
|
26 |
-
</div>
|
27 |
-
<div class="sumome-plugin-dashboard-widget-header-title">Please Connect Sumo</div>
|
28 |
-
<div class="sumome-plugin-dashboard-widget-header-desc">Sumo is the #1 plugin to grow your WordPress site.<br>
|
29 |
-
Connect today and you'll <b>grow</b> your traffic, <b>build</b> a massive following, and <b>track</b> your progress.</div>
|
30 |
-
<div class="sumome-plugin-dashboard-widget-header-button">
|
31 |
-
<button type="submit" class="button green connect-button" id="connectFormButton">Connect</button>
|
32 |
-
<div class="sumome-plugin-dashboard-widget-learn-more">Learn More</div>
|
33 |
-
</div>
|
34 |
-
</div>
|
35 |
-
</div>
|
36 |
-
</div>
|
37 |
-
<div class="sumome-plugin-dashboard-widget-container">
|
38 |
-
<div class="sumome-plugin-dashboard-widget-top-note-container">
|
39 |
-
<div class="sumome-plugin-dashboard-widget-top-note">
|
40 |
-
<div class="sumome-plugin-dashboard-widget-top-note-title">Grow Your Site</div>
|
41 |
-
<div class="sumome-plugin-dashboard-widget-top-note-desc">Sumo is the most trusted way to grow your site,<br> <b>used by 500,000+ websites.</b><br><br>
|
42 |
-
<ul>
|
43 |
-
<li>12 of the most essential tools, all in ONE place</li>
|
44 |
-
<li>No coding needed</li>
|
45 |
-
<li>Get started in 37 seconds</li>
|
46 |
-
</ul>
|
47 |
-
</div>
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
-
<div class="sumome-plugin-dashboard-widget-separator2"></div>
|
51 |
-
<div class="sumome-plugin-dashboard-widget-separator"></div>
|
52 |
-
|
53 |
-
<div class="sumome-plugin-dashboard-widget-row">
|
54 |
-
<div class="sumome-plugin-left">
|
55 |
-
<div class="sumome-plugin-dashboard-widget-row-title">Grow Your Traffic</div>
|
56 |
-
<div class="sumome-plugin-dashboard-widget-row-desc">
|
57 |
-
<ul>
|
58 |
-
<li>Add Sharing buttons to your site</li>
|
59 |
-
<li>Make your posts and images go viral</li>
|
60 |
-
<li>Get free traffic</li>
|
61 |
-
</ul>
|
62 |
-
</div>
|
63 |
-
</div>
|
64 |
-
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-welcome1.png', dirname(__FILE__))?>"></div>
|
65 |
-
</div>
|
66 |
-
|
67 |
-
<div class="sumome-plugin-dashboard-widget-row no-mobile">
|
68 |
-
<div class="sumome-plugin-left"><img src="<?php print plugins_url('images/sumome-site-welcome2.png', dirname(__FILE__))?>"></div>
|
69 |
-
<div class="sumome-plugin-right">
|
70 |
-
<div class="sumome-plugin-dashboard-widget-row-title">Build A Following</div>
|
71 |
-
<div class="sumome-plugin-dashboard-widget-row-desc">
|
72 |
-
<ul>
|
73 |
-
<li>Get people coming back to your site</li>
|
74 |
-
<li>Grow your email list</li>
|
75 |
-
<li>Get more social media followers</li>
|
76 |
-
</ul>
|
77 |
-
</div>
|
78 |
-
|
79 |
-
</div>
|
80 |
-
</div>
|
81 |
-
|
82 |
-
<div class="sumome-plugin-dashboard-widget-row mobile">
|
83 |
-
<div class="sumome-plugin-left">
|
84 |
-
<div class="sumome-plugin-dashboard-widget-row-title">Build A Following</div>
|
85 |
-
<div class="sumome-plugin-dashboard-widget-row-desc">
|
86 |
-
<ul>
|
87 |
-
<li>Get people coming back to your site</li>
|
88 |
-
<li>Grow your email list</li>
|
89 |
-
<li>Get more social media followers</li>
|
90 |
-
</ul>
|
91 |
-
</div>
|
92 |
-
</div>
|
93 |
-
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-welcome2.png', dirname(__FILE__))?>"></div>
|
94 |
-
</div>
|
95 |
-
|
96 |
-
|
97 |
-
<div class="sumome-plugin-dashboard-widget-row">
|
98 |
-
<div class="sumome-plugin-left">
|
99 |
-
<div class="sumome-plugin-dashboard-widget-row-title">Track Your Progress</div>
|
100 |
-
<div class="sumome-plugin-dashboard-widget-row-desc">
|
101 |
-
<ul>
|
102 |
-
<li>Discover where people are clicking on your site</li>
|
103 |
-
<li>See how many visitors you get in real-time</li>
|
104 |
-
<li>Learn if people are actually reading your posts</li>
|
105 |
-
</ul>
|
106 |
-
</div>
|
107 |
-
</div>
|
108 |
-
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-welcome3.png', dirname(__FILE__))?>"></div>
|
109 |
-
</div>
|
110 |
-
|
111 |
-
<div class="sumome-plugin-dashboard-widget-separator2">
|
112 |
-
<div class="sumome-plugin-dashboard-widget-middle-note-title">Your Favorite Websites Already Use Sumo</div>
|
113 |
-
|
114 |
-
<div class="sumome-plugin-dashboard-widget-middle-note-desc">500,000+ sites are powered by Sumo.</div>
|
115 |
-
|
116 |
-
<div class="sumome-plugin-dashboard-widget-middle-note-clients">
|
117 |
-
<img src="<?php print plugins_url('images/sumome-site-clients-airbnb.png', dirname(__FILE__))?>">
|
118 |
-
<img src="<?php print plugins_url('images/sumome-site-clients-chive.png', dirname(__FILE__))?>">
|
119 |
-
<img src="<?php print plugins_url('images/sumome-site-clients-tonyrobbins.png', dirname(__FILE__))?>">
|
120 |
-
<img src="<?php print plugins_url('images/sumome-site-clients-entrepreneur.png', dirname(__FILE__))?>">
|
121 |
-
<img src="<?php print plugins_url('images/sumome-site-clients-beachbody.png', dirname(__FILE__))?>">
|
122 |
-
<img src="<?php print plugins_url('images/sumome-site-clients-artofman.png', dirname(__FILE__))?>">
|
123 |
-
<img src="<?php print plugins_url('images/sumome-site-clients-4hourworkweek.png', dirname(__FILE__))?>">
|
124 |
-
</div>
|
125 |
-
</div>
|
126 |
-
|
127 |
-
<div class="sumome-plugin-dashboard-widget-row">
|
128 |
-
<div class="sumome-plugin-left">
|
129 |
-
<div class="sumome-plugin-dashboard-widget-row-title">We've Got Your Back</div>
|
130 |
-
<div class="sumome-plugin-dashboard-widget-row-desc">
|
131 |
-
<ul>
|
132 |
-
<li>Unlimited help from our experts</li>
|
133 |
-
<li>Make sure your site is running smoothly</li>
|
134 |
-
<li>Lightning-fast response time</li>
|
135 |
-
</ul>
|
136 |
-
</div>
|
137 |
-
</div>
|
138 |
-
<div class="sumome-plugin-right"><img src="<?php print plugins_url('images/sumome-site-team.jpg', dirname(__FILE__))?>"></div>
|
139 |
-
</div>
|
140 |
-
|
141 |
-
|
142 |
-
<div class="forms">
|
143 |
-
|
144 |
-
<div class="sumome-wp-dash-logged-in <?php print $sumomeStatus?>">
|
145 |
-
<div class="sumome-plugin-dashboard-widget-header-button sumome-plugin-dashboard-widget-footer-button">
|
146 |
-
<button type="submit" class="button green dashboard-button" onclick="document.location.href='<?php print admin_url('admin.php?page=sumo')?>'">DASHBOARD</button>
|
147 |
-
</div>
|
148 |
-
</div>
|
149 |
-
|
150 |
-
<div class="sumome-wp-dash-logged-out <?php print $sumomeStatus?>">
|
151 |
-
<div class="sumome-plugin-dashboard-widget-header-button sumome-plugin-dashboard-widget-footer-button">
|
152 |
-
<button type="submit" class="button green connect-button" id="connectFormButton">Connect</button>
|
153 |
-
<div class="sumome-plugin-dashboard-widget-learn-more">Learn More</div>
|
154 |
-
</div>
|
155 |
-
</div>
|
156 |
-
</div>
|
157 |
-
|
158 |
-
|
159 |
-
<div class="sumome-plugin-dashboard-widget-row <?php print $sumomeStatus?>">
|
160 |
-
<div class="sumome-plugin-center">Need to restore an existing account?
|
161 |
-
<?php
|
162 |
-
if (substr_count($_SERVER['REQUEST_URI'], 'dashboard')>0) {
|
163 |
-
?>
|
164 |
-
<a href="<?php print admin_url('admin.php?page=sumo-siteID')?>">Click here</a>
|
165 |
-
<?php
|
166 |
-
} else {
|
167 |
-
?>
|
168 |
-
<div class="sumome-plugin-linkalike sumome-link-button sumome-tile-advanced-settings item-tile" data-name="sumome-control-advanced-settings" data-title="">Click here</div>
|
169 |
-
<?php
|
170 |
-
}
|
171 |
-
?>
|
172 |
-
</div>
|
173 |
-
</div>
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
</div>
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
</div>
|
184 |
-
|
185 |
-
|
186 |
-
<script>
|
187 |
-
<?php
|
188 |
-
if (wp_is_mobile()) {
|
189 |
-
?>
|
190 |
-
jQuery('.sumome-plugin-dashboard-widget').addClass('minimized');
|
191 |
-
<?php
|
192 |
-
}
|
193 |
-
?>
|
194 |
-
jQuery(document).on('click', '.sumome-plugin-dashboard-widget div.sumome-plugin-dashboard-widget-close-button',function () {
|
195 |
-
jQuery('.sumome-plugin-dashboard-widget').addClass('minimized');
|
196 |
-
jQuery.post(ajaxurl, { action: 'sumome_hide_dashboard_overlay' }, function(data) {
|
197 |
-
|
198 |
-
});
|
199 |
-
});
|
200 |
-
|
201 |
-
</script>
|
202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|