Conditions | 1 |
Paths | 1 |
Total Lines | 412 |
Code Lines | 218 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.
For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.
Commonly applied refactorings include:
If many parameters/temporary variables are present:
1 | <?php |
||
169 | function render_banner() { ?> |
||
170 | <div id="message" class="updated jp-wpcom-connect__container"> |
||
171 | <div class="jp-wpcom-connect__inner-container"> |
||
172 | <span |
||
173 | class="notice-dismiss connection-banner-dismiss" |
||
174 | title="<?php esc_attr_e( 'Dismiss this notice', 'jetpack' ); ?>"> |
||
175 | </span> |
||
176 | |||
177 | <div class="jp-wpcom-connect__vertical-nav"> |
||
178 | <div class="jp-wpcom-connect__vertical-nav-container"> |
||
179 | <div class="vertical-menu__feature-item jp-feature-intro vertical-menu__feature-item-is-selected"> |
||
180 | <div class="vertical-menu__feature-item-icon"> |
||
181 | <svg class="jp-wpcom-connect__svg-jetpack" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" version="1.1"><path d="M12,2C6.5,2,2,6.5,2,12s4.5,10,10,10s10-4.5,10-10S17.5,2,12,2z M11,14H6l5-10V14z M13,20V10h5L13,20z"/></svg> |
||
182 | </div> |
||
183 | <span class="vertical-menu__feature-item-label"><?php esc_html_e( 'Welcome to Jetpack', 'jetpack' ); ?></span> |
||
184 | </div> |
||
185 | <div class="vertical-menu__feature-item"> |
||
186 | <div class="vertical-menu__feature-item-icon"> |
||
187 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 2 20 20" version="1.1"><path d="M7.8 17.6L12.2 17.6 12.2 2 7.8 2 7.8 17.6ZM14.4 17.6L18.9 17.6 18.9 5.3 14.4 5.3 14.4 17.6ZM1.1 17.6L5.6 17.6 5.6 9.8 1.1 9.8 1.1 17.6ZM0 22L20 22 20 19.8 0 19.8 0 22Z" /></svg> |
||
188 | </div> |
||
189 | <span class="vertical-menu__feature-item-label"><?php esc_html_e( 'Stats & Traffic Tools', 'jetpack' ); ?></span> |
||
190 | </div> |
||
191 | <div class="vertical-menu__feature-item"> |
||
192 | <div class="vertical-menu__feature-item-icon"> |
||
193 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="20" viewBox="0 1 16 20" version="1.1"><defs><polygon points="16 10 16 0 0 0 0 10 0 20 16 20"/></defs><g stroke="none" stroke-width="1" transform="translate(0.000000, 1.000000)"><mask fill="white"/><path d="M9 13.7L9 16 7 16 7 13.7C6.4 13.4 6 12.7 6 12 6 10.9 6.9 10 8 10 9.1 10 10 10.9 10 12 10 12.7 9.6 13.4 9 13.7L9 13.7ZM5 5C5 3.3 6.3 2 8 2 9.7 2 11 3.3 11 5L11 6 5 6 5 5ZM14 6L13 6 13 5C13 2.2 10.8 0 8 0 5.2 0 3 2.2 3 5L3 6 2 6C0.9 6 0 6.9 0 8L0 18C0 19.1 0.9 20 2 20L14 20C15.1 20 16 19.1 16 18L16 8C16 6.9 15.1 6 14 6L14 6Z" mask="url(#mask-2)"/></g></svg> |
||
194 | </div> |
||
195 | <span class="vertical-menu__feature-item-label"><?php esc_html_e( 'Site Security', 'jetpack' ); ?></span> |
||
196 | </div> |
||
197 | <div class="vertical-menu__feature-item"> |
||
198 | <div class="vertical-menu__feature-item-icon"> |
||
199 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="0" fill="none" width="20" height="20"/><g><path d="M4 6c-1.105 0-2 .895-2 2v12c0 1.1.9 2 2 2h12c1.105 0 2-.895 2-2H4V6zm16-4H8c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h12c1.105 0 2-.895 2-2V4c0-1.105-.895-2-2-2zm-5 14H8V9h7v7zm5 0h-3V9h3v7zm0-9H8V4h12v3z"/></g></svg> |
||
200 | </div> |
||
201 | <span class="vertical-menu__feature-item-label"><?php esc_html_e( 'Professional Themes', 'jetpack' ); ?></span> |
||
202 | </div> |
||
203 | <div class="vertical-menu__feature-item"> |
||
204 | <div class="vertical-menu__feature-item-icon"> |
||
205 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 2 20 20" version="1.1"><path d="M6 4L6 10.3 9 7 13.9 12.4 14.5 11.7C15.3 10.8 16.7 10.8 17.5 11.7L18 12.2 18 4 6 4ZM20 4L20 16C20 17.1 19.1 18 18 18L6 18C4.9 18 4 17.1 4 16L4 4C4 2.9 4.9 2 6 2L18 2C19.1 2 20 2.9 20 4L20 4ZM2 20L16 20 16 20C16 21.1 15.1 22 14 22L2 22C0.9 22 0 21.1 0 20L0 8C0 6.9 0.9 6 2 6L2 6 2 20ZM13 7.5C13 6.7 13.7 6 14.5 6 15.3 6 16 6.7 16 7.5 16 8.3 15.3 9 14.5 9 13.7 9 13 8.3 13 7.5L13 7.5Z" /></svg> |
||
206 | </div> |
||
207 | <span class="vertical-menu__feature-item-label"><?php esc_html_e( 'Performance', 'jetpack' ); ?></span> |
||
208 | </div> |
||
209 | <div class="vertical-menu__feature-item wp-app-logo"> |
||
210 | <div class="vertical-menu__feature-item-icon"> |
||
211 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 2 20 20" version="1.1"><defs><polygon points="0 20 20 20 20 0 0 0 0 20"/></defs><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(0.000000, 2.000000)"><mask fill="white"/><path d="M14.3 17.3L16.9 9.8C17.4 8.6 17.5 7.7 17.5 6.8 17.5 6.5 17.5 6.2 17.5 5.9 18.1 7.1 18.5 8.5 18.5 10 18.5 13.1 16.8 15.9 14.3 17.3L14.3 17.3ZM11.2 6C11.7 6 12.1 5.9 12.1 5.9 12.6 5.9 12.5 5.2 12.1 5.2 12.1 5.2 10.7 5.3 9.8 5.3 9 5.3 7.6 5.2 7.6 5.2 7.1 5.2 7.1 5.9 7.5 5.9 7.5 5.9 8 6 8.4 6L9.7 9.6 7.9 15.2 4.8 6C5.3 6 5.8 5.9 5.8 5.9 6.2 5.9 6.2 5.2 5.7 5.2 5.7 5.2 4.3 5.3 3.4 5.3 3.3 5.3 3.1 5.3 2.9 5.3 4.4 3 7 1.5 10 1.5 12.2 1.5 14.2 2.3 15.7 3.7 15.7 3.7 15.7 3.7 15.6 3.7 14.8 3.7 14.2 4.5 14.2 5.2 14.2 5.9 14.6 6.5 15 7.2 15.4 7.8 15.7 8.5 15.7 9.6 15.7 10.3 15.5 11.1 15.1 12.3L14.2 15.2 11.2 6ZM10 18.5C9.2 18.5 8.4 18.4 7.6 18.2L10.1 10.7 12.8 17.9C12.8 17.9 12.8 18 12.8 18 11.9 18.3 11 18.5 10 18.5L10 18.5ZM1.5 10C1.5 8.8 1.8 7.6 2.2 6.5L6.3 17.7C3.5 16.3 1.5 13.4 1.5 10L1.5 10ZM10 0C4.5 0 0 4.5 0 10 0 15.5 4.5 20 10 20 15.5 20 20 15.5 20 10 20 4.5 15.5 0 10 0L10 0Z" fill="#86A6BD" mask="url(#mask-2)"/></g></svg> |
||
212 | </div> |
||
213 | <span class="vertical-menu__feature-item-label"><?php esc_html_e( 'WordPress Apps', 'jetpack' ); ?></span> |
||
214 | </div> |
||
215 | <div class="vertical-menu__feature-item"> |
||
216 | <div class="vertical-menu__feature-item-icon"> |
||
217 | <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 4 15 15" version="1.1"><polygon points="6.6 4 6.6 10.6 0 10.6 0 12.4 6.6 12.4 6.6 19 8.4 19 8.4 12.4 15 12.4 15 10.6 8.4 10.6 8.4 4"/></svg> |
||
218 | </div> |
||
219 | <span class="vertical-menu__feature-item-label"><?php esc_html_e( 'More Features', 'jetpack' ); ?></span> |
||
220 | </div> |
||
221 | </div> |
||
222 | </div> |
||
223 | <div class="jp-wpcom-connect__content-container"> |
||
224 | |||
225 | <!-- slide 1: intro --> |
||
226 | <div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-one jp__slide-is-active"> |
||
227 | <h2><?php esc_html_e( 'Jetpack simplifies site security, customization, and management.', 'jetpack' ) ?></h2> |
||
228 | |||
229 | <div class="jp-wpcom-connect__content-icon jp-connect-illo"> |
||
230 | <img src="<?php echo plugins_url( 'images/jetpack-welcome.svg', JETPACK__PLUGIN_FILE ); ?>" alt="<?php |
||
231 | esc_attr_e( |
||
232 | 'Jetpack is a free plugin that utilizes powerful WordPress.com servers to enhance your site and simplify managing it', |
||
233 | 'jetpack' |
||
234 | ); ?>" height="auto" width="250" /> |
||
235 | </div> |
||
236 | |||
237 | <p> |
||
238 | <?php |
||
239 | esc_html_e( |
||
240 | 'Jetpack is a free plugin that utilizes powerful WordPress.com servers to enhance your site and simplify managing it.', |
||
241 | 'jetpack' |
||
242 | ); |
||
243 | ?> |
||
244 | </p> |
||
245 | |||
246 | <p> |
||
247 | <?php |
||
248 | esc_html_e( |
||
249 | 'You get detailed visitor stats, state-of-the-art security services, image performance upgrades, traffic generation tools, and more.', |
||
250 | 'jetpack' |
||
251 | ); |
||
252 | ?> |
||
253 | </p> |
||
254 | |||
255 | <p> |
||
256 | <?php |
||
257 | esc_html_e( |
||
258 | 'Connect to WordPress.com (free) to get started!', |
||
259 | 'jetpack' |
||
260 | ); |
||
261 | ?> |
||
262 | </p> |
||
263 | |||
264 | <p class="jp-banner__button-container"> |
||
265 | <span class="jp-banner__tos-blurb"> |
||
266 | <?php jetpack_render_tos_blurb(); ?> |
||
267 | </span> |
||
268 | <a |
||
269 | href="<?php echo esc_url( $this->build_connect_url_for_slide( '44', 1 ) ); ?>" |
||
270 | class="dops-button is-primary"> |
||
271 | <?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?> |
||
272 | </a> |
||
273 | <a |
||
274 | href="#" |
||
275 | class="dops-button next-feature" |
||
276 | title="<?php |
||
277 | esc_attr_e( |
||
278 | 'Start tour to Learn about the benefits you receive when you connect Jetpack to WordPress.com', |
||
279 | 'jetpack' |
||
280 | ); |
||
281 | ?>"> |
||
282 | <?php esc_html_e( 'Start quick tour', 'jetpack' ); ?> |
||
283 | </a> |
||
284 | </p> |
||
285 | </div> <!-- end slide 1 --> |
||
286 | |||
287 | <!-- slide 2: stats --> |
||
288 | <div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-two"> |
||
289 | <h2><?php esc_html_e( 'Detailed stats and traffic tools to help your site grow', 'jetpack' ) ?></h2> |
||
290 | |||
291 | <div class="jp-wpcom-connect__content-icon jp-connect-illo"> |
||
292 | <img src="<?php echo plugins_url( 'images/stats-people.svg', JETPACK__PLUGIN_FILE ); ?>" alt="<?php |
||
293 | esc_attr_e( |
||
294 | 'Get clear and concise stats and analytics about your visitors', |
||
295 | 'jetpack' |
||
296 | ); ?>" height="auto" width="225" /> |
||
297 | </div> |
||
298 | |||
299 | <p> |
||
300 | <?php |
||
301 | esc_html_e( |
||
302 | 'Jetpack provides detailed stats and insights about your viewers.', |
||
303 | 'jetpack' |
||
304 | ); |
||
305 | ?> |
||
306 | </p> |
||
307 | |||
308 | <p> |
||
309 | <?php |
||
310 | esc_html_e( |
||
311 | 'This helps you make informed decisions about your content and drive more traffic to your site with our related posts, social, and enhanced distribution features.', |
||
312 | 'jetpack' |
||
313 | ); |
||
314 | ?> |
||
315 | </p> |
||
316 | |||
317 | <p> |
||
318 | <?php |
||
319 | esc_html_e( |
||
320 | 'Professional Plan customers get access to advanced SEO tools.', |
||
321 | 'jetpack' |
||
322 | ); |
||
323 | ?> |
||
324 | </p> |
||
325 | |||
326 | <p class="jp-banner__button-container"> |
||
327 | <span class="jp-banner__tos-blurb"> |
||
328 | <?php jetpack_render_tos_blurb(); ?> |
||
329 | </span> |
||
330 | <a href="<?php echo esc_url( $this->build_connect_url_for_slide( '44', 2 ) ); ?>" class="dops-button is-primary"> |
||
331 | <?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?> |
||
332 | </a> |
||
333 | <a href="#" class="dops-button next-feature" title="<?php esc_attr_e( 'Jetpack Tour: Next Feature', 'jetpack' ); ?>"> |
||
334 | <?php esc_html_e( 'Next feature', 'jetpack' ); ?> |
||
335 | </a> |
||
336 | </p> |
||
337 | </div> <!-- end slide 2 --> |
||
338 | |||
339 | <!-- slide 3: security --> |
||
340 | <div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-three"> |
||
341 | <h2><?php esc_html_e( 'Multiple security tools to give you peace of mind', 'jetpack' ) ?></h2> |
||
342 | |||
343 | <div class="jp-wpcom-connect__content-icon jp-connect-illo"> |
||
344 | <img src="<?php echo plugins_url( 'images/security.svg', JETPACK__PLUGIN_FILE ); ?>" alt="<?php |
||
345 | esc_attr_e( |
||
346 | 'Your site is automatically protected from brute force attacks, plus you can use single sign-on for extra security', |
||
347 | 'jetpack' |
||
348 | ); ?>" height="auto" width="250" /> |
||
349 | </div> |
||
350 | |||
351 | <p> |
||
352 | <?php |
||
353 | esc_html_e( |
||
354 | 'Jetpack protects your site against brute force attacks and unauthorized logins. We also monitor your site for downtime and keep your plugins updated.', |
||
355 | 'jetpack' |
||
356 | ); |
||
357 | ?> |
||
358 | </p> |
||
359 | |||
360 | <p> |
||
361 | <?php |
||
362 | esc_html_e( |
||
363 | 'Customers on paid plans also benefit from unlimited backups of your entire site, spam protection, malware scanning, and automated fixes.', |
||
364 | 'jetpack' |
||
365 | ); |
||
366 | ?> |
||
367 | </p> |
||
368 | |||
369 | <p> |
||
370 | <?php |
||
371 | esc_html_e( |
||
372 | 'We also offer free support to all users, and priority assistance to paid customers.', |
||
373 | 'jetpack' |
||
374 | ); |
||
375 | ?> |
||
376 | </p> |
||
377 | |||
378 | <p class="jp-banner__button-container"> |
||
379 | <span class="jp-banner__tos-blurb"> |
||
380 | <?php jetpack_render_tos_blurb(); ?> |
||
381 | </span> |
||
382 | <a |
||
383 | href="<?php echo esc_url( $this->build_connect_url_for_slide( '44', 3 ) ); ?>" |
||
384 | class="dops-button is-primary"> |
||
385 | <?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?> |
||
386 | </a> |
||
387 | <a href="#" class="dops-button next-feature" title="<?php esc_attr_e( 'Jetpack Tour: Next Feature', 'jetpack' ); ?>"> |
||
388 | <?php esc_html_e( 'Next feature', 'jetpack' ); ?> |
||
389 | </a> |
||
390 | </p> |
||
391 | </div> <!-- end slide 3 --> |
||
392 | |||
393 | <!-- slide 3A: themes --> |
||
394 | <div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-three-a"> |
||
395 | <h2><?php esc_html_e( 'Hundreds of beautiful themes to choose from', 'jetpack' ) ?></h2> |
||
396 | |||
397 | <div class="jp-wpcom-connect__content-icon jp-connect-illo"> |
||
398 | <img src="<?php echo plugins_url( 'images/customize-theme.svg', JETPACK__PLUGIN_FILE ); ?>" alt="<?php |
||
399 | esc_attr_e( |
||
400 | 'Choosing a design for your site is essential. It defines your brand, your layout, and your visitors’ reading experience', |
||
401 | 'jetpack' |
||
402 | ); ?>" height="auto" width="250" /> |
||
403 | </div> |
||
404 | |||
405 | <p> |
||
406 | <?php |
||
407 | esc_html_e( |
||
408 | 'Choosing a design for your site is essential. It defines your brand, your layout, and your visitors’ reading experience.', |
||
409 | 'jetpack' |
||
410 | ); |
||
411 | ?> |
||
412 | </p> |
||
413 | |||
414 | <p> |
||
415 | <?php |
||
416 | esc_html_e( |
||
417 | 'Jetpack reduces complexity and makes this previously difficult process a breeze. Browse hundreds of themes in our showcase, or search by theme, name, style, color, or type.', |
||
418 | 'jetpack' |
||
419 | ); |
||
420 | ?> |
||
421 | </p> |
||
422 | |||
423 | <p> |
||
424 | <?php |
||
425 | esc_html_e( |
||
426 | 'Preview, install, and activate with one-click, then use our suite of design tools to make it look just as you need it to.', |
||
427 | 'jetpack' |
||
428 | ); |
||
429 | ?> |
||
430 | </p> |
||
431 | |||
432 | <p class="jp-banner__button-container"> |
||
433 | <span class="jp-banner__tos-blurb"> |
||
434 | <?php jetpack_render_tos_blurb(); ?> |
||
435 | </span> |
||
436 | <a |
||
437 | href="<?php echo esc_url( $this->build_connect_url_for_slide( '44', '3a' ) ); ?>" |
||
438 | class="dops-button is-primary"> |
||
439 | <?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?> |
||
440 | </a> |
||
441 | <a href="#" class="dops-button next-feature" title="<?php esc_attr_e( 'Jetpack Tour: Next Feature', 'jetpack' ); ?>"> |
||
442 | <?php esc_html_e( 'Next feature', 'jetpack' ); ?> |
||
443 | </a> |
||
444 | </p> |
||
445 | </div> <!-- end slide 3A --> |
||
446 | |||
447 | |||
448 | <!-- slide 4: Performance --> |
||
449 | <div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-four"> |
||
450 | <h2><?php esc_html_e( 'Faster site speeds through the WordPress.com CDN', 'jetpack' ) ?></h2> |
||
451 | |||
452 | <div class="jp-wpcom-connect__content-icon jp-connect-illo"> |
||
453 | <img src="<?php echo plugins_url( 'images/cloud-based.svg', JETPACK__PLUGIN_FILE ); ?>" alt="<?php |
||
454 | esc_attr_e( |
||
455 | 'Jetpack automatically optimizes and speeds up images using the global WordPress.com Content Delivery Network (CDN)', |
||
456 | 'jetpack' |
||
457 | ); ?>" height="auto" width="225" /> |
||
458 | </div> |
||
459 | |||
460 | <p> |
||
461 | <?php |
||
462 | esc_html_e( |
||
463 | 'Jetpack automatically optimizes and speeds up images using the global WordPress.com Content Delivery Network (CDN). Let us do the heavy lifting for you by reducing bandwidth usage which could potentially lower your hosting costs.', |
||
464 | 'jetpack' |
||
465 | ); |
||
466 | ?> |
||
467 | </p> |
||
468 | |||
469 | <p> |
||
470 | <?php |
||
471 | esc_html_e( |
||
472 | 'Use of our CDN is unlimited and scales with your site for free. You can also use it for your theme images to further speed up your site.', |
||
473 | 'jetpack' |
||
474 | ); |
||
475 | ?> |
||
476 | </p> |
||
477 | |||
478 | <p class="jp-banner__button-container"> |
||
479 | <span class="jp-banner__tos-blurb"> |
||
480 | <?php jetpack_render_tos_blurb(); ?> |
||
481 | </span> |
||
482 | <a href="<?php echo esc_url( $this->build_connect_url_for_slide( '44', 4 ) ); ?>" class="dops-button is-primary"> |
||
483 | <?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?> |
||
484 | </a> |
||
485 | <a href="#" class="dops-button next-feature" title="<?php esc_attr_e( 'Jetpack Tour: Next Feature', 'jetpack' ); ?>"> |
||
486 | <?php esc_html_e( 'Next feature', 'jetpack' ); ?> |
||
487 | </a> |
||
488 | </p> |
||
489 | </div> <!-- end slide 4 --> |
||
490 | |||
491 | <!-- slide 5: Apps --> |
||
492 | <div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-five"> |
||
493 | <h2><?php esc_html_e( 'Free WordPress apps to manage your site(s) from any device', 'jetpack' ) ?></h2> |
||
494 | |||
495 | <div class="jp-wpcom-connect__content-icon jp-connect-illo"> |
||
496 | <img src="<?php echo plugins_url( 'images/apps.svg', JETPACK__PLUGIN_FILE ); ?>" alt="<?php |
||
497 | esc_attr_e( |
||
498 | 'Our mobile and desktop apps are free and available to you on Apple or Android devices once Jetpack is connected to WordPress.com', |
||
499 | 'jetpack' |
||
500 | ); ?>" height="auto" width="225" /> |
||
501 | </div> |
||
502 | |||
503 | <p> |
||
504 | <?php |
||
505 | esc_html_e( |
||
506 | 'Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile and desktop apps are free and available to you on Apple or Android devices once Jetpack is connected to WordPress.com.', |
||
507 | 'jetpack' |
||
508 | ); |
||
509 | ?> |
||
510 | </p> |
||
511 | |||
512 | <p> |
||
513 | <?php |
||
514 | esc_html_e( |
||
515 | 'When Jetpack is connected to WordPress.com, head over to the Apps tab within Jetpack for direct links to the mobile and desktop apps.', |
||
516 | 'jetpack' |
||
517 | ); |
||
518 | ?> |
||
519 | </p> |
||
520 | |||
521 | <p class="jp-banner__button-container"> |
||
522 | <span class="jp-banner__tos-blurb"> |
||
523 | <?php jetpack_render_tos_blurb(); ?> |
||
524 | </span> |
||
525 | <a href="<?php echo esc_url( $this->build_connect_url_for_slide( '44', 5 ) ); ?>" class="dops-button is-primary"> |
||
526 | <?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?> |
||
527 | </a> |
||
528 | <a href="#" class="dops-button next-feature" title="<?php esc_attr_e( 'Jetpack Tour: Next Feature', 'jetpack' ); ?>"> |
||
529 | <?php esc_html_e( 'Next feature', 'jetpack' ); ?> |
||
530 | </a> |
||
531 | </p> |
||
532 | </div> <!-- end slide 5 --> |
||
533 | |||
534 | <!-- slide 6: more features --> |
||
535 | <div class="jp-wpcom-connect__slide jp-wpcom-connect__slide-six"> |
||
536 | <h2><?php esc_html_e( 'More Jetpack features our users love', 'jetpack' ) ?></h2> |
||
537 | |||
538 | <div class="jp-wpcom-connect__content-icon jp-connect-illo"> |
||
539 | <img src="<?php echo plugins_url( 'images/customize-theme-2.svg', JETPACK__PLUGIN_FILE ); ?>" alt="<?php |
||
540 | esc_attr_e( |
||
541 | 'Jetpack includes other features that help you customize your site', |
||
542 | 'jetpack' |
||
543 | ); ?>" height="auto" width="225" /> |
||
544 | </div> |
||
545 | |||
546 | <p> |
||
547 | <?php |
||
548 | esc_html_e( 'Jetpack includes other features that help you customize your site including Custom CSS, Contact Forms, Galleries and Carousels, Notifications and Subscriptions, Configurable Widgets, and many more.', |
||
549 | 'jetpack' |
||
550 | ); |
||
551 | ?> |
||
552 | </p> |
||
553 | |||
554 | <p> |
||
555 | <?php |
||
556 | esc_html_e( 'Connect to WordPress.com to get started', |
||
557 | 'jetpack' |
||
558 | ); |
||
559 | ?> |
||
560 | <a href="https://jetpack.com/features" target="_blank"> |
||
561 | <?php esc_html_e( 'or visit our site for the full feature list.', 'jetpack' ); ?> |
||
562 | </a> |
||
563 | </p> |
||
564 | |||
565 | <p class="jp-banner__button-container"> |
||
566 | <span class="jp-banner__tos-blurb"> |
||
567 | <?php jetpack_render_tos_blurb(); ?> |
||
568 | </span> |
||
569 | <a |
||
570 | href="<?php echo esc_url( $this->build_connect_url_for_slide( '44', 6 ) ); ?>" |
||
571 | class="dops-button is-primary"> |
||
572 | <?php esc_html_e( 'Set up Jetpack', 'jetpack' ); ?> |
||
573 | </a> |
||
574 | </p> |
||
575 | </div> <!-- end slide 6 --> |
||
576 | </div> |
||
577 | </div> |
||
578 | </div> |
||
579 | <?php |
||
580 | } |
||
581 | |||
914 |