Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/wpforms-.../template.../admin/empty-st...
File: no-forms.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* No forms HTML template.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.6.2.3
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
if ( ! \defined( 'ABSPATH' ) ) {
[7] Fix | Delete
exit;
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
?>
[11] Fix | Delete
<div class="wpforms-admin-empty-state-container wpforms-admin-no-forms">
[12] Fix | Delete
[13] Fix | Delete
<h2 class="waving-hand-emoji"><?php esc_html_e( 'Hi there!', 'wpforms-lite' ); ?></h2>
[14] Fix | Delete
[15] Fix | Delete
<p><?php esc_html_e( 'It looks like you haven’t created any forms yet.', 'wpforms-lite' ); ?></p>
[16] Fix | Delete
<p><?php esc_html_e( 'You can use WPForms to build contact forms, surveys, payment forms, and more with just a few clicks.', 'wpforms-lite' ); ?></p>
[17] Fix | Delete
[18] Fix | Delete
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/empty-states/no-forms.svg' ); ?>" alt=""/>
[19] Fix | Delete
[20] Fix | Delete
<br>
[21] Fix | Delete
[22] Fix | Delete
<?php if ( wpforms_current_user_can( 'create_forms' ) ) : ?>
[23] Fix | Delete
<a href="<?php echo esc_url( admin_url( 'admin.php?page=wpforms-builder' ) ); ?>" class="wpforms-btn add-new-h2 wpforms-btn-orange"><?php esc_html_e( 'Create Your Form', 'wpforms-lite' ); ?></a>
[24] Fix | Delete
<?php endif; ?>
[25] Fix | Delete
[26] Fix | Delete
<p class="wpforms-admin-no-forms-footer">
[27] Fix | Delete
<?php
[28] Fix | Delete
printf(
[29] Fix | Delete
wp_kses( /* translators: %s - URL to the documentation article. */
[30] Fix | Delete
__( 'Need some help? Check out our <a href="%s" target="_blank" rel="noopener noreferrer">comprehensive guide</a>.', 'wpforms-lite' ),
[31] Fix | Delete
[
[32] Fix | Delete
'a' => [
[33] Fix | Delete
'href' => [],
[34] Fix | Delete
'target' => [],
[35] Fix | Delete
'rel' => [],
[36] Fix | Delete
],
[37] Fix | Delete
]
[38] Fix | Delete
),
[39] Fix | Delete
esc_url( wpforms_utm_link( 'https://wpforms.com/docs/creating-first-form/', 'forms-overview', 'Create Your First Form Documentation' ) )
[40] Fix | Delete
);
[41] Fix | Delete
?>
[42] Fix | Delete
</p>
[43] Fix | Delete
[44] Fix | Delete
</div>
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function