single-sfwd-quiz.php
2.8 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?php
/*
*
*/
global $user_ID;
get_currentuserinfo();
if (!$user_ID) {
auth_redirect();
}
?>
<?php get_header("brokerlanding");
global $wpdb;
?>
<div id="brokercontent">
<div class="row">
<?php include_once 'broker_sidebar.php';?>
</div>
<div class="row">
<?php include_once 'broker_sidebar_tab.php';?>
</div>
<div id="page-content">
<?php
if (function_exists(clean_custom_menus())) {
clean_custom_menus();
}
?>
<?php get_template_part('loop', 'single');?>
</div>
</div>
<div class="new-footer-box">
<div class="left-image-menu"><a href="<?php echo site_url(); ?>/lets-connect-info/"></a></div>
<?php wp_nav_menu(
array(
'theme_location' => 'broker-footer',
'container' => 'nav',
'container_id' => 'broker-footer',
)
);
?>
</div>
<script>
jQuery(document).ready(function ($) {
$('input').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue',
increaseArea: '5%' // optional
});
var done = 1;
var count =0;
var id;
setTimeout(function(){
if(!done){
$('body').on('DOMSubtreeModified', '.wpProQuiz_results', function(){
setTimeout(function(){
check();
$(".wpProQuiz_results").unbind("DOMSubtreeModified");
}, 100);
});
}
}, 500);
function check() {
var id = setInterval(myTimer, 100);
function myTimer() {
if(!done){
if($('.wpProQuiz_sending').css('display') == 'none'){
count = count + 1;
done = 1;
clearInterval(id);
setTimeout(function(){
$('.wpProQuiz_results').hide();
$('.wpProQuiz_quiz').show();
$('.wpProQuiz_listItem').show();
$('[value="Finish Quiz"]').hide();
}, 10);
}
}
}
}
});
</script>
<style>
html {
margin-top : 32px !important;
}
#page-content{
max-width:unset !important;
}
h1 {
font-size: 45px !important;
margin-bottom: 30px;
text-align: center;
font-weight: 400;
color:#949598;
font-family: 'HelveticaNeue-Light';
}
@media(max-width : 768px) {
h1 {
font-size: 35px !important;
}
}
h2{
font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
font-weight: bold !important;
font-size: 20px !important;
text-transform:none !important;
}
.ld-quiz-status,
.ld-lesson-status,
.learndash-wrapper .ld-course-status.ld-course-status-enrolled{
margin-bottom: 30px;
}
.article-info {
display: none;
}
.has-medium-font-size {
font-size: 20px !important;
}
</style>
<?php get_footer();?>