Enhance GiveWP donation forms with international phone input and custom styles, especially optimized for forms in iframes.
- Install and activate the Code Snippets plugin via WordPress admin.
- Go to Snippets in the admin menu and click 'Add New'.
- Paste the provided code into the code area.
- Name the snippet for reference (e.g., "GiveWP Phone Enhancements").
- Activate the snippet.
- Adds international telephone input to phone fields.
- Applies custom styles to prevent style conflicts in iframes.
Edit the snippet directly in the Code Snippets plugin to change countries in the phone input dropdown or to modify styles.
GPL-2.0+ license. Free to use and modify.