PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.4
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.4
1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk 1.2.0 All 47 releases
fluent-cart / app / Views / frontend / not-found.php

not-found.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.6.4, at app/Views/frontend/not-found.php

41 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2 <div class="fct-not-found-container" role="main" aria-labelledby="fct-not-found-title">
3 <div class="fct-not-found-content">
4 <?php if (!empty($notFoundImg)): ?>
5 <img class="fct-not-found-image"
6 src="<?php echo esc_url($notFoundImg ?? ''); ?>"
7 alt="<?php esc_attr_e('Page not found illustration', 'fluent-cart'); ?>"
8 >
9 <?php endif; ?>
10
11 <?php if (isset($title)): ?>
12 <h1 id="fct-not-found-title" class="fct-not-found-title">
13 <?php echo wp_kses_post($title); ?>
14 </h1>
15 <?php endif; ?>
16
17 <?php if (isset($text)): ?>
18 <p class="fct-not-found-text">
19 <?php echo wp_kses_post($text); ?>
20 </p>
21 <?php endif; ?>
22
23 <?php if (isset($buttonText)): ?>
24 <a
25 href="<?php echo empty($buttonUrl) ? esc_url(home_url()) : esc_url($buttonUrl); ?>"
26 class="fct-not-found-button"
27 role="button"
28 aria-label="<?php
29 printf(
30 /* translators: %s is the button text/destination */
31 esc_attr__('Return to %s', 'fluent-cart'),
32 esc_html($buttonText)
33 );
34 ?>"
35 >
36 <?php echo esc_html($buttonText); ?>
37 </a>
38 <?php endif; ?>
39 </div>
40 </div>
41