Version Description
Download this release
Release Info
Developer | clickfunnels.com |
Plugin | ClickFunnels |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0 to 2.0.1
- admin_testing.php +84 -0
- cf-template.php +14 -0
- clickfunnels.php +3 -3
- footer.php +1 -1
- geobg.png +0 -0
- js/admin.js +53 -0
- js/hidedraft.js +3 -0
- readme.md +1 -1
- readme.txt +6 -2
- support.php +280 -0
admin_testing.php
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
<script>
|
3 |
+
(function($) {
|
4 |
+
setTimeout(function() {
|
5 |
+
$('#errorMessage').fadeOut();
|
6 |
+
}, 1500);
|
7 |
+
var specificFunnel = 'https://api.clickfunnels.com/funnels.json?email=<?php echo get_option( "clickfunnels_api_email" ); ?>&auth_token=<?php echo get_option( "clickfunnels_api_auth" ); ?>';
|
8 |
+
$.getJSON(specificFunnel, function(data) {
|
9 |
+
$('.checkSuccess').html('<i class="fa fa-check successGreen"></i>');
|
10 |
+
$('.checkSuccessDev').html('<i class="fa fa-check"> Connected</i>');
|
11 |
+
|
12 |
+
}).fail(function(jqXHR) {
|
13 |
+
$('.checkSuccess').html('<i class="fa fa-times errorRed"></i>');
|
14 |
+
$('.checkSuccessDev').html('<i class="fa fa-times"> Not Connected</i>');
|
15 |
+
$('.badAPI').show();
|
16 |
+
});
|
17 |
+
$('#showDataTesting').click(function() {
|
18 |
+
$('#devShowTesting').toggle();
|
19 |
+
});
|
20 |
+
})(jQuery);
|
21 |
+
</script>
|
22 |
+
<style>
|
23 |
+
#checkPHPStuff {
|
24 |
+
padding: 10px 15px;
|
25 |
+
background: #272822;
|
26 |
+
border-bottom: 3px solid rgba(0,0,0,0.25);
|
27 |
+
color: #D3D3C9;
|
28 |
+
border-radius: 5px;
|
29 |
+
margin:30px 10px;
|
30 |
+
float: left;
|
31 |
+
margin-left: 195px;
|
32 |
+
width: 340px;
|
33 |
+
}
|
34 |
+
#checkPHPStuff span {
|
35 |
+
display: block;
|
36 |
+
line-height: 1.6em;
|
37 |
+
padding: 4px 0;
|
38 |
+
border-bottom: 1px solid rgba(255, 255, 255, .3);
|
39 |
+
}
|
40 |
+
#checkPHPStuff span strong {
|
41 |
+
float: right;
|
42 |
+
}
|
43 |
+
#checkPHPStuff span strong i.fa-check {
|
44 |
+
font-weight: bold;
|
45 |
+
color: #8FC742;
|
46 |
+
}
|
47 |
+
#checkPHPStuff span strong i.fa-times {
|
48 |
+
font-weight: bold;
|
49 |
+
color: #E34E3D;
|
50 |
+
}
|
51 |
+
#checkPHPStuff span:last-child {
|
52 |
+
border-bottom: none;
|
53 |
+
}
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
#checkJSONStuff h3, #checkPHPStuff h3 {
|
58 |
+
color: #D3D3C9;
|
59 |
+
margin: 10px 0;
|
60 |
+
font-weight: 200;
|
61 |
+
opacity: .5;
|
62 |
+
}
|
63 |
+
|
64 |
+
#adminTesting h2 {
|
65 |
+
text-align: center;
|
66 |
+
margin: 10px 0;
|
67 |
+
margin-bottom: 0;
|
68 |
+
width: 760px;
|
69 |
+
}
|
70 |
+
</style>
|
71 |
+
<div id="devShowTesting" style="display: none">
|
72 |
+
<br clear="both"><br>
|
73 |
+
<div id="adminTesting">
|
74 |
+
<h2><i class="fa fa-dashboard"></i> Developer Testing Check PHP and JSON</h2>
|
75 |
+
</div>
|
76 |
+
<div id="checkPHPStuff" >
|
77 |
+
<h3>Test PHP Server Details</h3>
|
78 |
+
<span>CURL: <strong><?php echo function_exists('curl_version') ? '<i class="fa fa-check"> Enabled</i>' : '<i class="fa fa-times">Disabled</i>' ?></strong></span>
|
79 |
+
<span>File Get Contents: <strong><?php echo file_get_contents(__FILE__) ? '<i class="fa fa-check"> Enabled</i>' : '<i class="fa fa-times">Disabled</i>' ; ?> </strong></span>
|
80 |
+
<span>Allow URL fopen: <strong><?php echo ini_get('allow_url_fopen') ? '<i class="fa fa-check"> Enabled</i>' : '<i class="fa fa-times">Disabled</i>' ; ?> </strong></span>
|
81 |
+
<span>PHP Version: <strong><?php echo PHP_VERSION; ?> </strong></span>
|
82 |
+
<span>API Authorization Connection: <strong class='checkSuccessDev'></strong></span>
|
83 |
+
</div>
|
84 |
+
</div>
|
cf-template.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
* {
|
3 |
+
margin: 0 !important;
|
4 |
+
padding: 0 !important;
|
5 |
+
}
|
6 |
+
</style>
|
7 |
+
<?php
|
8 |
+
$key_1_value = get_post_meta( get_the_ID(), '_my_meta_value_key', true );
|
9 |
+
// Check if the custom field has a value.
|
10 |
+
if ( ! empty( $key_1_value ) ) {
|
11 |
+
echo '<iframe width="100%" height="100%" src="'.$key_1_value.'" frameborder="0" allowfullscreen></iframe>';
|
12 |
+
}
|
13 |
+
|
14 |
+
?>
|
clickfunnels.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: ClickFunnels
|
4 |
* Plugin URI: https://www.clickfunnels.com
|
5 |
* Description: Connect to your ClickFunnels account with simple authorization key and show any ClickFunnels page as your homepage or as 404 error pages or simply choose any of your pages and make clean URLs to your ClickFunnels pages. Don't have an account? <a target="_blank" href="https://www.clickfunnels.com">Sign up for your 2 week <em>free</em> trial now.</a>
|
6 |
-
* Version: 2.0
|
7 |
* Author: Etison, LLC
|
8 |
* Author URI: https://www.clickfunnels.com
|
9 |
*/
|
@@ -712,8 +712,8 @@ add_shortcode( 'clickfunnels_embed', 'clickfunnels_embed' );
|
|
712 |
// ****************************************************************************************************************************
|
713 |
// ClickPop Shortcode
|
714 |
function clickfunnels_clickpop_script() {
|
715 |
-
|
716 |
-
wp_register_script( 'cf_clickpop', 'http://localhost:8080/wordpress/test_cfpop.js', array(), '1.0.0', true );
|
717 |
wp_enqueue_script( 'cf_clickpop' );
|
718 |
}
|
719 |
add_action( 'wp_enqueue_scripts', 'clickfunnels_clickpop_script' );
|
3 |
* Plugin Name: ClickFunnels
|
4 |
* Plugin URI: https://www.clickfunnels.com
|
5 |
* Description: Connect to your ClickFunnels account with simple authorization key and show any ClickFunnels page as your homepage or as 404 error pages or simply choose any of your pages and make clean URLs to your ClickFunnels pages. Don't have an account? <a target="_blank" href="https://www.clickfunnels.com">Sign up for your 2 week <em>free</em> trial now.</a>
|
6 |
+
* Version: 2.0.1
|
7 |
* Author: Etison, LLC
|
8 |
* Author URI: https://www.clickfunnels.com
|
9 |
*/
|
712 |
// ****************************************************************************************************************************
|
713 |
// ClickPop Shortcode
|
714 |
function clickfunnels_clickpop_script() {
|
715 |
+
wp_register_script( 'cf_clickpop', 'https://app.clickfunnels.com/assets/cfpop.js', array(), '1.0.0', true );
|
716 |
+
// wp_register_script( 'cf_clickpop', 'http://localhost:8080/wordpress/test_cfpop.js', array(), '1.0.0', true );
|
717 |
wp_enqueue_script( 'cf_clickpop' );
|
718 |
}
|
719 |
add_action( 'wp_enqueue_scripts', 'clickfunnels_clickpop_script' );
|
footer.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<div class="copyrightInfo">
|
2 |
-
<p><strong style="float: right;font-weight: 600;font-size: 11px;text-align: right;">Running Version 2.0</strong> Copyright 2015+ © Eitson, LLC</p>
|
3 |
</div>
|
4 |
<style>
|
5 |
.copyrightInfo {
|
1 |
<div class="copyrightInfo">
|
2 |
+
<p><strong style="float: right;font-weight: 600;font-size: 11px;text-align: right;">Running Version 2.0.1</strong> Copyright 2015+ © Eitson, LLC</p>
|
3 |
</div>
|
4 |
<style>
|
5 |
.copyrightInfo {
|
geobg.png
ADDED
Binary file
|
js/admin.js
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
jQuery('.draft').hide();
|
3 |
+
jQuery("#cf_type").val(jQuery(".btn.active").data("value"));
|
4 |
+
jQuery(".cf_header .btn").click(function(){
|
5 |
+
jQuery(".cf_header .btn").removeClass().addClass('btn');
|
6 |
+
jQuery(this).addClass("active");
|
7 |
+
jQuery("#cf_type").val(jQuery(this).data("value"));
|
8 |
+
switch(jQuery(this).data("value")){
|
9 |
+
case "p":
|
10 |
+
jQuery(this).addClass("btn-selected");
|
11 |
+
|
12 |
+
jQuery(".cf_uses_api").show();
|
13 |
+
jQuery(".cf_no_api").hide();
|
14 |
+
jQuery(".cf_url").show();
|
15 |
+
jQuery('.pageSettings').removeClass('active btn-selected');
|
16 |
+
break;
|
17 |
+
case "hp":
|
18 |
+
jQuery(this).addClass("btn-selected");
|
19 |
+
jQuery(".cf_url").hide();
|
20 |
+
jQuery(".cf_uses_api").show();
|
21 |
+
jQuery(".cf_no_api").hide();
|
22 |
+
jQuery('.pageSettings').removeClass('active btn-selected');
|
23 |
+
break;
|
24 |
+
case "np":
|
25 |
+
jQuery(this).addClass("btn-selected");
|
26 |
+
jQuery(".cf_url").hide();
|
27 |
+
jQuery(".cf_no_api").hide();
|
28 |
+
jQuery(".cf_uses_api").show();
|
29 |
+
jQuery('.pageSettings').removeClass('active btn-selected');
|
30 |
+
break;
|
31 |
+
|
32 |
+
}
|
33 |
+
})
|
34 |
+
jQuery('.pageSettings').click(function() {
|
35 |
+
jQuery(this).toggleClass("active btn-selected");
|
36 |
+
jQuery(".cf_url").toggle();
|
37 |
+
jQuery(".cf_uses_api").toggle();
|
38 |
+
jQuery(".cf_no_api").toggle();
|
39 |
+
});
|
40 |
+
jQuery("#publish").click(function(e){
|
41 |
+
if(jQuery("#cf_slug").val()=="" && jQuery(".btn.active").data("value")=="p")
|
42 |
+
{
|
43 |
+
e.preventDefault();
|
44 |
+
jQuery("#cf_slug").css("border", "1px solid red");
|
45 |
+
jQuery("#cf_invalid_slug").show();
|
46 |
+
}
|
47 |
+
else
|
48 |
+
{
|
49 |
+
jQuery("#cf_slug").css("border", "1px solid #cccccc");
|
50 |
+
jQuery("#cf_invalid_slug").hide();
|
51 |
+
}
|
52 |
+
})
|
53 |
+
})
|
js/hidedraft.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function(){
|
2 |
+
jQuery('.draft').hide();
|
3 |
+
});
|
readme.md
CHANGED
@@ -7,7 +7,7 @@ Author URI: https://profiles.wordpress.org/clickfunnelscom
|
|
7 |
Tags: landing pages, clickfunnels, funnels, sales funnel, optin, internet marketing
|
8 |
Requires at least: 3.0
|
9 |
Tested up to: 4.3.1
|
10 |
-
Stable tag:
|
11 |
|
12 |
Connect your ClickFunnels pages to your WordPress blog. Create custom pages, set as homepage or 404 page with easy setup.
|
13 |
|
7 |
Tags: landing pages, clickfunnels, funnels, sales funnel, optin, internet marketing
|
8 |
Requires at least: 3.0
|
9 |
Tested up to: 4.3.1
|
10 |
+
Stable tag: 2.0.1
|
11 |
|
12 |
Connect your ClickFunnels pages to your WordPress blog. Create custom pages, set as homepage or 404 page with easy setup.
|
13 |
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Author URI: https://profiles.wordpress.org/clickfunnelscom
|
|
6 |
Tags: landing pages, clickfunnels, funnels, sales funnel, optin, internet marketing
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.3.1
|
9 |
-
Stable tag:
|
10 |
|
11 |
Connect your ClickFunnels pages to your WordPress blog. Create custom pages, set as homepage or 404 page with easy setup.
|
12 |
|
@@ -100,9 +100,13 @@ By re-selecting the page it will ping the server which should refresh your page.
|
|
100 |
|
101 |
Stay current with the latest version of the plugin:
|
102 |
|
|
|
|
|
|
|
|
|
103 |
= Version 2.0 =
|
104 |
|
105 |
-
|
106 |
|
107 |
= Version 1.1.2 =
|
108 |
|
6 |
Tags: landing pages, clickfunnels, funnels, sales funnel, optin, internet marketing
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.3.1
|
9 |
+
Stable tag: 2.0.1
|
10 |
|
11 |
Connect your ClickFunnels pages to your WordPress blog. Create custom pages, set as homepage or 404 page with easy setup.
|
12 |
|
100 |
|
101 |
Stay current with the latest version of the plugin:
|
102 |
|
103 |
+
= Version 2.0.1 =
|
104 |
+
|
105 |
+
Fix clickpop.js link
|
106 |
+
|
107 |
= Version 2.0 =
|
108 |
|
109 |
+
See: http://blog.clickfunnels.com/all-new-updates-to-the-clickfunnels-wordpress-plugin-v2-0/
|
110 |
|
111 |
= Version 1.1.2 =
|
112 |
|
support.php
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
.api {
|
3 |
+
width: 780px;
|
4 |
+
margin-top: 20px;
|
5 |
+
border-radius: 5px;
|
6 |
+
}
|
7 |
+
.api form {
|
8 |
+
padding: 0;
|
9 |
+
}
|
10 |
+
.api form h3 {
|
11 |
+
padding: 0;
|
12 |
+
padding-bottom: 10px;
|
13 |
+
margin: 0;
|
14 |
+
font-size: 17px;
|
15 |
+
margin-top: 10px;
|
16 |
+
color: #39464E;
|
17 |
+
font-weight: 400;
|
18 |
+
}
|
19 |
+
.api form input {
|
20 |
+
width: 100%;
|
21 |
+
font-size: 15px;
|
22 |
+
padding: 7px;
|
23 |
+
margin-bottom: 17px;
|
24 |
+
}
|
25 |
+
.apiHeader {
|
26 |
+
background: #39464E ;
|
27 |
+
border-bottom: 3px solid rgba(0,0,0,0.25);
|
28 |
+
padding: 10px;
|
29 |
+
padding-top: 15px;
|
30 |
+
border-top-right-radius: 5px;
|
31 |
+
border-top-left-radius: 5px;
|
32 |
+
}
|
33 |
+
.apiHeader img {
|
34 |
+
float: left;
|
35 |
+
margin-left: 10px;
|
36 |
+
}
|
37 |
+
.apiHeader a {
|
38 |
+
float: right;
|
39 |
+
display: block;
|
40 |
+
margin-top: 8px !important;
|
41 |
+
margin-right: 1px !important;
|
42 |
+
margin-top: 7px !important;
|
43 |
+
}
|
44 |
+
.apiSubHeader {
|
45 |
+
background-color: #0166AE;
|
46 |
+
border-bottom: 3px solid rgba(0,0,0,0.25);
|
47 |
+
color: #fff;
|
48 |
+
padding: 20px;
|
49 |
+
}
|
50 |
+
.apiSubHeader h2 {
|
51 |
+
margin: 0 !important;
|
52 |
+
padding: 0 !important;
|
53 |
+
color: #fff;
|
54 |
+
font-weight: bold;
|
55 |
+
font-size: 17px;
|
56 |
+
text-shadow: 1px 1px 0 #0367AE;
|
57 |
+
}
|
58 |
+
.leftSide {
|
59 |
+
width: 380px;
|
60 |
+
float: left;
|
61 |
+
}
|
62 |
+
.leftSide h3 {
|
63 |
+
font-weight: 900;
|
64 |
+
font-size: 13px !important;
|
65 |
+
}
|
66 |
+
.rightSide {
|
67 |
+
width: 280px;
|
68 |
+
float: left;
|
69 |
+
padding: 20px;
|
70 |
+
opacity: .7;
|
71 |
+
padding-left: 30px;
|
72 |
+
}
|
73 |
+
.rightSide p {
|
74 |
+
font-size: 12px;
|
75 |
+
line-height: 18px;
|
76 |
+
}
|
77 |
+
#errorMessage {
|
78 |
+
clear: both;
|
79 |
+
padding: 8px;
|
80 |
+
background: #fafafa;
|
81 |
+
border: 2px solid #ddd;
|
82 |
+
}
|
83 |
+
#errorMessage.success {
|
84 |
+
border: 2px solid #49BB85;
|
85 |
+
background: #49BB85;
|
86 |
+
color: #fff;
|
87 |
+
}
|
88 |
+
#errorMessage.error {
|
89 |
+
border: 2px solid #B72D1C;
|
90 |
+
background: #B72D1C;
|
91 |
+
color: #fff;
|
92 |
+
}
|
93 |
+
.successGreen {
|
94 |
+
color: #49BB85;
|
95 |
+
}
|
96 |
+
.errorRed {
|
97 |
+
color: #B72D1C;
|
98 |
+
}
|
99 |
+
#errorMessage.badAPI {
|
100 |
+
border: 2px solid #B72D1C;
|
101 |
+
background: #B72D1C;
|
102 |
+
color: #fff;
|
103 |
+
display: none;
|
104 |
+
}
|
105 |
+
.copyrightInfo {
|
106 |
+
width: 780px;
|
107 |
+
padding: 0 10px;
|
108 |
+
float: left;
|
109 |
+
color: #999;
|
110 |
+
font-size: 11px;
|
111 |
+
}
|
112 |
+
.copyrightInfo p {
|
113 |
+
font-size: 11px;
|
114 |
+
}
|
115 |
+
.apiHeader a {
|
116 |
+
float: right;
|
117 |
+
display: block;
|
118 |
+
color: #fff;
|
119 |
+
font-size: 13px;
|
120 |
+
text-decoration: none;
|
121 |
+
margin-right: 4px !important;
|
122 |
+
background-color: rgba(0, 0, 0, .3);
|
123 |
+
border: 2px solid #2b2e30;
|
124 |
+
color: #afbbc8 !important;
|
125 |
+
font-weight: 700;
|
126 |
+
margin-top: 0px !important;
|
127 |
+
-webkit-border-radius: 4px;
|
128 |
+
-moz-border-radius: 4px;
|
129 |
+
border-radius: 4px;
|
130 |
+
padding: 7px;
|
131 |
+
padding-left: 12px;
|
132 |
+
padding-right: 12px;
|
133 |
+
text-transform: uppercase;
|
134 |
+
text-decoration: none;
|
135 |
+
font-size: 14px;
|
136 |
+
margin-top: 5px !important;
|
137 |
+
}
|
138 |
+
.apiHeader a:hover {
|
139 |
+
border: 2px solid #1D81C8;
|
140 |
+
background-color: rgba(0, 0, 0, .6);
|
141 |
+
color: #fff !important;
|
142 |
+
}
|
143 |
+
#side-sortables {
|
144 |
+
display: none !important;
|
145 |
+
}
|
146 |
+
|
147 |
+
#apiFooter {
|
148 |
+
background: #F1F1F1;
|
149 |
+
|
150 |
+
padding: 10px 14px;
|
151 |
+
border-bottom-left-radius: 5px;
|
152 |
+
border-bottom-right-radius: 5px;
|
153 |
+
}
|
154 |
+
#apiFooter a:hover {
|
155 |
+
text-decoration: none;
|
156 |
+
}
|
157 |
+
#apiSettings {
|
158 |
+
padding: 10px 25px;
|
159 |
+
padding-top: 20px;
|
160 |
+
border: 10px solid #F1F1F1;
|
161 |
+
}
|
162 |
+
#faq h4 {
|
163 |
+
font-size: 15px;
|
164 |
+
margin-bottom: 0;
|
165 |
+
font-weight: 500;
|
166 |
+
color: #3E474F;
|
167 |
+
}
|
168 |
+
#faq h4 i {
|
169 |
+
margin-right: 5px;
|
170 |
+
}
|
171 |
+
#faq p {
|
172 |
+
font-size: 13px;
|
173 |
+
line-height: 18px;
|
174 |
+
display: block;
|
175 |
+
padding-left: 23px;
|
176 |
+
padding-bottom: 20px;
|
177 |
+
opacity: .7
|
178 |
+
}
|
179 |
+
|
180 |
+
#apiFooter {
|
181 |
+
background: #fafafa;
|
182 |
+
border-radius: 4px;
|
183 |
+
border: 1px solid #ddd;
|
184 |
+
margin-right: 120px;
|
185 |
+
border-bottom: 2px solid #ddd;
|
186 |
+
padding: 10px 10px;
|
187 |
+
margin: 0 auto;
|
188 |
+
width: 735px;
|
189 |
+
}
|
190 |
+
#apiFooter a:hover {
|
191 |
+
text-decoration: none;
|
192 |
+
}
|
193 |
+
|
194 |
+
#apiSettings {
|
195 |
+
padding: 10px 25px;
|
196 |
+
padding-top: 20px;
|
197 |
+
border: 10px solid #fff;
|
198 |
+
}
|
199 |
+
.faqInner {
|
200 |
+
background: #fff;
|
201 |
+
padding: 10px;
|
202 |
+
padding-bottom: 0;
|
203 |
+
border: 1px solid #fafafa;
|
204 |
+
}
|
205 |
+
.faqInner:nth-child(even) {
|
206 |
+
background: #fafafa;
|
207 |
+
border: 1px solid #eee;
|
208 |
+
}
|
209 |
+
</style>
|
210 |
+
<link href="<?php echo plugins_url( 'css/font-awesome.css', __FILE__ ); ?>" rel="stylesheet">
|
211 |
+
<div class="api postbox">
|
212 |
+
<div class="apiHeader">
|
213 |
+
<img src="<?php echo plugins_url( 'logo.png', __FILE__ ); ?>" alt="">
|
214 |
+
<a href="https://www.clickfunnels.com/users/sign_in" target="_blank" class=""><i class="fa fa-bars"></i> My Account</a>
|
215 |
+
<br clear="all">
|
216 |
+
</div>
|
217 |
+
<div class="apiSubHeader">
|
218 |
+
<h2>ClickFunnels Plugin Support</h2>
|
219 |
+
</div>
|
220 |
+
<div id="apiSettings">
|
221 |
+
<h2 style="margin-top: 10px"><strong>Frequently Asked Questions</strong></h2>
|
222 |
+
<p style="opacity: .7">Quickly find out about all the features to get the most out of using WordPress to show your ClickFunnels pages. You can also go to the <a href="https://support.clickfunnels.com/support/home" target="_blank">knowledge base</a> to learn more about ClickFunnels.</p>
|
223 |
+
<hr style="border: none; border-bottom: 1px solid #ECEEEF; margin: 20px 0">
|
224 |
+
<div id="faq">
|
225 |
+
<div class="faqInner">
|
226 |
+
<h4><i class="fa fa-question-circle"></i> How and where do I get Authentication Key?</h4>
|
227 |
+
<p>To access your Authentication Token go to your ClickFunnels Members area and choose <a href="https://app.clickfunnels.com/users/edit" target="_blank">My Account > Settings</a> and you will find your <em>unique</em> authenication key. </p>
|
228 |
+
</div>
|
229 |
+
<div class="faqInner">
|
230 |
+
<h4><i class="fa fa-question-circle"></i> Why Do I Enable Split Tests and Custom Code?</h4>
|
231 |
+
<p>By enabling the split tests and custom code dropdown you are showing your page inside of an iframe to work with custom code such as EasyVideoPlayer or display split tests inside your page. </p>
|
232 |
+
</div>
|
233 |
+
<div class="faqInner">
|
234 |
+
<h4><i class="fa fa-question-circle"></i> What Pages Work with Wordpress Plugin?</h4>
|
235 |
+
<p>Optin Pages, Sales Pages, Webinar Pages, Thank You Pages and Miscellaenus Pages Work. </p>
|
236 |
+
</div>
|
237 |
+
<div class="faqInner">
|
238 |
+
<h4><i class="fa fa-question-circle"></i> What Pages <strong>Do Not</strong> Work with Wordpress Plugin?</h4>
|
239 |
+
<p>Pages containing sensitive data such as Membership Pages or Order Pages.</p>
|
240 |
+
</div>
|
241 |
+
<div class="faqInner">
|
242 |
+
<h4><i class="fa fa-question-circle"></i> What is a Custom URL?</h4>
|
243 |
+
<p>A custom URL is the web address that will point to your ClickFunnels page. For example, "www.mydomain.com/signup" could point to any of your ClickFunnels pages such as an opt-in page.</p>
|
244 |
+
</div>
|
245 |
+
<div class="faqInner">
|
246 |
+
<h4><i class="fa fa-question-circle"></i> How do I Set Homepage or 404 Page?</h4>
|
247 |
+
<p>To set a page to show as the home page just select any of your ClickFunnels pages (within the plugin) and select "Home Page" and hit save. <em>You can only have one page set to Home page or 404 page at a time.</em></p>
|
248 |
+
</div>
|
249 |
+
<div class="faqInner">
|
250 |
+
<h4><i class="fa fa-question-circle"></i> Do I Need a ClickFunnels Account?</h4>
|
251 |
+
<p><strong>Yes.</strong> A clickfunnels account is required to use this plugin. If you are not already a member you can <a href="https://clickfunnels.com/" target="_blank">sign up for your account</a> and transform the way you run your online business.</p>
|
252 |
+
</div>
|
253 |
+
</div>
|
254 |
+
</div>
|
255 |
+
<div id="apiFooter">
|
256 |
+
<a class="button button-secondary" style="float: left; margin-right: 10px" type="submit" href="<?php echo admin_url( 'edit.php?post_type=clickfunnels' );?>"><i class="fa fa-file-text-o"></i> Pages</a>
|
257 |
+
<a class="button button-secondary" style="float: left; margin-right: 10px" type="submit" href="<?php echo admin_url( 'post-new.php?post_type=clickfunnels' );?>"><i class="fa fa-plus-circle"></i> Add New</a>
|
258 |
+
<a href="edit.php?post_type=clickfunnels&page=cf_api" class="button button-default" style="float: left"><i class="fa fa-cog"></i> Settings</a>
|
259 |
+
<a href="https://support.clickfunnels.com/support/home" target="_blank" class="button button-primary" style="float: right"><i class="fa fa-life-ring"></i> Visit Knowledge Base</a>
|
260 |
+
<br clear="both" />
|
261 |
+
|
262 |
+
</div>
|
263 |
+
<br clear="both" />
|
264 |
+
<?php include('footer.php'); ?>
|
265 |
+
</div>
|
266 |
+
|
267 |
+
<script>
|
268 |
+
(function($) {
|
269 |
+
setTimeout(function() {
|
270 |
+
$('#errorMessage').fadeOut();
|
271 |
+
}, 1500);
|
272 |
+
var specificFunnel = 'https://api.clickfunnels.com/funnels.json?email=<?php echo get_option( "clickfunnels_api_email" ); ?>&auth_token=<?php echo get_option( "clickfunnels_api_auth" ); ?>';
|
273 |
+
$.getJSON(specificFunnel, function(data) {
|
274 |
+
$('.checkSuccess').html('<i class="fa fa-check successGreen"></i>');
|
275 |
+
}).fail(function(jqXHR) {
|
276 |
+
$('.checkSuccess').html('<i class="fa fa-times errorRed"></i>');
|
277 |
+
$('.badAPI').show();
|
278 |
+
});
|
279 |
+
})(jQuery);
|
280 |
+
</script>
|