
內容簡介
總結:Flagged Phone Field 外掛是專為 WordPress 設計的強大工具,提供電話號碼欄位的高級自訂功能。這個外掛可以控制預設的國家設置、排除特定國家、突顯優選國家,甚至啟用自動選擇使用者的國家,並無縫整合表單,確保用戶友好的體驗。
問題與答案:
1. 這個外掛能夠做什麼?
- 可以控制預設的國家設置、排除特定國家、突顯優選國家,還能啟用自動選擇使用者的國家。
2. 這個外掛的特色有哪些?
- 預設國家選擇:設置一個預設國家,即使頁面刷新後仍然保持選擇。
- 排除國家:將不需要的國家添加到排除清單,從下拉式清單中刪除。
- 優選國家突顯:在下拉式清單頂部突出顯示所選擇的國家,以快速訪問。
- 自動選擇國家:自動檢測並選擇使用者的國家。如果禁用,將使用預設國家。
- 啟用/禁用國際撥號代碼:根據您的偏好顯示或隱藏國際撥號代碼。
- 無縫整合:與 WordPress 表單無縫協作,確保一致且專業的用戶體驗。
- 可自定義設定:直觀的設定面板允許您自定義外掛,而無需技術專業知識。
外掛標籤
開發者團隊
原文外掛簡介
The Flagged Phone Field plugin is a powerful tool designed for WordPress, offering advanced customization for phone number fields. With this plugin, you can control default country settings, exclude specific countries from the dropdown, highlight preferred countries, and even enable auto-selection of the user’s country. It seamlessly integrates with forms and ensures a user-friendly experience.
Features
Default Country Selection: Set a default country that remains selected even when the page is refreshed.
Exclude Countries: Remove unwanted countries from the dropdown list by adding them to the exclude list.
Preferred Countries Highlighting: Highlight selected countries at the top of the dropdown list for quicker access.
Auto Country Selection: Automatically detect and select the user’s country. If disabled, the default country will be used.
Enable/Disable International Dial Codes: Show or hide the international dial code based on your preference.
Seamless Integration: Works smoothly with your WordPress forms, ensuring a consistent and professional user experience.
Customizable Settings: The intuitive settings panel allows you to configure the plugin without requiring technical expertise.
Usage
Before adding the flagged phone field to your forms, you can configure its default behavior in the global settings:
Global Settings
Navigate to Flagged Phone Field in the WordPress sidebar menu.
Configure the options:
Default Country: Choose which country is pre-selected when the page loads.
Exclude Countries: Select countries to hide from the country dropdown.
Preferred Countries: Pin specific countries to the top of the dropdown list.
Auto Country Select: Automatically detect the user’s country flag and dial code based on their IP address.
Disable International Dial Code: Toggle whether to show/hide the international dial code.
Save your settings. These options will be applied globally across all form plugins.
Here is how to add and use the flagged phone field in each supported form builder:
Contact Form 7
Navigate to Contact > Contact Forms and edit your form.
Click the Flagged Phone Field button in the form-tag generator toolbar.
Configure the field options (like Name, Default Value, Class) and click Insert Tag.
Or manually insert the tag in your form template:
[smart_mobile your-phone] (for optional field)
[smart_mobile* your-phone] (for required field)
Save the form and embed the generated shortcode on your website.
Fluent Forms
Navigate to Fluent Forms > All Forms and open your form in the builder.
In the right-hand panel under General Fields (or search for it), locate the Flagged Phone Field.
Drag and drop the Flagged Phone Field into your form layout.
Click on the field to customize options (Label, Placeholder, Required status, etc.) in the Element Info panel.
Save the form and embed it using the Fluent Forms block or shortcode.
Gravity Forms
Navigate to Forms > Forms and edit/create your form.
Expand the Advanced Fields toolbox in the right-hand sidebar.
Click or drag the Flagged Phone Field to place it on the form canvas.
Configure field properties (Field Label, Rules, Placeholder, etc.) in the Field Settings.
Save the form and embed it on your page using the Gravity Forms block or shortcode.
Recommended Plugins
The following plugins are recommended for use with the Flagged Phone Field plugin:
Gravity Forms
Contact Form 7
Fluent Forms
More form integrations are coming soon!
