Version Description
Download this release
Release Info
Developer | joaoromao |
Plugin | Social Media Share Buttons |
Version | 2.4 |
Comparing to | |
See all releases |
Code changes from version 2.3 to 2.4
- css/getsocial-source-style.css +1 -0
- css/getsocial-style.css +0 -1
- images/big_total_horizontal.png +0 -0
- images/custom-actions.png +0 -0
- images/floating-bar-big-counter.png +0 -0
- images/floating-bar.png +0 -0
- images/logo.png +0 -0
- images/mobile-bar.png +0 -0
- images/native-bar.png +0 -0
- images/on.png +0 -0
- images/sharing-bar.png +0 -0
- images/social-bar-big-counter.png +0 -0
- images/subscriber-bar.png +0 -0
- images/welcome-bar.png +0 -0
- img/apps/ad-tracker.png +0 -0
- img/apps/address-tracker.png +0 -0
- img/apps/advanced-analytics.png +0 -0
- img/apps/competitor-tracker.png +0 -0
- img/apps/conversions.png +0 -0
- img/apps/custom-actions.png +0 -0
- img/apps/expressions-custom-brand.png +0 -0
- img/apps/floating-bar-big-counter.png +0 -0
- img/apps/floating-bar.png +0 -0
- img/apps/mobile-bar.png +0 -0
- img/apps/native-bar.png +0 -0
- img/apps/price-alert.png +0 -0
- img/apps/sharing-bar.png +0 -0
- img/apps/social-bar-big-counter.png +0 -0
- img/apps/subscriber-bar.png +0 -0
- img/apps/welcome-bar.png +0 -0
- img/getsocial-app-logo.png +0 -0
- init.php +138 -56
- js/plugin.js +148 -56
- readme.txt +10 -6
- tmpl/apps.php +99 -99
- tmpl/basic_stats.php +41 -19
- tmpl/header.php +45 -33
- wp-share-buttons-analytics-getsocial.php +2 -2
css/getsocial-source-style.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@-webkit-keyframes rotate-scale-in{0%{-webkit-transform:scale(0.2) rotate(360deg);opacity:0}80%{-webkit-transform:scale(1.1) rotate(0)}100%{-webkit-transform:scale(1);opacity:1}}@keyframes rotate-scale-in{0%{transform:scale(0.2) rotate(360deg);opacity:0}80%{transform:scale(1.1) rotate(0)}100%{transform:scale(1);opacity:1}}@-webkit-keyframes fade-in-down{0%{-webkit-transform:translateY(-30px);opacity:0}100%{-webkit-transform:translateY(0);opacity:1}}@keyframes fade-in-down{0%{transform:translateY(-30px);opacity:0}100%{transform:translateY(0);opacity:1}}@-webkit-keyframes fade-out-up{0%{-webkit-transform:translateY(0);opacity:1}100%{-webkit-transform:translateY(-30px);opacity:0}}@keyframes fade-out-up{0%{transform:translateY(0);opacity:1}100%{transform:translateY(-30px);opacity:0}}@-webkit-keyframes opacity-in{0%{opacity:0}100%{opacity:1}}@keyframes opacity-in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes opacity-out{0%{opacity:1}100%{opacity:0}}@keyframes opacity-out{0%{opacity:1}100%{opacity:0}}#gs-master-wrapper html,#gs-master-wrapper body,#gs-master-wrapper div,#gs-master-wrapper span,#gs-master-wrapper applet,#gs-master-wrapper object,#gs-master-wrapper iframe,#gs-master-wrapper h1,#gs-master-wrapper h2,#gs-master-wrapper h3,#gs-master-wrapper h4,#gs-master-wrapper h5,#gs-master-wrapper h6,#gs-master-wrapper p,#gs-master-wrapper blockquote,#gs-master-wrapper pre,#gs-master-wrapper a,#gs-master-wrapper abbr,#gs-master-wrapper acronym,#gs-master-wrapper address,#gs-master-wrapper big,#gs-master-wrapper cite,#gs-master-wrapper code,#gs-master-wrapper del,#gs-master-wrapper dfn,#gs-master-wrapper em,#gs-master-wrapper img,#gs-master-wrapper ins,#gs-master-wrapper kbd,#gs-master-wrapper q,#gs-master-wrapper s,#gs-master-wrapper samp,#gs-master-wrapper small,#gs-master-wrapper strike,#gs-master-wrapper strong,#gs-master-wrapper sub,#gs-master-wrapper sup,#gs-master-wrapper tt,#gs-master-wrapper var,#gs-master-wrapper b,#gs-master-wrapper u,#gs-master-wrapper i,#gs-master-wrapper center,#gs-master-wrapper dl,#gs-master-wrapper dt,#gs-master-wrapper dd,#gs-master-wrapper ol,#gs-master-wrapper ul,#gs-master-wrapper li,#gs-master-wrapper fieldset,#gs-master-wrapper form,#gs-master-wrapper label,#gs-master-wrapper legend,#gs-master-wrapper table,#gs-master-wrapper caption,#gs-master-wrapper tbody,#gs-master-wrapper tfoot,#gs-master-wrapper thead,#gs-master-wrapper tr,#gs-master-wrapper th,#gs-master-wrapper td,#gs-master-wrapper article,#gs-master-wrapper aside,#gs-master-wrapper canvas,#gs-master-wrapper details,#gs-master-wrapper embed,#gs-master-wrapper figure,#gs-master-wrapper figcaption,#gs-master-wrapper footer,#gs-master-wrapper header,#gs-master-wrapper hgroup,#gs-master-wrapper menu,#gs-master-wrapper nav,#gs-master-wrapper output,#gs-master-wrapper ruby,#gs-master-wrapper section,#gs-master-wrapper summary,#gs-master-wrapper time,#gs-master-wrapper mark,#gs-master-wrapper audio,#gs-master-wrapper video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}#gs-master-wrapper article,#gs-master-wrapper aside,#gs-master-wrapper details,#gs-master-wrapper figcaption,#gs-master-wrapper figure,#gs-master-wrapper footer,#gs-master-wrapper header,#gs-master-wrapper hgroup,#gs-master-wrapper menu,#gs-master-wrapper nav,#gs-master-wrapper section{display:block}#gs-master-wrapper body{line-height:1}#gs-master-wrapper ol,#gs-master-wrapper ul{list-style:none}#gs-master-wrapper blockquote,#gs-master-wrapper q{quotes:none}#gs-master-wrapper blockquote:before,#gs-master-wrapper blockquote:after,#gs-master-wrapper q:before,#gs-master-wrapper q:after{content:"";content:none}#gs-master-wrapper table{border-collapse:collapse;border-spacing:0}#gs-master-wrapper a{text-decoration:none}#gs-master-wrapper header{width:100%;display:inline-block;z-index:4;margin-bottom:-3px}#gs-master-wrapper header #logo-wrapper{background:#2481b1;padding:16px 30px 15px;float:left;-webkit-transition:all 350ms cubic-bezier(0.19, 1, 0.22, 1);transition:all 350ms cubic-bezier(0.19, 1, 0.22, 1)}#gs-master-wrapper header #logo-wrapper:hover,#gs-master-wrapper header #logo-wrapper:focus{background:#2990c6}#gs-master-wrapper header #main-subnav{background:#339ed5;position:relative;z-index:4}#gs-master-wrapper header #main-subnav>div{padding-left:178px}#gs-master-wrapper header #main-subnav>div>ul{padding:0 12px}#gs-master-wrapper header #main-subnav>div>ul>li{font-size:14px;padding:14px 2px 15px;display:inline-block}#gs-master-wrapper header #main-subnav>div>ul>li a{color:#fff;padding:5px 10px 7px;display:inline-block;border-radius:4px}#gs-master-wrapper header #main-subnav>div>ul>li a,#gs-master-wrapper header #main-subnav>div>ul>li a *{-webkit-transition:all 200ms;transition:all 200ms}#gs-master-wrapper header #main-subnav>div>ul>li a:not([class*="plan-"]).active,#gs-master-wrapper header #main-subnav>div>ul>li a:not([class*="plan-"]):hover,#gs-master-wrapper header #main-subnav>div>ul>li a:not([class*="plan-"]):focus{background:#2990c6}#gs-master-wrapper header #main-subnav>div>ul>li a[class*="plan-"]{padding:4px 10px 6px;box-shadow:0 1px 4px rgba(0,0,0,0.2)}#gs-master-wrapper header #main-subnav>div>ul>li a>i.fa-angle-down{font-size:20px;color:#88c6e6;margin:-5px 0 -1px 3px;position:relative;bottom:-3px}#gs-master-wrapper header #main-subnav>div>ul>li a>i:not(.fa-angle-down){margin-right:4px;position:relative;bottom:-1px}#gs-master-wrapper header #main-subnav>div>ul>li#user-nav{padding-left:20px;float:right}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link{position:relative}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link:not(#user-nav){float:left}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link .nav-submenu-wrapper{min-width:100%;position:absolute;top:100%;left:0;z-index:2;overflow:hidden;padding:0 5px 5px;margin:0 -5px;display:none;box-sizing:initial}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link .nav-submenu{min-width:100%;background:#f3f3f3;padding:10px 8px;-webkit-transform:translate(0, -100%);-ms-transform:translate(0, -100%);transform:translate(0, -100%);-webkit-transition:all 350ms cubic-bezier(0.19, 1, 0.22, 1);transition:all 350ms cubic-bezier(0.19, 1, 0.22, 1);border-radius:0 0 4px 4px;box-shadow:0 1px 5px rgba(0,0,0,0.2),inset 0 9px 8px -10px rgba(0,0,0,0.5)}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link .nav-submenu.active{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link .nav-submenu a{width:100%;color:#606060;white-space:nowrap;padding:8px 10px;position:relative}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link .nav-submenu a:hover,#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link .nav-submenu a:focus{background:#e6e6e6}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link #api-key{color:#339ed5;background:#fff;padding:6px 15px;margin:0 10px -4px 0;overflow:hidden;border-radius:4px}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link #api-key>span{width:78px;font-weight:bold;color:#fff;text-align:center;padding:6px 15px;margin:-6px 10px -6px -15px}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link #api-key>span.idle{background:#2481b1}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link #api-key>span.active{background:#8db13d;display:none}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link #api-key:hover{box-shadow:0 1px 4px rgba(0,0,0,0.2)}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link #api-key:hover>span.idle{display:none}#gs-master-wrapper header #main-subnav>div>ul>li.nav-submenu-link #api-key:hover>span.active{display:inline}#gs-master-wrapper .title-wrapper{background:#fff;text-align:center;border-bottom:1px solid #e9e9e9;padding:46px 0;position:relative;z-index:1}#gs-master-wrapper .title-wrapper h1{max-width:860px;font-family:"Raleway",sans-serif;color:#339ed5;line-height:35px;display:inline-block;margin:0 auto;padding:0}#gs-master-wrapper .title-wrapper h1>span{display:block}#gs-master-wrapper .title-wrapper h1+p{max-width:860px;margin:20px auto 0}#gs-master-wrapper .title-wrapper #dashboard-analytics{max-width:860px;margin:0 auto}#gs-master-wrapper .title-wrapper #dashboard-analytics .overlay{background:rgba(0,0,0,0.5);top:0;bottom:0;left:0;right:0}#gs-master-wrapper .title-wrapper #dashboard-analytics .overlay,#gs-master-wrapper .title-wrapper #dashboard-analytics .overlay span{position:absolute}#gs-master-wrapper .title-wrapper #dashboard-analytics .overlay span{font-weight:600;color:#fff;padding:8px 15px;white-space:nowrap;display:inline-block;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border-radius:4px}#gs-master-wrapper .title-wrapper #dashboard-analytics>.overlay{z-index:1}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile{width:33.33333%;padding:0 17px;float:left}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div{height:127px;font-size:20px;font-weight:600;color:#fff;background:#339ed5;text-align:center;padding:14px 20px 55px 120px;overflow:hidden;position:relative;border-radius:4px}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div:before{width:80px;height:80px;font-family:"FontAwesome";font-size:80px;color:rgba(255,255,255,0.1);line-height:1;display:block;position:absolute;bottom:-10px;left:10px}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div.visits:before{content:""}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div.shares:before{content:""}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div.leads:before{content:""}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>span{font-size:50px;font-weight:bold;margin-top:22px;display:block}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>span.small{font-size:16px;font-weight:normal;margin-top:14px}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>.tile-overlay,#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>.tile-overlay span{opacity:0;-webkit-transition:all 350ms cubic-bezier(0.19, 1, 0.22, 1);transition:all 350ms cubic-bezier(0.19, 1, 0.22, 1)}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>.tile-overlay span{background:#339ed5;-webkit-transform:translate(-50%, -50%) scale(0.7);-ms-transform:translate(-50%, -50%) scale(0.7);transform:translate(-50%, -50%) scale(0.7)}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>.tile-overlay:hover,#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>.tile-overlay:hover span{opacity:1}#gs-master-wrapper .title-wrapper #dashboard-analytics .dashboard-tile>div>.tile-overlay:hover span{-webkit-transform:translate(-50%, -50%) scale(1);-ms-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1)}#gs-master-wrapper .title-wrapper .dashboard-info{color:#999;text-align:center;margin:20px 0 -10px}#gs-master-wrapper .title-wrapper .dashboard-info a{color:#339ed5;margin-left:20px}#gs-master-wrapper .title-wrapper .dashboard-info a:hover,#gs-master-wrapper .title-wrapper .dashboard-info a:focus{color:#2687b9}#gs-master-wrapper .alert{font-size:16px;text-align:left;margin:40px 30px;padding:20px 0;position:relative;border-radius:4px}#gs-master-wrapper .alert a{font-size:14px;color:#fff;-webkit-transition:all 200ms;transition:all 200ms}#gs-master-wrapper .alert a.cta{font-size:16px;margin-top:-15px;position:absolute;right:0;top:50%}#gs-master-wrapper .alert a.cta.pro{background:#e78834}#gs-master-wrapper .alert a.cta.pro:hover{background:#d9731a}#gs-master-wrapper .alert p{font-weight:600}#gs-master-wrapper .alert p,#gs-master-wrapper .alert p.alert-title{color:#fff}#gs-master-wrapper .alert p.alert-title{font-weight:bold}#gs-master-wrapper .alert p.alert-title>span{color:#fff;padding:2px 10px 3px;margin:0 5px;border-radius:4px}#gs-master-wrapper .alert p.alert-title>span.primary{background:#339ed5}#gs-master-wrapper .alert p.alert-title>span.success{background:#85b023}#gs-master-wrapper .alert p.alert-title>span.error{background:#d36c65}#gs-master-wrapper .alert.cta{padding:20px 94px 20px 0;margin-bottom:0}#gs-master-wrapper .alert.cta div[class^="col-"]:first-of-type{padding-left:114px}#gs-master-wrapper .alert.cta div[class^="col-"]:first-of-type:before{font-family:"FontAwesome";font-size:64px;display:inline-block;position:absolute;top:50%;left:30px;margin-top:-32px}#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code{width:100%;display:table}#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code>*{display:table-cell}#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code>*:last-child{vertical-align:middle}#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code textarea.code{height:60px;overflow-y:scroll}#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code>a{width:55px;height:100%;text-align:center;padding:10px 16px;border-radius:0 4px 4px 0;box-shadow:0 2px 4px rgba(0,0,0,0.15)}#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code>a i{font-size:20px;margin-bottom:5px;display:block}#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code>a:hover,#gs-master-wrapper .alert.cta div[class^="col-"]:last-of-type .alert-code>a:focus{box-shadow:0 2px 5px rgba(0,0,0,0.4)}#gs-master-wrapper .alert.cta div[class^="col-"] p{font-size:14px;line-height:15px}#gs-master-wrapper .alert.cta div[class^="col-"] p.alert-title{font-size:20px}#gs-master-wrapper .alert.cta div[class^="col-"] p.alert-title+p{margin-top:10px}#gs-master-wrapper .alert.cta.plan-pro{background:#e78834}#gs-master-wrapper .alert.cta.default{color:#606060;background:#fff;border:1px solid #e3e3e3}#gs-master-wrapper .alert.cta.default p{color:#606060}#gs-master-wrapper .alert.cta.default p.alert-title{color:#606060}#gs-master-wrapper .alert.cta.default p.alert-title+p{color:#7f7f7f}#gs-master-wrapper .alert.cta>a{position:absolute}#gs-master-wrapper .alert.cta>a.close{width:34px;height:34px;font-size:20px;background:rgba(255,255,255,0.5);top:50%;right:30px;border-radius:100%;text-align:center;padding:7px 0 0;margin-top:-17px;border-radius:100%;-webkit-transition:all 500ms cubic-bezier(0.19, 1, 0.22, 1);transition:all 500ms cubic-bezier(0.19, 1, 0.22, 1)}#gs-master-wrapper .alert.cta>a.close:hover{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}#gs-master-wrapper .alert.cta>a.cta{right:94px}#gs-master-wrapper .alert.cta.simple{padding-left:60px;padding-right:100px}#gs-master-wrapper .alert.cta.simple>div[class*="col-"]{padding-right:0;padding-left:0;position:relative}#gs-master-wrapper .alert.cta.simple>div[class*="col-"]:before{display:none}#gs-master-wrapper .alert.primary{background:#339ed5}#gs-master-wrapper .alert.primary a{background:#2278a4}#gs-master-wrapper .alert.primary a.close{color:#339ed5}#gs-master-wrapper .alert.primary a:hover,#gs-master-wrapper .alert.primary a:focus{background:#1c6286}#gs-master-wrapper .alert.primary.cta div[class^="col-"]:first-of-type:before{color:#7fc2e5}#gs-master-wrapper .alert.primary.cta div[class^="col-"] p:not(.alert-title){color:#9dd0eb}#gs-master-wrapper .alert.success{background:#85b023}#gs-master-wrapper .alert.success a{background:#5b7918}#gs-master-wrapper .alert.success a.close{color:#85b023}#gs-master-wrapper .alert.success a:hover,#gs-master-wrapper .alert.success a:focus{background:#455b12}#gs-master-wrapper .alert.success.cta div[class^="col-"]:first-of-type:before{color:#b2dd52}#gs-master-wrapper .alert.success.cta div[class^="col-"] p:not(.alert-title){color:#c0e370}#gs-master-wrapper .alert.error{background:#d36c65}#gs-master-wrapper .alert.error a{background:#bf3f37}#gs-master-wrapper .alert.error a.close{color:#d36c65}#gs-master-wrapper .alert.error a:hover,#gs-master-wrapper .alert.error a:focus{background:#a3362f}#gs-master-wrapper .alert.error.cta div[class^="col-"]:first-of-type:before{color:#e7b0ac}#gs-master-wrapper .alert.error.cta div[class^="col-"] p:not(.alert-title){color:#efcbc8}#gs-master-wrapper .modal-wrapper{background:rgba(0,0,0,0.5);padding:0 30px;overflow:scroll;z-index:999999}#gs-master-wrapper .modal-wrapper,#gs-master-wrapper .modal-wrapper .modal-cover{position:fixed;top:0;right:0;bottom:0;left:0}#gs-master-wrapper .modal-wrapper .modal-cover{z-index:-1}#gs-master-wrapper .modal-wrapper .modal{max-width:860px;background:#fff;padding:22px 30px;margin:100px auto 30px;opacity:0;border-radius:4px}#gs-master-wrapper .modal-wrapper .modal.small{max-width:430px;padding:40px 30px}#gs-master-wrapper .modal-wrapper .modal .modal-title{text-align:center;padding:46px 0 60px}#gs-master-wrapper .modal-wrapper .modal .modal-title .title{font-size:40px;font-weight:300;padding-bottom:11px}#gs-master-wrapper .modal-wrapper .modal .modal-title .title+p{max-width:400px;margin-left:auto;margin-right:auto;margin-top:10px}#gs-master-wrapper .modal-wrapper.hide{display:none}#gs-master-wrapper .modal-wrapper.active{display:block;-webkit-animation:opacity-in 300ms ease-in-out forwards;animation:opacity-in 300ms ease-in-out forwards}#gs-master-wrapper .modal-wrapper.active .modal{-webkit-animation:fade-in-down 700ms cubic-bezier(0.19, 1, 0.22, 1) forwards;animation:fade-in-down 700ms cubic-bezier(0.19, 1, 0.22, 1) forwards}#gs-master-wrapper .modal-wrapper.rewind{-webkit-animation:opacity-out 300ms ease-in-out forwards;animation:opacity-out 300ms ease-in-out forwards}#gs-master-wrapper .modal-wrapper.rewind .modal{-webkit-animation:fade-out-up 700ms cubic-bezier(0.19, 1, 0.22, 1) forwards;animation:fade-out-up 700ms cubic-bezier(0.19, 1, 0.22, 1) forwards}#gs-master-wrapper .form{position:relative}#gs-master-wrapper .form.account-info{-webkit-animation:fade-in-down 1s cubic-bezier(0.19, 1, 0.22, 1);animation:fade-in-down 1s cubic-bezier(0.19, 1, 0.22, 1)}#gs-master-wrapper .form.account-info .form-content{background:#339ed5;border:none;border-radius:0 0 4px 4px}#gs-master-wrapper .form.account-info .form-content,#gs-master-wrapper .form.account-info .form-content .field-group:first-child .field-label{box-shadow:inset 0 8px 10px -10px rgba(0,0,0,0.5)}#gs-master-wrapper .form.account-info .form-content .field-group:not(.field-alert) .field-label{color:#fff;background:#2687b9;padding:18px 0 20px 30px !important}#gs-master-wrapper .form.account-info .form-content .field-group:not(.field-alert) .field-input{color:#fff;padding:15px 30px 20px}#gs-master-wrapper .form.account-info .form-content .field-group:not(.field-alert)+.field-group{border-top-color:#66b6df}#gs-master-wrapper .form.account-info ~ .alert{margin-top:0;border-radius:0 0 4px 4px;box-shadow:inset 0 8px 10px -10px rgba(0,0,0,0.5)}#gs-master-wrapper .form p{font-size:14px;color:#999;line-height:15px;margin-bottom:4px}#gs-master-wrapper .form label{font-size:18px;font-weight:600;cursor:auto}#gs-master-wrapper .form label span{font-size:16px;font-weight:normal;color:#999}#gs-master-wrapper .form input:not([type="submit"]){width:100%;font-family:"Source Sans Pro",sans-serif;font-size:20px;color:#606060;background:#fff;border:1px solid #ccc;padding:3px 15px 5px;outline:none;border-radius:4px;-webkit-transition:all 200ms;transition:all 200ms}#gs-master-wrapper .form input:not([type="submit"]):hover{background:#f9f9f9}#gs-master-wrapper .form input:not([type="submit"]):focus{border-color:#339ed5;box-shadow:inset 0 0 3px #b2daef}#gs-master-wrapper .form input:not([type="submit"])::-webkit-input-placeholder{color:#ccc;font-style:italic}#gs-master-wrapper .form input:not([type="submit"]):-moz-placeholder{color:#ccc;font-style:italic}#gs-master-wrapper .form input:not([type="submit"])::-moz-placeholder{color:#ccc;font-style:italic}#gs-master-wrapper .form input:not([type="submit"]):-ms-input-placeholder{color:#ccc;font-style:italic}#gs-master-wrapper .form input:not([type="submit"])+p{margin-top:5px}#gs-master-wrapper .form input[type="submit"],#gs-master-wrapper .form button{width:auto;font-family:"Source Sans Pro",sans-serif;font-size:100%;margin-bottom:-9px;display:inline-block}#gs-master-wrapper .form input[type="submit"]:hover,#gs-master-wrapper .form button:hover{cursor:pointer}#gs-master-wrapper .form .form-content+.form-content{margin-top:30px}#gs-master-wrapper .form .form-content .field-clean{padding:25px 30px}#gs-master-wrapper .form .form-content .field-clean+.field-clean,#gs-master-wrapper .form .form-content .field-clean+.field-group{border-top:1px solid #eee}#gs-master-wrapper .form .form-content .field-clean div[class^="col-"]:not(:first-child){padding-left:30px}#gs-master-wrapper .form .form-content .field-clean label{margin-bottom:6px;display:block}#gs-master-wrapper .form .form-content .field-group{padding-left:125px;position:relative}#gs-master-wrapper .form .form-content .field-group>*{float:left}#gs-master-wrapper .form .form-content .field-group:after{content:"";display:block;clear:both}#gs-master-wrapper .form .form-content .field-group:first-child .field-label{border-radius:3px 0 0 0}#gs-master-wrapper .form .form-content .field-group:last-child .field-label{border-radius:0 0 0 3px}#gs-master-wrapper .form .form-content .field-group .field-label{width:125px;min-width:125px;height:100%;background:#f9f9f9;word-wrap:break-word;padding:45px 0 30px 30px;position:absolute;top:0;left:0}#gs-master-wrapper .form .form-content .field-group .field-label.no-desc{padding-top:25px}#gs-master-wrapper .form .form-content .field-group .field-label label{display:block}#gs-master-wrapper .form .form-content .field-group .field-input{width:100%;padding:25px 30px 30px;position:relative}#gs-master-wrapper .form .form-content .field-group .field-input p.api-key-value{font-size:20px;color:#606060;padding:8px 0 11px}#gs-master-wrapper .form .form-content .field-group .field-input+.field-input{padding-top:0;margin-top:-6px}#gs-master-wrapper .form .form-content .field-group+.field-group{border-top:1px solid #eee}#gs-master-wrapper .form .form-button-group{text-align:center;padding:38px 0 20px}#gs-master-wrapper .form .extra-notes{padding-top:15px}#gs-master-wrapper .form .extra-notes .fa-asterisk{font-size:16px;color:#339ed5}#gs-master-wrapper .form-content{background:#fff;border:1px solid #e1e1e1;overflow:hidden;border-radius:4px}#gs-master-wrapper .button{height:auto;font-weight:600;color:#fff;line-height:16px;border:2px solid transparent;padding:4px 13px 6px;border-radius:4px;-webkit-transition:all 200ms;transition:all 200ms;box-shadow:none}#gs-master-wrapper .button i{margin-right:4px}#gs-master-wrapper .button.disabled{color:#aaa;background:#eee}#gs-master-wrapper .button.trans{background:transparent}#gs-master-wrapper .button.plan-pro{background:#e78834}#gs-master-wrapper .button.plan-pro:hover{background:#d9731a}#gs-master-wrapper .button.primary:not(.trans){background:#339ed5}#gs-master-wrapper .button.primary.trans{color:#339ed5}#gs-master-wrapper .button.primary.trans.border{border-color:#339ed5}#gs-master-wrapper .button.success:not(.trans){background:#85b023}#gs-master-wrapper .button.success.trans{color:#85b023}#gs-master-wrapper .button.success.trans.border{border-color:#85b023}#gs-master-wrapper .button.error:not(.trans){background:#d36c65}#gs-master-wrapper .button.error.trans{color:#d36c65}#gs-master-wrapper .button.error.trans.border{border-color:#d36c65}#gs-master-wrapper a.button.primary:not(.trans):hover,#gs-master-wrapper a.button.primary:not(.trans):focus,#gs-master-wrapper input.button.primary:not(.trans):hover,#gs-master-wrapper input.button.primary:not(.trans):focus,#gs-master-wrapper button.button.primary:not(.trans):hover,#gs-master-wrapper button.button.primary:not(.trans):focus{background:#2687b9}#gs-master-wrapper a.button.primary.trans:hover,#gs-master-wrapper a.button.primary.trans:focus,#gs-master-wrapper input.button.primary.trans:hover,#gs-master-wrapper input.button.primary.trans:focus,#gs-master-wrapper button.button.primary.trans:hover,#gs-master-wrapper button.button.primary.trans:focus{border-color:#339ed5}#gs-master-wrapper a.button.success:not(.trans):hover,#gs-master-wrapper a.button.success:not(.trans):focus,#gs-master-wrapper input.button.success:not(.trans):hover,#gs-master-wrapper input.button.success:not(.trans):focus,#gs-master-wrapper button.button.success:not(.trans):hover,#gs-master-wrapper button.button.success:not(.trans):focus{background:#6b8e1c}#gs-master-wrapper a.button.success.trans:hover,#gs-master-wrapper a.button.success.trans:focus,#gs-master-wrapper input.button.success.trans:hover,#gs-master-wrapper input.button.success.trans:focus,#gs-master-wrapper button.button.success.trans:hover,#gs-master-wrapper button.button.success.trans:focus{border-color:#85b023}#gs-master-wrapper a.button.error:not(.trans):hover,#gs-master-wrapper a.button.error:not(.trans):focus,#gs-master-wrapper input.button.error:not(.trans):hover,#gs-master-wrapper input.button.error:not(.trans):focus,#gs-master-wrapper button.button.error:not(.trans):hover,#gs-master-wrapper button.button.error:not(.trans):focus{background:#ca4e45}#gs-master-wrapper a.button.error.trans:hover,#gs-master-wrapper a.button.error.trans:focus,#gs-master-wrapper input.button.error.trans:hover,#gs-master-wrapper input.button.error.trans:focus,#gs-master-wrapper button.button.error.trans:hover,#gs-master-wrapper button.button.error.trans:focus{border-color:#d36c65}#gs-master-wrapper footer{text-align:center;overflow:hidden;padding:50px 0 70px}#gs-master-wrapper .app-grid{max-width:860px;margin:0 auto}#gs-master-wrapper .app-grid .app-link-wrapper{width:50%;padding:33px 30px;float:left;position:relative}#gs-master-wrapper .app-grid .app-link-wrapper:nth-child(odd){padding-left:17px}#gs-master-wrapper .app-grid .app-link-wrapper:nth-child(even){padding-right:17px}#gs-master-wrapper .app-grid .app-link-wrapper *{-webkit-transition:all 250ms cubic-bezier(0.185, 0.295, 0.325, 1);transition:all 250ms cubic-bezier(0.185, 0.295, 0.325, 1)}#gs-master-wrapper .app-grid .app-link-wrapper .app-badge{font-size:14px;font-weight:600;color:#fff;text-transform:uppercase;padding:20px 30px 8px;display:inline-block;position:absolute;top:-10px;right:-31px;z-index:3;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);box-shadow:0 8px 10px -10px rgba(0,0,0,0.5)}#gs-master-wrapper .app-grid .app-link-wrapper .app-badge.badge-primary{background:#339ed5;text-shadow:0 1px 0 rgba(32,114,155,0.5)}#gs-master-wrapper .app-grid .app-link-wrapper .app-badge.badge-success{background:#85b023;text-shadow:0 1px 0 rgba(85,112,22,0.5)}#gs-master-wrapper .app-grid .app-link-wrapper .app-badge.badge-error{background:#d36c65;text-shadow:0 1px 0 rgba(183,61,52,0.5)}#gs-master-wrapper .app-grid .app-link-wrapper .app-badge.badge-special{background:#f5bd25;text-shadow:0 1px 0 rgba(196,146,9,0.5)}#gs-master-wrapper .app-grid .app-link-wrapper .app-link-plan{font-size:15px;font-weight:600;color:#fff;text-transform:uppercase;text-align:right;padding:2px 30px;position:absolute;top:22px;left:50%;z-index:2;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);border-radius:100px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link-plan>span{background:transparent;text-transform:none;text-shadow:none;opacity:0;padding:4px;position:absolute;top:0;left:25px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link-plan>div{text-transform:none}#gs-master-wrapper .app-grid .app-link-wrapper .app-link-plan.plan-pro{background:#e78834;text-shadow:0 1px 0 rgba(185,98,22,0.5)}#gs-master-wrapper .app-grid .app-link-wrapper .app-link-plan.plan-pro:hover{background:#cf6e19;cursor:pointer}#gs-master-wrapper .app-grid .app-link-wrapper .app-status{width:50px;height:50px;background:#c4da94;border:4px solid #9bc048;margin-left:-25px;position:absolute;top:8px;left:50%;z-index:2;-webkit-animation:rotate-scale-in 750ms ease-in-out;animation:rotate-scale-in 750ms ease-in-out}#gs-master-wrapper .app-grid .app-link-wrapper .app-status i{font-size:26px;color:#fff;margin:-13px 0 0 -13px;position:absolute;top:50%;left:50%}#gs-master-wrapper .app-grid .app-link-wrapper .app-status,#gs-master-wrapper .app-grid .app-link-wrapper .app-status:before{border-radius:100%}#gs-master-wrapper .app-grid .app-link-wrapper .app-status:before{width:100%;height:100%;border:0 solid #9bc048;content:"";display:inline-block;position:absolute;top:0;left:0;box-sizing:border-box}#gs-master-wrapper .app-grid .app-link-wrapper .app-status:hover{cursor:pointer}#gs-master-wrapper .app-grid .app-link-wrapper .app-status:hover i{-webkit-transform:scale(1.25);-ms-transform:scale(1.25);transform:scale(1.25)}#gs-master-wrapper .app-grid .app-link-wrapper .app-status:hover:before{border-width:20px}#gs-master-wrapper .app-grid .app-link-wrapper .app-status>div{width:140px;text-align:center;top:50px;margin-left:-70px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link{height:380px;background:#fff;text-align:center;padding:20px 30px 0;overflow:hidden;position:relative;border-radius:4px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-info{background:#fff;border-top:1px solid #e3e3e3;padding-bottom:25px;margin-top:-55px;position:absolute;top:100%;left:30px;right:30px;z-index:1;-webkit-transform:translateY(-82px);-ms-transform:translateY(-82px);transform:translateY(-82px)}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-info p{color:#606060}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-info p.app-title{font-family:"Raleway",sans-serif;font-weight:800;font-size:22px;line-height:27px;text-align:center;padding:30px 0 20px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-info p:not(.app-title){text-align:left;line-height:22px;opacity:0}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-image img{max-height:300px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons{position:absolute;bottom:0;left:0;right:0;z-index:1}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons *{-webkit-transition:all 200ms;transition:all 200ms}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons .prompt,#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a{color:#fff;padding:15px 20px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons .prompt{background:#ca4e45}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons .prompt a{background:#842c26;border:1px solid transparent;padding:4px 25px 6px;margin:-5px 5px -6px;display:inline-block !important;border-radius:4px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons .prompt a:hover{background:#9f352e}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons .prompt a.trans{background:transparent !important}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons .prompt a.trans:hover{border-color:#fff}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a{font-weight:600;background:#8db13d;border-radius:0 0 4px 4px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a i{margin-right:4px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a span{font-size:13px;color:#fff;background:#9fc24f;padding:2px 12px;position:absolute;top:50%;right:10px;margin-top:-11px;border-radius:100px}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a span.tooltip>div{width:125px;margin-left:0;top:auto;bottom:30px;left:auto;right:0}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a span.tooltip>div:before{border-width:8px 8px 0 8px;border-color:#000 transparent transparent transparent;top:auto;left:auto;bottom:-8px;right:26px;margin-left:0}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a:hover,#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a:focus{background:#759333}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a:hover span,#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a:focus span{background:#84a639}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a.stop:hover,#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a.stop:focus{background:#ca4e45}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a.stop:hover span,#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons a.stop:focus span{background:#d26861}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons.app-type-simple a{display:block}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons.app-type-double{margin-right:-2px;display:table}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons.app-type-double:after{content:"";display:block;clear:both}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons.app-type-double a{display:table-cell}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons.app-type-double a:first-child{width:100%}#gs-master-wrapper .app-grid .app-link-wrapper .app-link .app-link-buttons.app-type-double a:last-child{min-width:140px}#gs-master-wrapper .app-grid .app-link-wrapper:hover .app-link .app-image{-webkit-transform:translateY(-20px);-ms-transform:translateY(-20px);transform:translateY(-20px)}#gs-master-wrapper .app-grid .app-link-wrapper:hover .app-link .app-link-info{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);box-shadow:0 -10px 25px -15px rgba(0,0,0,0.2)}#gs-master-wrapper .app-grid .app-link-wrapper:hover .app-link .app-link-info p:not(.app-title){opacity:1}#gs-master-wrapper{font-family:"Source Sans Pro",sans-serif;font-size:16px;color:#606060;margin-left:-20px}#gs-master-wrapper *{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;box-sizing:border-box}#gs-master-wrapper.no-scroll{overflow:hidden}#gs-master-wrapper h1{font-family:"Raleway",sans-serif;font-size:30px;font-weight:800;color:#606060;text-align:center;padding:40px 0 50px}#gs-master-wrapper h1+p{margin-top:10px}#gs-master-wrapper strong{font-weight:700}#gs-master-wrapper p{line-height:18px}#gs-master-wrapper .tooltip{position:relative}#gs-master-wrapper .tooltip.plan-pro>div{background:#e47b1d}#gs-master-wrapper .tooltip.plan-pro>div:before{border-color:transparent transparent #e47b1d transparent}#gs-master-wrapper .tooltip>div{width:184px;font-size:13px;font-weight:normal;color:#fff;background:#000;text-align:left;line-height:15px;padding:10px 15px;position:absolute;top:30px;left:50%;margin-left:-92px;display:none;z-index:5;border-radius:4px;box-shadow:0 2px 7px rgba(0,0,0,0.4)}#gs-master-wrapper .tooltip>div:before{width:0;height:0;border-style:solid;border-width:0 8px 8px 8px;border-color:transparent transparent #000 transparent;content:"";display:block;position:absolute;top:-8px;left:50%;margin-left:-8px}#gs-master-wrapper .tooltip:hover>div{display:block}#gs-master-wrapper main{z-index:3;-webkit-transition:all 400ms cubic-bezier(0.645, 0.045, 0.355, 1);transition:all 400ms cubic-bezier(0.645, 0.045, 0.355, 1)}#gs-master-wrapper main>div.medium,#gs-master-wrapper main>div.small{margin-left:auto !important;margin-right:auto !important}#gs-master-wrapper main>div.medium{max-width:860px}#gs-master-wrapper main>div.small{max-width:600px}#gs-master-wrapper i.fa{font-family:FontAwesome}#gs-master-wrapper i.fa-refresh.rotate{-webkit-transform-origin:50% 46%;-ms-transform-origin:50% 46%;transform-origin:50% 46%;-webkit-animation:rotate 1.5s linear infinite;animation:rotate 1.5s linear infinite}#gs-master-wrapper .col-1{width:6.25%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-2{width:12.5%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-3{width:18.75%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-4{width:25%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-5{width:31.25%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-6{width:37.5%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-7{width:43.75%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-8{width:50%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-9{width:56.25%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-10{width:62.5%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-11{width:68.75%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-12{width:75%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-13{width:81.25%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-14{width:87.5%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-15{width:93.75%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .col-16{width:100%;position:relative;min-height:1px;padding-left:30px;padding-right:30px;float:left}#gs-master-wrapper .clearfix:after{content:"";display:block;clear:both}#gs-master-wrapper .loading-create{display:none}#gs-master-wrapper .loading-create.active{display:inline-block}
|
css/getsocial-style.css
CHANGED
@@ -529,7 +529,6 @@ i.fa {
|
|
529 |
text-align: left;
|
530 |
padding: 10px;
|
531 |
margin-bottom: 20px;
|
532 |
-
min-height: 30px;
|
533 |
background: white;
|
534 |
}
|
535 |
|
529 |
text-align: left;
|
530 |
padding: 10px;
|
531 |
margin-bottom: 20px;
|
|
|
532 |
background: white;
|
533 |
}
|
534 |
|
images/big_total_horizontal.png
DELETED
Binary file
|
images/custom-actions.png
DELETED
Binary file
|
images/floating-bar-big-counter.png
DELETED
Binary file
|
images/floating-bar.png
DELETED
Binary file
|
images/logo.png
DELETED
Binary file
|
images/mobile-bar.png
DELETED
Binary file
|
images/native-bar.png
DELETED
Binary file
|
images/on.png
DELETED
Binary file
|
images/sharing-bar.png
DELETED
Binary file
|
images/social-bar-big-counter.png
DELETED
Binary file
|
images/subscriber-bar.png
DELETED
Binary file
|
images/welcome-bar.png
DELETED
Binary file
|
img/apps/ad-tracker.png
ADDED
Binary file
|
img/apps/address-tracker.png
ADDED
Binary file
|
img/apps/advanced-analytics.png
ADDED
Binary file
|
img/apps/competitor-tracker.png
ADDED
Binary file
|
img/apps/conversions.png
ADDED
Binary file
|
img/apps/custom-actions.png
ADDED
Binary file
|
img/apps/expressions-custom-brand.png
ADDED
Binary file
|
img/apps/floating-bar-big-counter.png
ADDED
Binary file
|
img/apps/floating-bar.png
ADDED
Binary file
|
img/apps/mobile-bar.png
ADDED
Binary file
|
img/apps/native-bar.png
ADDED
Binary file
|
img/apps/price-alert.png
ADDED
Binary file
|
img/apps/sharing-bar.png
ADDED
Binary file
|
img/apps/social-bar-big-counter.png
ADDED
Binary file
|
img/apps/subscriber-bar.png
ADDED
Binary file
|
img/apps/welcome-bar.png
ADDED
Binary file
|
img/getsocial-app-logo.png
ADDED
Binary file
|
init.php
CHANGED
@@ -1,81 +1,163 @@
|
|
1 |
-
|
2 |
-
<?php include('tmpl/
|
3 |
|
4 |
-
|
5 |
-
<?php if( isset($_GET['settings-updated']) && $_GET['settings-updated'] == true): ?>
|
6 |
-
<div id="message" class="updated below-h2">
|
7 |
-
<p>Preferences updated with success</p>
|
8 |
-
</div>
|
9 |
-
<?php endif; ?>
|
10 |
-
|
11 |
-
|
12 |
-
<?php if(get_option('gs-api-key') == ''): ?>
|
13 |
|
14 |
-
|
15 |
-
<div class="step">
|
16 |
-
<h1>Welcome and thanks for downloading GetSocial’s Share Buttons with Analytics.</h1>
|
17 |
-
<p>To get started click on the button below to automatically create a GetSocial account.</strong></p>
|
18 |
|
19 |
-
|
20 |
-
<dl class="gs-clearfix">
|
21 |
-
<dt>URL</dt>
|
22 |
-
<dd><?php echo get_option('siteurl') ?></dd>
|
23 |
-
<dt>Email</dt>
|
24 |
-
<dd><?php echo get_option('admin_email') ?></dd>
|
25 |
|
26 |
-
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
|
29 |
-
<a href="<?php echo $GS->gs_account() ?>/api/v1/sites/create?source=wordpress&email=<?php echo get_option('admin_email') ?>&url=<?php echo get_option('siteurl') ?>" class="button button-primary create-gs-account">
|
30 |
-
Create your account
|
31 |
-
</a>
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
37 |
|
38 |
-
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
</div>
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
43 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
<?php do_settings_sections( 'getsocial-gs-settings' ); ?>
|
49 |
-
<p>Please go to your Getsocial Account and get your API KEY in the site options page.</p>
|
50 |
-
<input id="api-key" type="text" name="gs-api-key" size="60" value="" />
|
51 |
-
<?php submit_button('Save Changes'); ?>
|
52 |
-
</form>
|
53 |
-
</div>
|
54 |
</div>
|
|
|
55 |
|
|
|
|
|
|
|
|
|
|
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
</div>
|
58 |
|
59 |
-
|
60 |
|
61 |
-
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
-
|
|
|
|
|
68 |
|
69 |
-
|
70 |
|
71 |
-
|
72 |
-
|
73 |
-
<
|
74 |
-
|
75 |
-
|
|
|
|
|
76 |
|
77 |
-
|
78 |
|
|
|
|
|
|
|
79 |
<?php endif; ?>
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
</div>
|
1 |
+
<div id="gs-master-wrapper">
|
2 |
+
<?php include('tmpl/header.php'); ?>
|
3 |
|
4 |
+
<?php include('tmpl/alerts.php'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
+
<main>
|
|
|
|
|
|
|
7 |
|
8 |
+
<?php if( isset($_GET['settings-updated']) && $_GET['settings-updated'] == true): ?>
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
+
<div class="notification-bar alert success clearfix small">
|
11 |
+
<div class="col-16">
|
12 |
+
<p>Preferences updated successfully</p>
|
13 |
+
</div>
|
14 |
+
</div>
|
15 |
|
16 |
+
<?php endif; ?>
|
|
|
|
|
|
|
17 |
|
18 |
+
<?php if(get_option('gs-api-key') == ''): ?>
|
19 |
+
<div class="title-wrapper">
|
20 |
+
<h1>Welcome and thanks for downloading <span>GetSocial’s Share Buttons with Analytics.</span></h1>
|
21 |
+
<p>To get started click on the button below to automatically create a GetSocial account.</strong></p>
|
22 |
+
</div>
|
23 |
|
24 |
+
<div class="account-info form small">
|
25 |
+
<div class="form-content">
|
26 |
+
<div class="field-group">
|
27 |
+
<div class="field-label no-desc">
|
28 |
+
<label for="site-name">URL</label>
|
29 |
+
</div>
|
30 |
+
<div class="field-input">
|
31 |
+
<?php echo get_option('siteurl') ?>
|
32 |
+
</div>
|
33 |
</div>
|
34 |
+
<div class="field-group">
|
35 |
+
<div class="field-label no-desc">
|
36 |
+
<label for="site-name">Email</label>
|
37 |
+
</div>
|
38 |
+
<div class="field-input">
|
39 |
+
<?php echo get_option('admin_email') ?>
|
40 |
+
</div>
|
41 |
</div>
|
42 |
+
</div>
|
43 |
+
<div class="form-button-group">
|
44 |
+
<a href="<?php echo $GS->gs_account() ?>/api/v1/sites/create?source=wordpress&email=<?php echo get_option('admin_email') ?>&url=<?php echo get_option('siteurl') ?>" class="button success create-gs-account">Create your account</a>
|
45 |
+
<span class="loading-create button success trans border">
|
46 |
+
<i class="fa fa-refresh rotate"></i> Creating Account...
|
47 |
+
</span>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
|
51 |
+
<div class="notification-bar alert success clearfix small hidden">
|
52 |
+
<div class="col-16">
|
53 |
+
<p><i class="fa fa-check"></i> <strong>Congratulations!</strong> You are ready to start in 3..2..1..</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
</div>
|
55 |
+
</div>
|
56 |
|
57 |
+
<div class="notification-bar alert error clearfix small hidden">
|
58 |
+
<div class="col-16">
|
59 |
+
<p></p>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
|
63 |
+
<div class="small">
|
64 |
+
<form id="api-key-form" method="post" class="api-key form hidden" action="options.php">
|
65 |
+
<?php settings_fields( 'getsocial-gs-settings' ); ?>
|
66 |
+
<?php do_settings_sections( 'getsocial-gs-settings' ); ?>
|
67 |
+
|
68 |
+
<div class="form-content">
|
69 |
+
<div class="field-clean">
|
70 |
+
<div class="field-input">
|
71 |
+
<p>Please go to your Getsocial Account and get your API KEY in the site options page.</p>
|
72 |
+
<input id="gs-api-key" type="text" name="gs-api-key" size="60" value="" />
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
<div class="form-button-group">
|
77 |
+
<input type="submit" class="button success" value="Save Changes" />
|
78 |
+
</div>
|
79 |
+
</form>
|
80 |
</div>
|
81 |
|
82 |
+
<?php else: ?>
|
83 |
|
84 |
+
<?php if( !isset($_GET['tab']) ): ?>
|
85 |
|
86 |
+
<?php //include('tmpl/basic_stats.php') ?>
|
87 |
|
88 |
+
<?php if(!$GS->is_pro()): ?>
|
89 |
+
<div class="alert cta default clearfix simple">
|
90 |
+
<div class="col-16">
|
91 |
+
<p class="alert-title">Use this Coupon <span class="success">33OFF_4LIFE</span> for a 33% discount forever!</p>
|
92 |
+
<p id="info"><strong>This offer is limited to the first 50</strong></p>
|
93 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress" target="_blank" class="button cta pro">Upgrade to PRO @ <strong>6$ / month</strong></a>
|
94 |
+
</div>
|
95 |
+
<!-- <a href="javascript:void(0)" class="close"><i class="fa fa-times"></i></a> -->
|
96 |
+
</div>
|
97 |
+
<?php endif; ?>
|
98 |
|
99 |
+
<div class="medium">
|
100 |
+
<?php include('tmpl/apps.php') ?>
|
101 |
+
</div>
|
102 |
|
103 |
+
<?php else: ?>
|
104 |
|
105 |
+
<?php if( isset($_GET['update']) || isset($_GET['delete']) ): ?>
|
106 |
+
|
107 |
+
<div class="notification-bar alert global success clearfix simple small">
|
108 |
+
<div class="col-16">
|
109 |
+
<p class="alert-title">App <?= isset($_GET['update']) ? 'updated' : 'deactivated' ?> with success</p>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
|
113 |
+
<?php endif; ?>
|
114 |
|
115 |
+
<?php include('tmpl/apps/'.$_GET['tab'].'.php') ?>
|
116 |
+
|
117 |
+
<?php endif; ?>
|
118 |
<?php endif; ?>
|
119 |
+
|
120 |
+
</main>
|
121 |
+
|
122 |
+
<div id="api-key-modal" class="modal-wrapper hide">
|
123 |
+
<div class="modal">
|
124 |
+
<div class="modal-title">
|
125 |
+
<p class="title">Edit your API Key</p>
|
126 |
+
</div>
|
127 |
+
<form id="config-form" method="post" action="options.php" class="form">
|
128 |
+
<?php settings_fields( 'getsocial-gs-settings' ); ?>
|
129 |
+
<?php do_settings_sections( 'getsocial-gs-settings' ); ?>
|
130 |
+
|
131 |
+
<!-- <div class="notification-bar alert error clearfix small">
|
132 |
+
<div class="col-16">
|
133 |
+
<p>Preferences updated successfully</p>
|
134 |
+
</div>
|
135 |
+
</div> -->
|
136 |
+
|
137 |
+
<div class="form-content">
|
138 |
+
<div class="field-group">
|
139 |
+
<div class="field-label no-desc">
|
140 |
+
<label for="">Current<br>API Key</label>
|
141 |
+
</div>
|
142 |
+
<div class="field-input">
|
143 |
+
<p class="api-key-value"><?php echo get_option('gs-api-key'); ?></p>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
<div class="field-group">
|
147 |
+
<div class="field-label no-desc">
|
148 |
+
<label for="">New<br>API Key</label>
|
149 |
+
</div>
|
150 |
+
<div class="field-input">
|
151 |
+
<input type="text" name="gs-api-key" size="60" placeholder="Insert your new API Key here" value="<?php echo get_option('gs-api-key'); ?>" />
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
<div class="form-button-group">
|
156 |
+
<input type="submit" value="Submit New API Key" class="button success">
|
157 |
+
<a href="javascript:void(0)" class="button error trans modal-close">Cancel</a>
|
158 |
+
</div>
|
159 |
+
</form>
|
160 |
+
</div>
|
161 |
+
<div class="modal-cover modal-close"></div>
|
162 |
+
</div>
|
163 |
</div>
|
js/plugin.js
CHANGED
@@ -2,21 +2,20 @@ function resizeIframe(obj) {
|
|
2 |
// obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
|
3 |
}
|
4 |
|
5 |
-
|
6 |
function forceUpdate(event){
|
7 |
var data = {
|
8 |
'action': 'gs_update'
|
9 |
};
|
10 |
|
11 |
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
12 |
-
jQuery.post(ajaxurl, data, function(response) { });
|
13 |
}
|
14 |
|
15 |
var getsocial_window;
|
16 |
|
17 |
-
function checkForUpdate(){
|
18 |
-
|
19 |
-
}
|
20 |
|
21 |
jQuery('.getsocial-tab').on('click', function(e){
|
22 |
e.preventDefault();
|
@@ -24,65 +23,158 @@ jQuery('.getsocial-tab').on('click', function(e){
|
|
24 |
|
25 |
getsocial_window = window.open($this.attr('href'));
|
26 |
|
27 |
-
setInterval('checkForUpdate()',
|
|
|
28 |
})
|
29 |
|
30 |
function handleMessage(event){
|
31 |
-
|
32 |
currEvent = event.data;
|
33 |
|
34 |
-
switch (currEvent)
|
35 |
case 'publish':
|
36 |
forceUpdate(currEvent);
|
|
|
|
|
|
|
37 |
}
|
38 |
}
|
39 |
|
40 |
-
jQuery(function($)
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
});
|
2 |
// obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
|
3 |
}
|
4 |
|
|
|
5 |
function forceUpdate(event){
|
6 |
var data = {
|
7 |
'action': 'gs_update'
|
8 |
};
|
9 |
|
10 |
// since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
11 |
+
jQuery.post(ajaxurl, data, function(response) { console.log('getsocial.io updated')});
|
12 |
}
|
13 |
|
14 |
var getsocial_window;
|
15 |
|
16 |
+
// function checkForUpdate(){
|
17 |
+
// getsocial_window.postMessage("needs update?", "*");
|
18 |
+
// }
|
19 |
|
20 |
jQuery('.getsocial-tab').on('click', function(e){
|
21 |
e.preventDefault();
|
23 |
|
24 |
getsocial_window = window.open($this.attr('href'));
|
25 |
|
26 |
+
// setInterval('checkForUpdate()', 10000);
|
27 |
+
setInterval('forceUpdate()', 5000);
|
28 |
})
|
29 |
|
30 |
function handleMessage(event){
|
|
|
31 |
currEvent = event.data;
|
32 |
|
33 |
+
switch (currEvent){
|
34 |
case 'publish':
|
35 |
forceUpdate(currEvent);
|
36 |
+
break;
|
37 |
+
default:
|
38 |
+
break;
|
39 |
}
|
40 |
}
|
41 |
|
42 |
+
jQuery(function($){
|
43 |
+
jQuery('#api-key-form').submit(function(){
|
44 |
+
var data = jQuery(this).serialize();
|
45 |
+
jQuery('.notification-bar').hide();
|
46 |
+
|
47 |
+
if(jQuery(this).find('#gs-api-key').val() != 0){
|
48 |
+
jQuery(this).find('input').prop('disabled', true);
|
49 |
+
|
50 |
+
jQuery.post( 'options.php', data).success( function(response){
|
51 |
+
jQuery('.loading-create').removeClass('active');
|
52 |
+
jQuery('.notification-bar.success').show();
|
53 |
+
|
54 |
+
setTimeout('window.location.reload();', 3000);
|
55 |
+
});
|
56 |
+
} else {
|
57 |
+
jQuery('.notification-bar.error').show().find('p').html('API KEY cannot be blank.');
|
58 |
+
}
|
59 |
+
|
60 |
+
|
61 |
+
|
62 |
+
return false;
|
63 |
+
});
|
64 |
+
|
65 |
+
jQuery('.create-gs-account').on('click', function(e){
|
66 |
+
e.preventDefault();
|
67 |
+
|
68 |
+
jQuery('.create-gs-account').hide();
|
69 |
+
jQuery('.loading-create').addClass('active');
|
70 |
+
|
71 |
+
jQuery.post(jQuery(this).attr('href'), { source: 'wordpress' }, function(data){
|
72 |
+
console.log(data);
|
73 |
+
if(data.errors != undefined){
|
74 |
+
jQuery('.loading-create').removeClass('active');
|
75 |
+
jQuery('.account-info').hide();
|
76 |
+
jQuery('.notification-bar.error').show().find('p').html(data.errors[0]);
|
77 |
+
jQuery('.api-key').show();
|
78 |
+
} else {
|
79 |
+
jQuery('#gs-api-key').attr('value', data.api_key);
|
80 |
+
jQuery('#api-key-form').trigger('submit');
|
81 |
+
}
|
82 |
+
});
|
83 |
+
});
|
84 |
+
|
85 |
+
if(jQuery('.graphs').length > 0){
|
86 |
+
var $graphs = jQuery('.graphs'),
|
87 |
+
graph_api = $graphs.attr('data-graph-api');
|
88 |
+
|
89 |
+
$.get(graph_api, function(data){
|
90 |
+
$.each(['total_visits', 'total_shares', 'total_leads'], function(i,stat){
|
91 |
+
jQuery('.'+stat).html(data[stat]);
|
92 |
+
});
|
93 |
+
})
|
94 |
+
}
|
95 |
+
|
96 |
+
if (!window.addEventListener){
|
97 |
+
window.attachEvent('onmessage', handleMessage);
|
98 |
+
} else {
|
99 |
+
window.addEventListener('message', handleMessage);
|
100 |
+
}
|
101 |
+
|
102 |
+
/** ==================================== *\
|
103 |
+
* HEADER SUBMENU ACTION
|
104 |
+
* ===================================== */
|
105 |
+
$('body').on('click', function(e) {
|
106 |
+
if($('div.nav-submenu-wrapper').is(':visible')) {
|
107 |
+
$('.nav-submenu.active').removeClass('active');
|
108 |
+
$('div.nav-submenu-wrapper').stop().delay(200).hide(0);
|
109 |
+
}
|
110 |
+
});
|
111 |
+
|
112 |
+
$('.nav-submenu-link > a').on('click', function(e){
|
113 |
+
e.stopPropagation();
|
114 |
+
|
115 |
+
var $menu = $(this).next('.nav-submenu-wrapper'),
|
116 |
+
$menu_list = $menu.find('.nav-submenu');
|
117 |
+
|
118 |
+
if( $menu.is(':visible') ){
|
119 |
+
$menu_list.removeClass('active');
|
120 |
+
$menu.stop().delay(200).hide(0);
|
121 |
+
} else {
|
122 |
+
var $menu_active = $('.nav-submenu.active');
|
123 |
+
$menu_active.removeClass('active');
|
124 |
+
$menu_active.parent().stop().delay(200).hide(0);
|
125 |
+
|
126 |
+
$menu.stop().show();
|
127 |
+
var $menu_height = $menu.find('.nav-submenu').outerHeight();
|
128 |
+
$menu.css({ height: $menu_height });
|
129 |
+
$menu_list.addClass('active');
|
130 |
+
}
|
131 |
+
});
|
132 |
+
|
133 |
+
/** ==================================== *\
|
134 |
+
* SCROLL TO TOP
|
135 |
+
* ===================================== */
|
136 |
+
$('#backToTop').on('click', function(){
|
137 |
+
$('html, body').animate({ scrollTop: 0 }, 400);
|
138 |
+
});
|
139 |
+
|
140 |
+
/** ==================================== *\
|
141 |
+
* MODAL ACTION
|
142 |
+
* ===================================== */
|
143 |
+
function modal(trigger){
|
144 |
+
$(trigger).on('click', function(){
|
145 |
+
$('div.modal-wrapper').find('input[type="text"]').val('');
|
146 |
+
|
147 |
+
if(trigger !== '#need-help') {
|
148 |
+
$('div.modal-wrapper').find('textarea').val('');
|
149 |
+
}
|
150 |
+
|
151 |
+
if(trigger === '.download' && !window.ANAL_2ND_LEVEL) {
|
152 |
+
return;
|
153 |
+
}
|
154 |
+
|
155 |
+
var modal_link = $(this).attr('id'),
|
156 |
+
modal_id = '#' + modal_link + '-modal';
|
157 |
+
|
158 |
+
if( !$(modal_id).hasClass('active') ){
|
159 |
+
$(modal_id).removeClass('hide').addClass('active');
|
160 |
+
$('#gs-master-wrapper').addClass('no-scroll');
|
161 |
+
}
|
162 |
+
});
|
163 |
+
$('.modal-close').on('click', function(){
|
164 |
+
$('.modal-wrapper.active').stop().removeClass('active').addClass('rewind').delay(700).queue(function(){
|
165 |
+
$(this).removeClass('rewind').addClass('hide');
|
166 |
+
$('#gs-master-wrapper').removeClass('no-scroll');
|
167 |
+
$.dequeue(this);
|
168 |
+
});
|
169 |
+
});
|
170 |
+
}
|
171 |
+
modal('#api-key');
|
172 |
+
|
173 |
+
function closeModal() {
|
174 |
+
$('.modal-wrapper.active').stop().removeClass('active').addClass('rewind').delay(700).queue(function(){
|
175 |
+
$(this).removeClass('rewind').addClass('hide');
|
176 |
+
$.dequeue(this);
|
177 |
+
});
|
178 |
+
}
|
179 |
+
|
180 |
});
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: addthis share, addtoany share, artiss social share , big counter, bookmar
|
|
6 |
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.1
|
9 |
-
Stable tag: 2.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -16,7 +16,7 @@ Share buttons for Wordpress. Includes Mobile and Total Shares. Increase traffic
|
|
16 |
|
17 |
**Share Buttons by GetSocial.io** is a free WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
|
18 |
|
19 |
-
GetSocial.io is the social media app store for all your needs: **from awareness to conversion**. You can find more info about our product <a href="http://getsocial.io/?utm_source=wordpress_plugin">here</a>. In this plugin, you
|
20 |
|
21 |
<h4>Social Sharing Features</h4>
|
22 |
|
@@ -30,7 +30,7 @@ GetSocial.io is the social media app store for all your needs: **from awareness
|
|
30 |
|
31 |
* **Welcome Bar**: Easily lead your visitors to a specific link. Great to generate conversions, engage with promotions and increase traffic. Increase your conversion rates and improve your funnel with this hello bar like feature. Track conversions coming from this top bar for wordpress.
|
32 |
|
33 |
-
* **Subscriber Bar**: Easily capture emails from your visitors by providing them with an engaging top bar. Export data to your favorite CRM or e-Mail marketing software. Improve engagement, conversion and even sales with this easy to install, no code required.
|
34 |
|
35 |
* **Conversion Tracking**: Understand how social sharing is driving your conversions. Analyze results per user, per post or per social network. Social sharing definitely contributes to your website and your share analytics shall prove just that
|
36 |
|
@@ -145,17 +145,21 @@ Have more doubts? You can go to <a href="http://feedback.getsocial.io">Getsocial
|
|
145 |
|
146 |
== Changelog ==
|
147 |
|
|
|
|
|
|
|
|
|
148 |
**2.3**
|
149 |
|
150 |
-
- Added Subscriber Bar App
|
151 |
|
152 |
**2.2**
|
153 |
|
154 |
-
- Added Welcome Bar App
|
155 |
|
156 |
**2.1**
|
157 |
|
158 |
-
- Added Big Total Shares Floating and Horizontal new apps
|
159 |
|
160 |
**2.0.1**
|
161 |
|
6 |
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.1
|
9 |
+
Stable tag: 2.4
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
16 |
|
17 |
**Share Buttons by GetSocial.io** is a free WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
|
18 |
|
19 |
+
GetSocial.io is the social media app store for all your needs: **from awareness to conversion**. You can find more info about our product <a href="http://getsocial.io/?utm_source=wordpress_plugin">here</a>. In this plugin, you'll find the following features:
|
20 |
|
21 |
<h4>Social Sharing Features</h4>
|
22 |
|
30 |
|
31 |
* **Welcome Bar**: Easily lead your visitors to a specific link. Great to generate conversions, engage with promotions and increase traffic. Increase your conversion rates and improve your funnel with this hello bar like feature. Track conversions coming from this top bar for wordpress.
|
32 |
|
33 |
+
* **Subscriber Bar**: Easily capture emails from your visitors by providing them with an engaging top bar. Export data to your favorite CRM or e-Mail marketing software. Improve engagement, conversion and even sales with this easy to install, no code required feature.
|
34 |
|
35 |
* **Conversion Tracking**: Understand how social sharing is driving your conversions. Analyze results per user, per post or per social network. Social sharing definitely contributes to your website and your share analytics shall prove just that
|
36 |
|
145 |
|
146 |
== Changelog ==
|
147 |
|
148 |
+
**2.4**
|
149 |
+
|
150 |
+
- New Plugin UI.
|
151 |
+
|
152 |
**2.3**
|
153 |
|
154 |
+
- Added Subscriber Bar App.
|
155 |
|
156 |
**2.2**
|
157 |
|
158 |
+
- Added Welcome Bar App.
|
159 |
|
160 |
**2.1**
|
161 |
|
162 |
+
- Added Big Total Shares Floating and Horizontal new apps.
|
163 |
|
164 |
**2.0.1**
|
165 |
|
tmpl/apps.php
CHANGED
@@ -1,111 +1,111 @@
|
|
|
|
1 |
|
2 |
-
<
|
3 |
-
|
|
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
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 |
-
|
52 |
-
|
53 |
-
|
54 |
-
),
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
),
|
62 |
-
'
|
63 |
-
|
64 |
-
|
65 |
-
'href' => $GS->gs_account().'/sites/gs-wordpress/welcome_bars/new?api_key='.$GS->api_key.'&source=wordpress',
|
66 |
-
"desc" => "Easily lead your visitors to a specific link. Great to generate conversions, engage with promotions and increase traffic. No code needed."
|
67 |
-
),
|
68 |
-
'Subscriber Bar' => array(
|
69 |
-
'file' => 'subscriber-bar',
|
70 |
-
'active' => $GS->is_active('subscriber_bar'),
|
71 |
-
'pro' => true,
|
72 |
-
'href' => $GS->gs_account().'/sites/gs-wordpress/subscribe_bars/new?api_key='.$GS->api_key.'&source=wordpress',
|
73 |
-
"desc" => "Easily capture emails from your visitors by providing them with an engaging top bar. Export data to your favorite CRM or e-Mail marketing software."
|
74 |
-
),
|
75 |
-
);
|
76 |
-
|
77 |
-
foreach($apps as $app => $settings):
|
78 |
-
?>
|
79 |
|
80 |
-
|
81 |
-
|
82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
<div class="app-status pro">Pro</div>
|
92 |
-
<?php else: ?>
|
93 |
-
<div class="app-status free">Free</div>
|
94 |
-
<?php endif; ?>
|
95 |
-
|
96 |
-
</div>
|
97 |
-
<?php echo $app ?>
|
98 |
<p><?php echo $settings['desc'] ?></p>
|
99 |
</div>
|
100 |
-
<div class="app-link-buttons app-type-
|
101 |
-
<a
|
102 |
-
<?php echo ($settings['active']) ? '
|
103 |
</a>
|
104 |
</div>
|
105 |
-
|
106 |
</div>
|
107 |
-
|
108 |
-
<?php endforeach; ?>
|
109 |
-
|
110 |
</div>
|
|
|
|
|
111 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<h1>Install your apps bellow</h1>
|
2 |
|
3 |
+
<div class="app-grid clearfix">
|
4 |
+
<?php
|
5 |
+
$apps = array(
|
6 |
|
7 |
+
'Horizontal Sharing Bar' => array(
|
8 |
+
'file' => 'sharing-bar',
|
9 |
+
'active' => $GS->is_active('sharing_bar'),
|
10 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/groups/new?api_key='.$GS->api_key.'&source=wordpress',
|
11 |
+
'desc' => "Use one of our templates or design your own social sharing bar. Customize size, shape & colour and pick from 15 social networks."
|
12 |
+
),
|
13 |
+
'Mobile Sharing Bar' => array(
|
14 |
+
'file' => 'mobile-bar',
|
15 |
+
'active' => $GS->is_active('mobile_bar'),
|
16 |
+
'pro' => true,
|
17 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/mobile_bar/new?api_key='.$GS->api_key.'&source=wordpress',
|
18 |
+
"desc" => "Mobile Web is one of the fastest growing platform both in traffic and shares. Don't miss out on the opportunity to boost your traffic with our slick mobile web sharing interface. No code needed."
|
19 |
+
),
|
20 |
+
'Floating Sharing Bar' => array(
|
21 |
+
'file' => 'floating-bar',
|
22 |
+
'active' => $GS->is_active('floating_bar'),
|
23 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/floating_bar/new?api_key='.$GS->api_key.'&source=wordpress',
|
24 |
+
"desc" => "Use one of our templates or design your own floating sharing bar. Customize size, shape & placement and pick from 15 social networks."
|
25 |
+
),
|
26 |
+
'Big Total Shares Horizontal' => array(
|
27 |
+
'file' => 'social-bar-big-counter',
|
28 |
+
'active' => $GS->is_active('social_bar_big_counter'),
|
29 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/big_counter_sharing_bar/new?api_key='.$GS->api_key.'&source=wordpress',
|
30 |
+
'pro' => true,
|
31 |
+
'desc' => "Increase engagement by showing the total number of shares in a big counter on the left of your horizontal share bar."
|
32 |
+
),
|
33 |
+
'Native Sharing Bar' => array(
|
34 |
+
'file' => 'native-bar',
|
35 |
+
'active' => $GS->is_active('native_bar'),
|
36 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/native_bar/new?api_key='.$GS->api_key.'&source=wordpress',
|
37 |
+
'desc' => "It doesn't get much more classic than this. Your native sharing buttons with tracking abilities. Great for those who want to keep it real."
|
38 |
+
),
|
39 |
+
'Big Total Shares Floating' => array(
|
40 |
+
'file' => 'floating-bar-big-counter',
|
41 |
+
'active' => $GS->is_active('floating_bar_big_counter'),
|
42 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/big_counter_floating_bar/new?api_key='.$GS->api_key.'&source=wordpress',
|
43 |
+
'pro' => true,
|
44 |
+
'desc' => "Increase engagement by showing the total number of shares in a big counter on top of your floating share bar."
|
45 |
+
),
|
46 |
+
'Welcome Bar' => array(
|
47 |
+
'file' => 'welcome-bar',
|
48 |
+
'active' => $GS->is_active('welcome_bar'),
|
49 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/welcome_bars/new?api_key='.$GS->api_key.'&source=wordpress',
|
50 |
+
"desc" => "Easily lead your visitors to a specific link. Great to generate conversions, engage with promotions and increase traffic. No code needed."
|
51 |
+
),
|
52 |
+
'Subscriber Bar' => array(
|
53 |
+
'file' => 'subscriber-bar',
|
54 |
+
'active' => $GS->is_active('subscriber_bar'),
|
55 |
+
'pro' => true,
|
56 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/subscribe_bars/new?api_key='.$GS->api_key.'&source=wordpress',
|
57 |
+
"desc" => "Easily capture emails from your visitors by providing them with an engaging top bar. Export data to your favorite CRM or e-Mail marketing software."
|
58 |
+
),
|
59 |
+
'Custom Sharing Actions' => array(
|
60 |
+
'file' => 'custom-actions',
|
61 |
+
'active' => $GS->is_active('custom_actions'),
|
62 |
+
'pro' => true,
|
63 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/elements/new?api_key='.$GS->api_key.'&source=wordpress',
|
64 |
+
'desc' => "Sometimes we need to say more than a simple 'Like'. Here you'll find more than 50 custom stories such as Awesome, Wish or Love."
|
65 |
+
),
|
66 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
+
foreach($apps as $app => $settings):
|
69 |
+
?>
|
70 |
|
71 |
+
<div class="app-link-wrapper">
|
72 |
+
<?php if($settings['active']): ?>
|
73 |
+
<div class="app-status tooltip">
|
74 |
+
<i class="fa fa-check"></i>
|
75 |
+
<div>This app is installed</div>
|
76 |
+
</div>
|
77 |
+
<?php else: ?>
|
78 |
+
<?php if( isset($settings['pro']) && $settings['pro'] ): ?>
|
79 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?= $GS->api_key ?>&source=wordpress" target="_blank" class="app-link-plan clearfix text-right tooltip plan-pro">
|
80 |
+
Pro <div>This app is only available in the <strong>Pro plan</strong></div>
|
81 |
+
</a>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endif; ?>
|
84 |
|
85 |
+
<div class="app-link">
|
86 |
+
<!-- <div class="app-badge badge-special">New</div> -->
|
87 |
+
<div class="app-image">
|
88 |
+
<img src="<?php echo plugins_url( '../img/apps/'.$settings['file'].'.png', __FILE__ ) ?>" alt="">
|
89 |
+
</div>
|
90 |
+
<div class="app-link-info">
|
91 |
+
<p class="app-title"><?php echo $app ?></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
<p><?php echo $settings['desc'] ?></p>
|
93 |
</div>
|
94 |
+
<div class="app-link-buttons app-type-simple">
|
95 |
+
<a href="<?php echo $settings['href'] ?>" target="_blank" class="getsocial-tab">
|
96 |
+
<?php echo ($settings['active']) ? 'Edit App' : 'Install App' ?>
|
97 |
</a>
|
98 |
</div>
|
|
|
99 |
</div>
|
|
|
|
|
|
|
100 |
</div>
|
101 |
+
|
102 |
+
<?php endforeach; ?>
|
103 |
</div>
|
104 |
+
|
105 |
+
<footer>
|
106 |
+
<a id="backToTop" href="javascript:void(0)" class="button primary"><i class="fa fa-angle-up"></i> Back to Top</a>
|
107 |
+
<?php if(!$GS->is_pro()): ?>
|
108 |
+
or
|
109 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?= $GS->api_key ?>&source=wordpress" target="_blank" class="button plan-pro">Upgrade to Pro</a>
|
110 |
+
<?php endif; ?>
|
111 |
+
</footer>
|
tmpl/basic_stats.php
CHANGED
@@ -1,25 +1,47 @@
|
|
1 |
-
<h2>
|
2 |
-
<i class="fa fa-bar-chart"></i>Stats
|
3 |
-
<?php $from = date('Y-m-d', strtotime('-8 days')) ?>
|
4 |
-
<?php $to = date('Y-m-d', strtotime('-1 days')) ?>
|
5 |
-
<small>from <strong><?php echo $from ?></strong> to <strong><?php echo $to ?></strong></small>
|
6 |
-
<a href="<?php echo $GS->gs_account().'/sites/gs-wordpress/analytics/dashboard?api_key='.$GS->api_key.'&source=wordpress' ?>" target="_blank" class="btn btn-default"><i class="fa fa-area-chart"></i>Detailed Stats</a>
|
7 |
-
</h2>
|
8 |
|
9 |
-
<div class="
|
10 |
-
<div class="
|
11 |
-
<div class="
|
12 |
-
<
|
13 |
-
<
|
|
|
14 |
</div>
|
15 |
-
<
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</div>
|
19 |
-
<div class="
|
20 |
-
<
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
22 |
</div>
|
23 |
</div>
|
24 |
-
<div class="
|
|
|
|
|
|
|
|
|
|
|
25 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
+
<div class="title-wrapper">
|
3 |
+
<!-- <div class="alert global primary clearfix simple">
|
4 |
+
<div class="col-16">
|
5 |
+
<p class="alert-title">Use this COUPON <span class="success">33OFF_4LIFE</span> for a 33% discount forever!</p>
|
6 |
+
<p><strong>This offer is limited to the first 100 (only 11 left)</strong></p>
|
7 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?= $GS->api_key ?>&source=wordpress" class="button cta pro" target="_blank">Upgrade to Pro</a>
|
8 |
</div>
|
9 |
+
<a href="javascript:void(0)" class="close"><i class="fa fa-times"></i></a>
|
10 |
+
</div> -->
|
11 |
+
|
12 |
+
<div id="dashboard-analytics" class="clearfix" data-graph-api="<?php echo $GS->api_url('sites/analytics/'.get_option('gs-api-key')) ?>">
|
13 |
+
<div class="dashboard-tile">
|
14 |
+
<div class="visits">
|
15 |
+
<a href="<?php echo $GS->gs_account().'/sites/gs-wordpress/analytics/dashboard?api_key='.$GS->api_key.'&source=wordpress' ?>" target="_blank" class="overlay tile-overlay">
|
16 |
+
<span>View details</span>
|
17 |
+
</a>
|
18 |
+
Visits
|
19 |
+
<span class="small total_visits">(No data to be displayed)</span>
|
20 |
+
</div>
|
21 |
+
</div>
|
22 |
+
<div class="dashboard-tile">
|
23 |
+
<div class="shares">
|
24 |
+
<a href="<?php echo $GS->gs_account().'/sites/gs-wordpress/analytics/dashboard?api_key='.$GS->api_key.'&source=wordpress' ?>" target="_blank" class="overlay tile-overlay">
|
25 |
+
<span>View details</span>
|
26 |
+
</a>
|
27 |
+
Shares
|
28 |
+
<span class="small total_shares">(No data to be displayed)</span>
|
29 |
+
</div>
|
30 |
</div>
|
31 |
+
<div class="dashboard-tile">
|
32 |
+
<div class="leads">
|
33 |
+
<a href="<?php echo $GS->gs_account().'/sites/gs-wordpress/analytics/dashboard?api_key='.$GS->api_key.'&source=wordpress' ?>" target="_blank" class="overlay tile-overlay">
|
34 |
+
<span>View details</span>
|
35 |
+
</a>
|
36 |
+
Leads
|
37 |
+
<span class="small total_leads">(No data to be displayed)</span>
|
38 |
+
</div>
|
39 |
</div>
|
40 |
</div>
|
41 |
+
<div class="dashboard-info">
|
42 |
+
<?php $from = date('d-m-Y', strtotime('-8 days')) ?>
|
43 |
+
<?php $to = date('d-n-Y', strtotime('-1 days')) ?>
|
44 |
+
Stats collected from <strong><?php echo $from ?></strong> to <strong><?php echo $to ?></strong>
|
45 |
+
<a href="<?php echo $GS->gs_account().'/sites/gs-wordpress/analytics/dashboard?api_key='.$GS->api_key.'&source=wordpress' ?>" target="_blank">View detailed Stats</a>
|
46 |
+
</div>
|
47 |
</div>
|
tmpl/header.php
CHANGED
@@ -14,8 +14,7 @@ $GS = new GS( get_option('gs-api-key'),
|
|
14 |
|
15 |
$site_info = $GS->refreshSite();
|
16 |
|
17 |
-
wp_register_style( 'getsocial-style', plugins_url('../css/getsocial-style.css', __FILE__) );
|
18 |
-
|
19 |
wp_enqueue_style( 'getsocial-style' );
|
20 |
|
21 |
wp_register_script( 'plugin', plugins_url('../js/plugin.js', __FILE__) );
|
@@ -24,42 +23,55 @@ wp_enqueue_script( 'plugin' );
|
|
24 |
|
25 |
?>
|
26 |
|
27 |
-
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
28 |
-
|
29 |
-
<header class="gs-clearfix">
|
30 |
-
<div class="wrap-header">
|
31 |
-
<h1>
|
32 |
-
<img src="<?php echo plugins_url( '../images/logo.png', __FILE__ ) ?>" alt="GetSocial" />
|
33 |
-
<?php if(isset($sub_menu)): ?>
|
34 |
-
<small>- <?php echo $sub_menu ?></small>
|
35 |
-
<?php endif; ?>
|
36 |
-
</h1>
|
37 |
-
|
38 |
-
<h2>
|
39 |
-
We provide trackable social sharing buttons that identify which visitors are sharing your content. <br/>
|
40 |
-
We also help you understand how social sharing is contributing to your traffic and conversions.
|
41 |
-
</h2>
|
42 |
-
</div>
|
43 |
-
|
44 |
-
</header>
|
45 |
-
|
46 |
-
<?php if(get_option('gs-api-key') != ''): ?>
|
47 |
-
<div class="cl"></div>
|
48 |
-
<div class="top-nav">
|
49 |
-
<div class="wrap">
|
50 |
-
<a href="admin.php?page=<?php echo slug_path('init.php') ?>" class="<?php echo !isset($_GET['tab']) ? 'active' : '' ?>"><i class="fa fa-home"></i>Home</a>
|
51 |
-
<a href="admin.php?page=<?php echo slug_path('init.php&tab=settings') ?>" class="<?php echo ($_GET['tab'] == 'settings') ? 'active' : '' ?>"><i class="fa fa-cog"></i>Settings</a>
|
52 |
-
<a href="mailto:support@getsocial.io?subject=GetSocial.io Wordpress Plugin Support"><i class="fa fa-question-circle"></i>Can we help you?</a>
|
53 |
-
</div>
|
54 |
-
</div>
|
55 |
-
<?php endif; ?>
|
56 |
-
|
57 |
|
|
|
|
|
58 |
|
59 |
<script type="text/javascript">
|
60 |
function toggle(id) {
|
61 |
var e = document.getElementById(id);
|
62 |
-
|
63 |
e.style.display = (e.style.display == 'block' ? 'none' : 'block');
|
64 |
}
|
65 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
$site_info = $GS->refreshSite();
|
16 |
|
17 |
+
wp_register_style( 'getsocial-style', plugins_url('../css/getsocial-source-style.css', __FILE__) );
|
|
|
18 |
wp_enqueue_style( 'getsocial-style' );
|
19 |
|
20 |
wp_register_script( 'plugin', plugins_url('../js/plugin.js', __FILE__) );
|
23 |
|
24 |
?>
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
+
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400italic,600,700|Raleway:800">
|
28 |
+
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" media="all">
|
29 |
|
30 |
<script type="text/javascript">
|
31 |
function toggle(id) {
|
32 |
var e = document.getElementById(id);
|
|
|
33 |
e.style.display = (e.style.display == 'block' ? 'none' : 'block');
|
34 |
}
|
35 |
</script>
|
36 |
+
|
37 |
+
<header>
|
38 |
+
<div id="main-subnav" class="clearfix">
|
39 |
+
<a id="logo-wrapper" href="http://getsocial.io" target="_blank">
|
40 |
+
<img src="<?php echo plugins_url('../img/getsocial-app-logo.png', __FILE__ ) ?>" alt="GetSocial">
|
41 |
+
</a>
|
42 |
+
<div>
|
43 |
+
<ul class="clearfix">
|
44 |
+
<?php if(get_option('gs-api-key') != ''): ?>
|
45 |
+
|
46 |
+
<li class="nav-submenu-link">
|
47 |
+
<a id="api-key" href="javascript:void(0)">
|
48 |
+
<span class="idle">API Key</span><span class="active"><i class="fa fa-pencil"></i> Edit</span> <?php echo get_option('gs-api-key'); ?>
|
49 |
+
</a>
|
50 |
+
</li>
|
51 |
+
|
52 |
+
<li class="nav-submenu-link">
|
53 |
+
<a href="<?php echo $GS->gs_account().'/sites/gs-wordpress/analytics/dashboard?api_key='.$GS->api_key.'&source=wordpress' ?>" target="_blank"><i class="fa fa-bar-chart"></i> Social Analytics</i></a>
|
54 |
+
</li>
|
55 |
+
<?php endif; ?>
|
56 |
+
<li class="nav-submenu-link">
|
57 |
+
<a href="javascript:void(0)"><i class="fa fa-question-circle"></i> Help & Support <i class="fa fa-angle-down"></i></a>
|
58 |
+
<div class="nav-submenu-wrapper">
|
59 |
+
<ul class="nav-submenu">
|
60 |
+
<li>
|
61 |
+
<a href="mailto:support@getsocial.io?subject=GetSocial.io - Wordpress Plugin Support">Email Support</a>
|
62 |
+
</li>
|
63 |
+
<li>
|
64 |
+
<a href="http://feedback.getsocial.io/" target="_blank"><i class="fa fa-life-bouy"></i> Documentation</a>
|
65 |
+
</li>
|
66 |
+
</ul>
|
67 |
+
</div>
|
68 |
+
</li>
|
69 |
+
<?php if(get_option('gs-api-key') != '' && !$GS->is_pro()): ?>
|
70 |
+
<li id="user-nav" class="nav-submenu-link">
|
71 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress" target="_blank" class="button plan-pro">Upgrade to PRO</a>
|
72 |
+
</li>
|
73 |
+
<?php endif; ?>
|
74 |
+
</ul>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
</header>
|
wp-share-buttons-analytics-getsocial.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Share Buttons & Mobile Sharing by GetSocial.io
|
4 |
* Plugin URI: http://getsocial.io
|
5 |
* Description: Share buttons for Wordpress and Mobile. Increase traffic from Facebook, Twitter, Google+, Pinterest and others. No code required.
|
6 |
-
* Version: 2.
|
7 |
* Author: Getsocial, S.A.
|
8 |
* Author URI: http://getsocial.io
|
9 |
* License: GPL2
|
@@ -18,7 +18,7 @@ add_action( 'admin_menu', 'gs_getsocial_menu' );
|
|
18 |
function gs_getsocial_menu(){
|
19 |
$GS = get_gs();
|
20 |
|
21 |
-
add_menu_page( 'GetSocial', 'GetSocial', 'manage_options', slug_path('init.php'), '',
|
22 |
add_action( 'admin_init', 'register_gs_settings' );
|
23 |
}
|
24 |
|
3 |
* Plugin Name: Share Buttons & Mobile Sharing by GetSocial.io
|
4 |
* Plugin URI: http://getsocial.io
|
5 |
* Description: Share buttons for Wordpress and Mobile. Increase traffic from Facebook, Twitter, Google+, Pinterest and others. No code required.
|
6 |
+
* Version: 2.4
|
7 |
* Author: Getsocial, S.A.
|
8 |
* Author URI: http://getsocial.io
|
9 |
* License: GPL2
|
18 |
function gs_getsocial_menu(){
|
19 |
$GS = get_gs();
|
20 |
|
21 |
+
add_menu_page( 'GetSocial', 'GetSocial', 'manage_options', slug_path('init.php'), '', 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgMjAiPjxwYXRoIGZpbGw9IiMzMzlFRDUiIGQ9Ik0xOCAwaC0xNmMtMS4xIDAtMiAuOS0yIDJ2MTZjMCAxLjEuOSAyIDIgMmgxNmMxLjEgMCAyLS45IDItMnYtMTZjMC0xLjEtLjktMi0yLTJ6bS0xMS45IDE0LjZjLTIgMC00LjEtMS4yLTQuMS0zLjkgMC0xLjMuNi0yLjcgMS42LTMuN3MyLjMtMS42IDMuOS0xLjZjMS44IDAgMi45LjcgMy42IDEuNWwtMS41IDEuM2MtLjUtLjYtMS4yLTEtMi4zLTEtLjkgMC0xLjcuNC0yLjMgMS0uNi42LTEgMS41LTEgMi41IDAgMS40IDEgMi4xIDIuMiAyLjEuNyAwIDEuMi0uMiAxLjYtLjNsLjQtMS41aC0xLjlsLjQtMS43aDMuOGwtMS4yIDQuNGMtLjkuNi0xLjkuOS0zLjIuOXptOC45LTUuMmMxLjIuNSAyIDEuMSAyIDIuMyAwIC43LS4zIDEuNC0uNyAxLjktLjYuNi0xLjUgMS0yLjUgMS0xLjYgMC0yLjgtLjUtMy42LTEuNWwxLjMtMS4xYy43LjggMS41IDEuMSAyLjQgMS4xLjggMCAxLjQtLjQgMS40LTEuMSAwLS41LS4zLS44LTEuNS0xLjMtMS4xLS41LTItMS0yLTIuMyAwLS43LjMtMS40LjctMS45LjYtLjYgMS41LTEgMi42LTEgMS4zIDAgMi4zLjQgMyAxLjJsLTEuMyAxLjNjLS42LS42LTEuMi0uOS0yLS45LS45IDAtMS40LjUtMS40IDEgMCAuNi41LjggMS42IDEuM3oiLz48L3N2Zz4=' );
|
22 |
add_action( 'admin_init', 'register_gs_settings' );
|
23 |
}
|
24 |
|