Title: Edit confirmation page when using form
Last modified: August 22, 2016

---

# Edit confirmation page when using form

 *  Resolved [crosswire](https://wordpress.org/support/users/crosswire/)
 * (@crosswire)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/)
 * I want to edit the page that shows
    **Your message has been sent.** when an email
   is sent using the form.
 * I know you can edit the wordings in the language files. However, I want to add
   some links etc to the actual confirmation page that is shown. Can’t seem to find
   the page in the plugin folder unless I’ve missed it.
 * [https://wordpress.org/plugins/business-directory-plugin/](https://wordpress.org/plugins/business-directory-plugin/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/#post-5841526)
 * Hi crosswire,
 * My best suggestion would be to look at the customization guide and see where 
   the various files are controlling which aspects of the workflow. Most likely 
   the message is contained in there: [http://businessdirectoryplugin.com/docs/customization-guide/](http://businessdirectoryplugin.com/docs/customization-guide/)
 *  Thread Starter [crosswire](https://wordpress.org/support/users/crosswire/)
 * (@crosswire)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/#post-5841631)
 * OK i figured it out. I’m stuck on one small issue though.
 * I want to change the link that says **return to listing** that shows when form
   is filled. I want it to link back to directory.
 * I found the code in the view-listing-contact.php right at the bottom but not 
   sure how to change or implement the directory button there.
 * **What the code looks now:**
 * $html .= sprintf(‘<p>[%s](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/%s?output_format=md)
   </p>’, get_permalink($listing_id), _x(‘Return to listing.’, ‘contact-message’,“
   WPBDM”));
    return $html;
 * **the directory button is following code **
    <input type=”button” value=”<?php
   echo __(‘Directory’, ‘WPBDM’); ?>” onclick=”window.location.href = ‘<?php echo
   wpbdp_get_page_link(‘main’); ?>'” class=”button back-to-dir” />
 *  Thread Starter [crosswire](https://wordpress.org/support/users/crosswire/)
 * (@crosswire)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/#post-5841679)
 * I fixed it. I changed the existing code with a small snippet
 *  $html .= sprintf(‘<p>[%s](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/%s?output_format=md)
   </p>’, **wpbdp_get_page_link(‘main’)**, _x(‘Return to Directory.’, ‘contact-message’,“
   WPBDM”));
    return $html;
 *  Plugin Author [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * (@businessdirectoryplugin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/#post-5841696)
 * Yep, that will do it. Glad you got it sorted.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Edit confirmation page when using form’ is closed to new replies.

 * ![](https://ps.w.org/business-directory-plugin/assets/icon-256x256.png?rev=2901888)
 * [Business Directory Plugin - Easy Listing Directories for WordPress](https://wordpress.org/plugins/business-directory-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/business-directory-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/business-directory-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/business-directory-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/business-directory-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/business-directory-plugin/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Business Directory Plugin](https://wordpress.org/support/users/businessdirectoryplugin/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/edit-confirmation-page-when-using-form/#post-5841696)
 * Status: resolved