Title: Additional Sections within plugin difficulties
Last modified: August 22, 2016

---

# Additional Sections within plugin difficulties

 *  Resolved [aclarance](https://wordpress.org/support/users/aclarance/)
 * (@aclarance)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/additional-sections-within-plugin-difficulties/)
 * Hi there!
 * I am trying to add the following section to the donation form, but I have had
   difficulty getting the checkbox to return the correct information. I have also
   emailed the developer.
 * The code is exactly the same as that of the Tribute section, with the variable
   names changed, but it is not working.
 * Any help/advise would be greatly appreciated!
 * here’s the section:
 *     ```
       function dgx_donate_get_thon_section($formContent)
       {
       	if ( 'true' == get_option( 'dgx_donate_show_thon_section' ) ) {
   
       		$output = "";
       		$output .= "<div class='dgx-donate-form-section' id='dgx-donate-form-thon-section'>\n";
       		$output .= "<h2>" . esc_html__( 'Sponsor Our Dance-A-Thon', 'dgx-donate' ) . "</h2>\n";
       		$output .= "<p>";
       	  	$output .= "<div class='dgx-donate-form-expander'>\n";
       		$output .= "<p>\n";
       	  	$output .= "<input type='checkbox' id='dgx-donate-thon' name='_dgx_donate_thon_gift' /> ";
       		$output .= esc_html__( 'Check here to donate in support of a Dance-A-Thon dancer. You may choose to support a specific dancer by adding his or her name below.  If you would like your donation to support the Dance-A-Thon event as a whole please choose the specific fund option in the dialoague box above.', 'dgx-donate' ) . " </p>\n";
       		$output .= "<div class='dgx-donate-form-thon-box'>\n";
       		$output .= "<p>";
       		$output .= "</p>\n";
       		$output .= "<p>";
       		$output .= "<label for='_dgx_donate_thon_dancer_name'>" . esc_html__( "Dance-A-Thon Participant’s Name:", 'dgx-donate' ) . " </label>";
       		$output .= "<input type='text' name='_dgx_donate_thon_dancer_name' size='20' value='' />";
       		$output .= "</p>";
       		$output .= "<p>";
       		$output .= "<input type='checkbox' id='_dgx_donate_thon_by_email' value='TRUE' /> ";
       		$output .= esc_html__( 'Send acknowledgement via email to ', 'dgx-donate' ) . " ";
       		$output .= "</p>";
       		$output .= "<div class='dgx-donate-form-subsection'>";
       		$output .= "<p>";
       		$output .= "<label for='_dgx_donate_thon_dancer_email'>" . esc_html__( 'Email:', 'dgx-donate' ). " </label>";
       		$output .= "<input type='text' name='_dgx_donate_thon_dancer_email' size='20' value='' />";
       		$output .= "</p>";
   
       		$output .= "</div>"; /* dgx-donate-form-subsection */
       		$output .= "</div>"; /* dgx-donate-form-thon-box */
       		$output .= "</div>"; /* dgx-donate-form-expander */
       		$output .= "</div>"; /* dgx-donate-form-section */
   
       		$formContent .= $output;
       	}
   
       	return $formContent;
       }
       ```
   
 * [https://wordpress.org/plugins/seamless-donations/](https://wordpress.org/plugins/seamless-donations/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Gewirtz](https://wordpress.org/support/users/dgewirtz/)
 * (@dgewirtz)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/additional-sections-within-plugin-difficulties/#post-5760003)
 * Since there hasn’t been further activity on this for a few weeks, I’m considering
   it resolved. Please post an update if you’re still having difficulties and I’ll
   do my best to help.
 * –David

Viewing 1 replies (of 1 total)

The topic ‘Additional Sections within plugin difficulties’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/seamless-donations.svg)
 * [Seamless Donations is Sunset](https://wordpress.org/plugins/seamless-donations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seamless-donations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seamless-donations/)
 * [Active Topics](https://wordpress.org/support/plugin/seamless-donations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seamless-donations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seamless-donations/reviews/)

## Tags

 * [modifications](https://wordpress.org/support/topic-tag/modifications/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Gewirtz](https://wordpress.org/support/users/dgewirtz/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/additional-sections-within-plugin-difficulties/#post-5760003)
 * Status: resolved