Linux 软件免费装
Banner图

Laposta Signup Basic

开发者 roelbousardt
stijnvanderree
更新时间 2024年11月4日 17:47
PHP版本: 7.1 及以上
WordPress版本: 6.6
版权: BSD 2-Clause License

标签

form marketing newsletters GDPR laposta

下载

1.2.2 3.0.0 3.1.0 2.7.0 1.1.1 1.0.0 1.0.2 1.2.1 1.0.1 1.1.0 1.2.0 1.4.1 1.2.3 1.3.0 1.4.0 1.4.2 1.4.3 2.0.0 2.0.1 2.1.0 2.2.0 2.3.0 2.5.0 2.4.0 2.5.1 2.5.2 2.6.0

详情介绍:

安装:

Unzip the file in the plugins directory, and activate the plugin in the Plugins screen. Then go to the Settings to setup the connection to Laposta and customize the form rendering. Finally, to render a form, simply use the shortcode as shown in the Settings.

屏幕截图:

  • Realtime validation of fields, example 1
  • Realtime validation of fields, example 2
  • Example of HTML5 date field
  • Settings: Overview of lists with shortcode to copy
  • Settings: Choose predefined styles and add custom classes
  • Settings: Inline CSS and other settings

升级注意事项:

3.1.1
  • Removed an unnecessary variable from templates/form/form.php that triggered an error in PHP 8.

常见问题:

The changes I made to my lists are not being shown on my website. What should I do?

Please login to your admin dashboard and go to "Settings" -> "Laposta Signup Basic" and click on the button with the text "Reset Cache"

How do I enable logging of errors for debugging?

  • By default, the logger in our plugin follows the setting of WP_DEBUG: if WP_DEBUG is enabled (true), logging is active.
  • To override this default behavior, you can use the filter 'laposta_signup_basic_enable_logging'.
  • When logging is enabled, messages are recorded using the PHP error_log function. To view these logs, you have three options:
  • Server Log File: Typically, you can find the error log in your server's PHP log file. Its location varies depending on your hosting environment.
  • When WP_DEBUG_LOG is Enabled: If WP_DEBUG_LOG is set to true, WordPress logs errors to a debug.log file inside the wp-content directory. You can access this file via FTP or your hosting file manager.
  • Using a Plugin: Plugins like 'Debug' can help you view log messages directly within the WordPress admin area.
  • Note: Check your hosting provider's documentation or contact their support for more details on locating and accessing log files.

What are the available Wordpress filters?

  • Enable logging - 'laposta_signup_basic_enable_logging': A filter to enable or disable logging of errors within this plugin. The first and only argument is the default value, which is based on WP_DEBUG.
  • Settings page capability - 'laposta_signup_basic_settings_page_capability': Modifies the required capability for editing the plugin settings. The first and only argument is the capability.
  • Menu position - 'laposta_signup_basic_menu_position': Modifies the position of the menu item in the admin environment. The first and only argument is the position.
  • Field label - 'laposta_signup_basic_filter_field_label': Modifies the field label. The first argument is the field label, the second is the list ID, and the third is an array of the field.
  • Required indicator - 'laposta_signup_basic_filter_required_indicator': Modifies the required indicator at the end of the field label. The first argument is the indicator, the second is the list ID, and the third is an array of the field.
  • Field placeholder - 'laposta_signup_basic_filter_field_placeholder': Modifies the field placeholder. The first argument is the field placeholder, the second is the list ID, and the third is an array of the field.
  • Field default select option text - 'laposta_signup_basic_filter_default_select_option_text': Modifies the text of the default select option. The first argument is the default text, the second is the list ID, and the third is an array of the field.
  • Submit button text filter - 'laposta_signup_basic_filter_submit_button_text': Modifies the submit button text. The first argument is the button text, the second is the list ID, and the third is an array of arguments provided in the shortcode.
  • Success title filter - 'laposta_signup_basic_filter_success_title': Alters the success title text. The first argument is the success title, the second is the list ID, and the third is an array containing the submitted fields.
  • Success text filter - 'laposta_signup_basic_filter_success_text': Changes the success message text. The first argument is the success text, the second is the list ID, and the third is an array containing the submitted fields.

更新日志:

3.1.1 3.1.0 2.7.0 2.6.0 2.5.2 2.5.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 Please note, this is a major update and may not be 100% backwards compatible with previous versions. Key changes: 1.4.3 1.4.2 1.4.1 1.4.0 1.3.0 1.2.3 1.2.2 1.2.1 1.2.0 1.1.1 1.1.0 1.0.1 1.0.0