PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.8
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.8
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
← All changes | templates/single-form.php +3 -1 2.12.0 → 2.12.8 View file →
@@ -4,8 +4,9 @@
4 4 *
5 5 * @package SureForms
6 6 */
7 7
8 +use SRFM\Inc\Compatibility\Multilingual\String_Translator;
8 9 use SRFM\Inc\Generate_Form_Markup;
9 10 use SRFM\Inc\Helper;
10 11
11 12 if ( ! defined( 'ABSPATH' ) ) {
@@ -155,10 +156,11 @@
155 156 <?php
156 157 }
157 158
158 159 if ( ! empty( $single_page_form_title ) ) {
160 + $srfm_banner_title = String_Translator::get_instance()->translate_form_title( (int) get_the_ID(), Helper::get_string_value( get_the_title() ) );
159 161 ?>
160 - <h1 class="srfm-single-banner-title"><?php echo esc_html( get_the_title() ); ?></h1>
162 + <h1 class="srfm-single-banner-title"><?php echo esc_html( $srfm_banner_title ); ?></h1>
161 163 <?php
162 164 }
163 165 ?>
164 166 </div>