{"id":318502,"date":"2026-05-29T07:26:20","date_gmt":"2026-05-29T07:26:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cf7-guests-field\/"},"modified":"2026-06-01T07:03:06","modified_gmt":"2026-06-01T07:03:06","slug":"swaranan-guest-selector-for-contact-form-7","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/swaranan-guest-selector-for-contact-form-7\/","author":14411684,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"7.0.2","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Swaranan Guest Selector for Contact Form 7","header_author":"swaranan","header_description":"Adds a guest selector field for Contact Form 7 with adults, children, and optional child age inputs.","assets_banners_color":"fefefe","last_updated":"2026-06-01 07:03:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":10,"downloads":175,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"swaranan","date":"2026-05-29 07:26:06"},"1.1.1":{"tag":"1.1.1","author":"swaranan","date":"2026-06-01 07:03:06"}},"upgrade_notice":{"1.1.0":"<p>Includes Contact Form 7 editor integration and enhanced guest selector UI.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3553090,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3553090,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3553090,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3553090,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3557924,"resolution":"1","location":"assets","locale":"","width":4718,"height":1670},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3557924,"resolution":"2","location":"assets","locale":"","width":1738,"height":2148},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3557924,"resolution":"3","location":"assets","locale":"","width":1352,"height":702}},"screenshots":{"1":"Guests button inside Contact Form 7 editor","2":"Guests option inside Contact Form 7 editor","3":"Frontend - Adults &amp; Children dropdown UI with Children age"}},"plugin_section":[],"plugin_tags":[1152,10366,13555],"plugin_category":[],"plugin_contributors":[264890],"plugin_business_model":[],"class_list":["post-318502","plugin","type-plugin","status-publish","hentry","plugin_tags-contact-form-7","plugin_tags-guests","plugin_tags-participants","plugin_contributors-swaranan","plugin_committers-swaranan"],"banners":{"banner":"https:\/\/ps.w.org\/swaranan-guest-selector-for-contact-form-7\/assets\/banner-772x250.png?rev=3553090","banner_2x":"https:\/\/ps.w.org\/swaranan-guest-selector-for-contact-form-7\/assets\/banner-1544x500.png?rev=3553090","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/swaranan-guest-selector-for-contact-form-7\/assets\/icon-128x128.png?rev=3553090","icon_2x":"https:\/\/ps.w.org\/swaranan-guest-selector-for-contact-form-7\/assets\/icon-256x256.png?rev=3553090","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/swaranan-guest-selector-for-contact-form-7\/assets\/screenshot-1.png?rev=3557924","caption":"Guests button inside Contact Form 7 editor"},{"src":"https:\/\/ps.w.org\/swaranan-guest-selector-for-contact-form-7\/assets\/screenshot-2.png?rev=3557924","caption":"Guests option inside Contact Form 7 editor"},{"src":"https:\/\/ps.w.org\/swaranan-guest-selector-for-contact-form-7\/assets\/screenshot-3.png?rev=3557924","caption":"Frontend - Adults &amp; Children dropdown UI with Children age"}],"raw_content":"<!--section=description-->\n<p>Swaranan Guest Selector for Contact Form 7 extends Contact Form 7 by adding an advanced Guests selector suitable for hotel bookings, tours, reservations, events, and travel forms.<\/p>\n\n<p>Instead of a simple number field, users can:<\/p>\n\n<ul>\n<li>Select total guests<\/li>\n<li>Choose Adults and Children separately<\/li>\n<li>Optionally enable age fields for each child<\/li>\n<li>Automatically validate totals<\/li>\n<li>Send structured guest data through Contact Form 7 emails<\/li>\n<\/ul>\n\n<p>The plugin integrates directly into the Contact Form 7 form editor with its own tag generator button.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Adds a custom Guests field type to Contact Form 7<\/li>\n<li>Adults &amp; Children selector UI<\/li>\n<li>Optional child age fields<\/li>\n<li>Configurable minimum and maximum guests<\/li>\n<li>Required field support<\/li>\n<li>Mobile-friendly UI<\/li>\n<li>Optional first dropdown label using <code>first_as_label<\/code><\/li>\n<li>Validation for total guest count<\/li>\n<li>Mail tags support<\/li>\n<li>Easy shortcode\/tag generator inside Contact Form 7 editor<\/li>\n<\/ul>\n\n<h4>Example Form Tag<\/h4>\n\n<p>[guest_selector* guests min:1 max:10 label:Total label:Guests first_as_label child_ages]<\/p>\n\n<h4>Available Mail Tags<\/h4>\n\n<p>[guests]\n[guests_adults]\n[guests_children]\n[guest-selector-summary]<\/p>\n\n<h4>Example Output<\/h4>\n\n<p>Guests: 4\nAdults: 2\nChildren: 2\nChild Ages: 5, 8<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/swaranan-guest-selector-for-contact-form-7<\/code> directory, or install the plugin through the WordPress plugins screen.<\/li>\n<li>Activate the plugin through the \"Plugins\" screen in WordPress.<\/li>\n<li>Make sure Contact Form 7 is installed and activated.<\/li>\n<li>Edit a Contact Form 7 form.<\/li>\n<li>Click the new \"Guests\" button in the form editor toolbar.<\/li>\n<li>Configure your field options and insert the tag.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20require%20contact%20form%207%3F\"><h3>Does this plugin require Contact Form 7?<\/h3><\/dt>\n<dd><p>Yes. Contact Form 7 must be installed and activated.<\/p><\/dd>\n<dt id=\"can%20i%20disable%20child%20age%20fields%3F\"><h3>Can I disable child age fields?<\/h3><\/dt>\n<dd><p>Yes. Simply omit the <code>child_ages<\/code> option from the form tag.<\/p><\/dd>\n<dt id=\"does%20it%20support%20required%20fields%3F\"><h3>Does it support required fields?<\/h3><\/dt>\n<dd><p>Yes. Use the required version of the tag:<\/p>\n\n<p>[guest_selector* guests]<\/p><\/dd>\n<dt id=\"can%20i%20limit%20the%20number%20of%20guests%3F\"><h3>Can I limit the number of guests?<\/h3><\/dt>\n<dd><p>Yes. Use <code>min:<\/code> and <code>max:<\/code> options.<\/p>\n\n<p>Example:<\/p>\n\n<p>[guest_selector guests min:1 max:8]<\/p><\/dd>\n<dt id=\"can%20i%20show%20the%20label%20as%20the%20first%20dropdown%20option%3F\"><h3>Can I show the label as the first dropdown option?<\/h3><\/dt>\n<dd><p>Yes. Add <code>first_as_label<\/code> and provide a <code>label:<\/code> value.<\/p>\n\n<p>Example:<\/p>\n\n<p>[guest_selector participants min:0 max:20 default:0 label:Number label:of label:Participants first_as_label]<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Updated Child Age field placeholder.<\/li>\n<li>Updated screenshot<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added Contact Form 7 tag generator button<\/li>\n<li>Added Guests field settings popup<\/li>\n<li>Improved frontend UI<\/li>\n<li>Added optional child age fields<\/li>\n<li>Added validation improvements<\/li>\n<li>Added mail tag support<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Adds a guests field for Contact Form 7 with Adults, Children, and optional Children Age selection.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/318502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=318502"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/swaranan"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=318502"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=318502"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=318502"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=318502"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=318502"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=318502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}