| 1 |
<?php |
| 2 |
|
| 3 |
$add_new_url = sprintf('?page=%s&action=%s', "poll-maker", 'add'); |
| 4 |
$poll_page_url = sprintf('?page=%s', "poll-maker"); |
| 5 |
|
| 6 |
?> |
| 7 |
|
| 8 |
<div class="wrap"> |
| 9 |
<div class="ays-poll-heading-box"> |
| 10 |
<div class="ays-poll-wordpress-user-manual-box"> |
| 11 |
<a href="https://ays-pro.com/wordpress-poll-maker-user-manual" target="_blank" style="text-decoration: none;font-size: 13px;"> |
| 12 |
<i class="ays_poll_fas ays_fa_file_text"></i> |
| 13 |
<span style="margin-left: 3px;text-decoration: underline;"><?php echo esc_html__("View Documentation", "poll-maker"); ?></span> |
| 14 |
</a> |
| 15 |
</div> |
| 16 |
</div> |
| 17 |
<div class="ays-poll-maker-htu-header"> |
| 18 |
<h1 class="ays-poll-maker-wrapper ays_heart_beat"> |
| 19 |
<?php echo esc_html(get_admin_page_title()); ?> <i class="ays_fa ays_poll_fa_heart_o animated"></i> |
| 20 |
</h1> |
| 21 |
</div> |
| 22 |
|
| 23 |
<div class="ays-poll-faq-main"> |
| 24 |
<h2><?php echo esc_html__("How to create a simple poll in 4 steps with the help of the Poll Maker plugin.", "poll-maker" ); ?></h2> |
| 25 |
<fieldset style="border:1px solid #ccc; padding:10px;width:fit-content; margin:0 auto;"> |
| 26 |
<div class="ays-poll-ol-container"> |
| 27 |
<ol> |
| 28 |
<li><?php echo esc_html__( "Go to the", "poll-maker" ) . ' <strong><a href="'. esc_url($poll_page_url) .'" target="_blank">'.esc_html__( "Poll" , "poll-maker" ) .'</a></strong> ' . esc_html__( "page", "poll-maker" ); ?>,</li> |
| 29 |
<li><?php echo esc_html__( "Create a new poll by clicking on the", "poll-maker" ) . ' <strong><a href="'. esc_url($add_new_url) .'" target="_blank">'.esc_html__( "Add New" , "poll-maker" ) .'</a></strong> ' . esc_html__( "button", "poll-maker" ); ?>,</li> |
| 30 |
<li><?php echo esc_html__( "Fill out the information.", "poll-maker" ); ?></li> |
| 31 |
<li><?php echo esc_html__( "Copy the", "poll-maker" ) . ' <strong>'.esc_html__( "shortcode" , "poll-maker" ) .'</strong> ' . esc_html__( "of the poll and paste it into any post․", "poll-maker" ); ?></li> |
| 32 |
</ol> |
| 33 |
</div> |
| 34 |
<div class="ays-poll-p-container"> |
| 35 |
<p><?php echo esc_html__("Congrats! You have already created your first poll." , "poll-maker"); ?></p> |
| 36 |
</div> |
| 37 |
</fieldset> |
| 38 |
<br> |
| 39 |
<div class="ays-poll-community-wrap"> |
| 40 |
<div class="ays-poll-community-title"> |
| 41 |
<h4><?php echo esc_html__( "Community", "poll-maker" ); ?></h4> |
| 42 |
</div> |
| 43 |
<div class="ays-poll-community-youtube-video"> |
| 44 |
<div class="ays-poll-create-poll-youtube-video"> |
| 45 |
<div class="ays-poll-youtube-placeholder" data-video-id="RDKZXFmG6Pc"> |
| 46 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL .'/images/wordpress-poll-plugin.webp'); ?>" loading="lazy" width="560" height="315"> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
<div class="ays-poll-community-container"> |
| 51 |
<div class="ays-poll-community-item"> |
| 52 |
<div> |
| 53 |
<a href="https://www.youtube.com/channel/UC-1vioc90xaKjE7stq30wmA" target="_blank" class="ays-poll-community-item-cover"> |
| 54 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL) . '/images/icons/poll-maker-how-to-use-youtube.svg';?> " class="ays-poll-community-item-img"> |
| 55 |
</a> |
| 56 |
</div> |
| 57 |
<h3 class="ays-poll-community-item-title"><?php echo esc_html__( "YouTube community", "poll-maker" ); ?></h3> |
| 58 |
<p class="ays-poll-community-item-desc"><?php echo esc_html__("Our YouTube community guides you to step by step tutorials about our products and not only...", "poll-maker"); ?></p> |
| 59 |
<div class="ays-poll-community-item-footer"> |
| 60 |
<a href="https://www.youtube.com/channel/UC-1vioc90xaKjE7stq30wmA" target="_blank" class="button"><?php echo esc_html__( "Subscribe", "poll-maker" ); ?></a> |
| 61 |
</div> |
| 62 |
</div> |
| 63 |
<div class="ays-poll-community-item"> |
| 64 |
<a href="https://wordpress.org/support/plugin/poll-maker/" target="_blank" class="ays-poll-community-item-cover" style="color: #0073aa;"> |
| 65 |
<img src="<?php echo esc_url(POLL_MAKER_AYS_ADMIN_URL) . '/images/icons/poll-maker-how-to-use-wordpress.svg';?> " class="ays-poll-community-item-img"> |
| 66 |
</a> |
| 67 |
<h3 class="ays-poll-community-item-title"><?php echo esc_html__( "Best Free Support", "poll-maker" ); ?></h3> |
| 68 |
<p class="ays-poll-community-item-desc"><?php echo esc_html__( "With the Free version, you get a lifetime usage for the plugin, however, you will get new updates and support for only 1 month.", "poll-maker" ); ?></p> |
| 69 |
<div class="ays-poll-community-item-footer"> |
| 70 |
<a href="https://wordpress.org/support/plugin/poll-maker/" target="_blank" class="button"><?php echo esc_html__( "Join", "poll-maker" ); ?></a> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
<div class="ays-poll-community-item"> |
| 74 |
<a href="https://ays-pro.com/contact" target="_blank" class="ays-poll-community-item-cover" style="color: #ff0000;"> |
| 75 |
<i class="ays-poll-community-item-img ays_poll_fas ays_fa_users" aria-hidden="true"></i> |
| 76 |
</a> |
| 77 |
<h3 class="ays-poll-community-item-title"><?php echo esc_html__( "Premium support", "poll-maker" ); ?></h3> |
| 78 |
<p class="ays-poll-community-item-desc"><?php echo esc_html__( "Get 12 months updates and support for the Business package and lifetime updates and support for the Developer package.", "poll-maker" ); ?></p> |
| 79 |
<div class="ays-poll-community-item-footer"> |
| 80 |
<a href="https://ays-pro.com/contact" target="_blank" class="button"><?php echo esc_html__( "Contact", "poll-maker" ); ?></a> |
| 81 |
</div> |
| 82 |
</div> |
| 83 |
</div> |
| 84 |
</div> |
| 85 |
<div class="ays-poll-asked-questions"> |
| 86 |
<h4><?php echo esc_html__("FAQs" , "poll-maker"); ?></h4> |
| 87 |
<div class="ays-poll-asked-question"> |
| 88 |
<div class="ays-poll-asked-question__header"> |
| 89 |
<div class="ays-poll-asked-question__title"> |
| 90 |
<h4><strong><?php echo esc_html__("How do I change the design of the poll?" , "poll-maker"); ?></strong></h4> |
| 91 |
</div> |
| 92 |
<div class="ays-poll-asked-question__arrow"><i class="fa fa-chevron-down"></i></div> |
| 93 |
</div> |
| 94 |
<div class="ays-poll-asked-question__body"> |
| 95 |
<p> |
| 96 |
<?php |
| 97 |
/* translators: 1: opening strong tag, 2: closing strong tag, 3: opening strong tag, 4: closing strong tag, 5: opening strong tag, 6: closing strong tag */ |
| 98 |
echo sprintf( |
| 99 |
esc_html__( "To do that, please go to the %1\$sStyles%2\$s tab of the given poll. The plugin suggests you 7 awesome ready-to-use themes. After choosing your preferred theme, you can customize it with 15+ style options to create attractive polls that people love to vote on, including %3\$smain color, background image, background gradient, box-shadow, answers hover%4\$s and etc. Moreover, you can use the %5\$sCustom CSS%6\$s written field to fully match your preferred design for your website and brand.", "poll-maker" ), |
| 100 |
'<strong>', |
| 101 |
'</strong>', |
| 102 |
'<strong>', |
| 103 |
'</strong>', |
| 104 |
'<strong>', |
| 105 |
'</strong>' |
| 106 |
); |
| 107 |
?> |
| 108 |
</p> |
| 109 |
</div> |
| 110 |
</div> |
| 111 |
<div class="ays-poll-asked-question"> |
| 112 |
<div class="ays-poll-asked-question__header"> |
| 113 |
<div class="ays-poll-asked-question__title"> |
| 114 |
<h4><strong><?php echo esc_html__( "Can I organize anonymous polls?" , "poll-maker" ); ?></strong></h4> |
| 115 |
</div> |
| 116 |
<div class="ays-poll-asked-question__arrow"><i class="fa fa-chevron-down"></i></div> |
| 117 |
</div> |
| 118 |
<div class="ays-poll-asked-question__body"> |
| 119 |
<p> |
| 120 |
<?php |
| 121 |
/* translators: 1: opening strong tag, 2: closing strong tag, 3: opening strong tag, 4: closing strong tag */ |
| 122 |
echo sprintf( |
| 123 |
esc_html__( "%1\$sYes!%2\$s Please go to the Settings tab of the given poll, and find the %3\$sAllow anonymity%4\$s option there. Enable it, and it will allow participants to respond to your polls without ever revealing their identities, even if they are registered on your website. After enabling the option, the wp _user and User IP will not be stored in the database. A giant step toward democracy!", "poll-maker" ), |
| 124 |
'<strong>', |
| 125 |
'</strong>', |
| 126 |
'<strong>', |
| 127 |
'</strong>' |
| 128 |
); |
| 129 |
?> |
| 130 |
</p> |
| 131 |
</div> |
| 132 |
</div> |
| 133 |
<div class="ays-poll-asked-question"> |
| 134 |
<div class="ays-poll-asked-question__header"> |
| 135 |
<div class="ays-poll-asked-question__title"> |
| 136 |
<h4><strong><?php echo esc_html__( "How do I limit access to the poll?", "poll-maker" ); ?></strong></h4> |
| 137 |
</div> |
| 138 |
<div class="ays-poll-asked-question__arrow"><i class="fa fa-chevron-down"></i></div> |
| 139 |
</div> |
| 140 |
<div class="ays-poll-asked-question__body"> |
| 141 |
<p> |
| 142 |
<?php |
| 143 |
/* translators: 1: opening strong tag, 2: closing strong tag, 3: opening strong tag, 4: closing strong tag, 5: opening strong tag, 6: closing strong tag, 7: opening strong tag, 8: closing strong tag, 9: opening strong tag, 10: closing strong tag */ |
| 144 |
echo sprintf( |
| 145 |
esc_html__( "To do that, please go to the %1\$sLimitation%2\$s tab of the given poll. The plugin suggests two methods to prevent repeat voting from the same person. Those are %3\$sLimit the user to rate only once by IP%4\$s or %5\$sLimit the user to rate only once by User ID.%6\$s The other awesome functionality that the plugin suggests is %7\$sOnly for logged in users%8\$s to enable access to the poll those, who have logged in. This option will allow you to precisely target your respondents, and not receive unnecessary votes from others, who have not logged in. Moreover, with the help of the %9\$sOnly selected user role%10\$s option, you can select your preferred user role for example administrator, editor, subscriber, customer and etc.", "poll-maker" ), |
| 146 |
'<strong>', |
| 147 |
'</strong>', |
| 148 |
'<strong>', |
| 149 |
'</strong>', |
| 150 |
'<strong>', |
| 151 |
'</strong>', |
| 152 |
'<strong>', |
| 153 |
'</strong>', |
| 154 |
'<strong>', |
| 155 |
'</strong>' |
| 156 |
); |
| 157 |
?> |
| 158 |
</p> |
| 159 |
</div> |
| 160 |
</div> |
| 161 |
<div class="ays-poll-asked-question"> |
| 162 |
<div class="ays-poll-asked-question__header"> |
| 163 |
<div class="ays-poll-asked-question__title"> |
| 164 |
<h4><strong><?php echo esc_html__( "Can I know more about my respondents?", "poll-maker" ); ?></strong></h4> |
| 165 |
</div> |
| 166 |
<div class="ays-poll-asked-question__arrow"><i class="fa fa-chevron-down"></i></div> |
| 167 |
</div> |
| 168 |
<div class="ays-poll-asked-question__body"> |
| 169 |
<p> |
| 170 |
<?php |
| 171 |
/* translators: 1: opening strong tag, 2: closing strong tag, 3: opening strong tag, 4: closing strong tag, 5: opening strong tag, 6: closing strong tag, 7: opening strong tag, 8: closing strong tag, 9: opening strong tag, 10: closing strong tag */ |
| 172 |
echo sprintf( |
| 173 |
esc_html__( "%1\$sYou are in a right place!%2\$s You just need to enable the %3\$sInformation Form%4\$s from the %5\$sUser Data%6\$s tab of the given poll, create your preferred %7\$scustom fields%8\$s in the %9\$sCustom Fields%10\$s page from the plugin left navbar, and come up with a clear picture of who your poll participants are, where they live, what their lifestyle and personality are like, etc.", "poll-maker" ), |
| 174 |
'<strong>', |
| 175 |
'</strong>', |
| 176 |
'<strong>', |
| 177 |
'</strong>', |
| 178 |
'<strong>', |
| 179 |
'</strong>', |
| 180 |
'<strong>', |
| 181 |
'</strong>', |
| 182 |
'<strong>', |
| 183 |
'</strong>' |
| 184 |
); |
| 185 |
?> |
| 186 |
</p> |
| 187 |
</div> |
| 188 |
</div> |
| 189 |
<div class="ays-poll-asked-question"> |
| 190 |
<div class="ays-poll-asked-question__header"> |
| 191 |
<div class="ays-poll-asked-question__title"> |
| 192 |
<h4><strong><?php echo esc_html__( "Can I get notified every time a vote is submitted?", "poll-maker" ); ?></strong></h4> |
| 193 |
</div> |
| 194 |
<div class="ays-poll-asked-question__arrow"><i class="fa fa-chevron-down"></i></div> |
| 195 |
</div> |
| 196 |
<div class="ays-poll-asked-question__body"> |
| 197 |
<p> |
| 198 |
<?php |
| 199 |
/* translators: 1: opening strong tag, 2: closing strong tag, 3: opening strong tag, 4: closing strong tag, 5: opening strong tag, 6: closing strong tag */ |
| 200 |
echo sprintf( |
| 201 |
esc_html__( "%1\$sYou can!%2\$s To enable it, please go to the %3\$sEmail%4\$s tab of the given poll. There you will find the %5\$sResults notification by email%6\$s option. After enabling the option, the admin(or your provided email) will receive an email notification about votes at each time.", "poll-maker" ), |
| 202 |
'<strong>', |
| 203 |
'</strong>', |
| 204 |
'<strong>', |
| 205 |
'</strong>', |
| 206 |
'<strong>', |
| 207 |
'</strong>' |
| 208 |
); |
| 209 |
?> |
| 210 |
</p> |
| 211 |
</div> |
| 212 |
</div> |
| 213 |
<div class="ays-poll-asked-question"> |
| 214 |
<div class="ays-poll-asked-question__header"> |
| 215 |
<div class="ays-poll-asked-question__title"> |
| 216 |
<h4><strong><?php echo esc_html__( "Will I lose the data after the upgrade?", "poll-maker" ); ?></strong></h4> |
| 217 |
</div> |
| 218 |
<div class="ays-poll-asked-question__arrow"><i class="fa fa-chevron-down"></i></div> |
| 219 |
</div> |
| 220 |
<div class="ays-poll-asked-question__body"> |
| 221 |
<p> |
| 222 |
<?php |
| 223 |
/* translators: 1: opening strong tag, 2: closing strong tag, 3: opening anchor tag, 4: closing anchor tag */ |
| 224 |
echo sprintf( |
| 225 |
esc_html__( "%1\$sNope!%2\$s All your content and assigned settings of the plugin will remain unchanged even after switching to the Pro version. You don’t need to redo what you have already built with the free version. For the detailed instruction, please take a look at our %3\$supgrade guide%4\$s", "poll-maker" ), |
| 226 |
'<strong>', |
| 227 |
'</strong>', |
| 228 |
'<a href="https://ays-pro.com/wordpress-poll-maker-user-manual#frag_poll_upgrade" target="_blank">', |
| 229 |
'</a>' |
| 230 |
); |
| 231 |
?> |
| 232 |
</p> |
| 233 |
</div> |
| 234 |
</div> |
| 235 |
</div> |
| 236 |
<p class="ays-poll-faq-footer"> |
| 237 |
<?php echo esc_html__( "For more advanced needs, please take a look at our" , "poll-maker" ); ?> |
| 238 |
<a href="https://ays-pro.com/wordpress-poll-maker-user-manual" target="_blank"><?php echo esc_html__( "Poll Maker plugin User Manual." , "poll-maker" ); ?></a> |
| 239 |
<br> |
| 240 |
<?php echo esc_html__( "If none of these guides help you, ask your question by contacting our" , "poll-maker" ); ?> |
| 241 |
<a href="https://ays-pro.com/contact" target="_blank"><?php echo esc_html__( "support specialists." , "poll-maker" ); ?></a> |
| 242 |
<?php echo esc_html__( "and get a reply within a day." , "poll-maker" ); ?> |
| 243 |
</p> |
| 244 |
</div> |
| 245 |
</div> |
| 246 |
|
| 247 |
<script> |
| 248 |
var acc = document.getElementsByClassName("ays-poll-asked-question__header"); |
| 249 |
var i; |
| 250 |
|
| 251 |
for (i = 0; i < acc.length; i++) { |
| 252 |
acc[i].addEventListener("click", function() { |
| 253 |
|
| 254 |
var panel = this.nextElementSibling; |
| 255 |
|
| 256 |
|
| 257 |
if (panel.style.maxHeight) { |
| 258 |
panel.style.maxHeight = null; |
| 259 |
this.children[1].children[0].style.transform="rotate(0deg)"; |
| 260 |
} else { |
| 261 |
panel.style.maxHeight = panel.scrollHeight + "px"; |
| 262 |
this.children[1].children[0].style.transform="rotate(180deg)"; |
| 263 |
} |
| 264 |
}); |
| 265 |
} |
| 266 |
</script> |
| 267 |
|
| 268 |
|
| 269 |
|