disabling separate "Thank You" page in SP 1.3.2
To anyone who wants to disable the redirection to the separate "Thank you" page that was introduced in SR 1.3.2, and restore the SR 1.3.1 functionality (where the single ad page is displayed again with a "Message sent" note):
I did so by commenting out the following line of code (line 22) in
includes/sidebar-contact.php:
PHP Code:
wp_redirect( home_url('/thank_you') ); exit;
Like this (a single-line comment, since everything I want to comment out is on a single line):
PHP Code:
// wp_redirect( home_url('/thank_you') ); exit;
On a side note, to anyone who wants to take advantage of the separate "Thank you" page, @talent recommended customers change
thank_you to
thank-you (changing the underscore to a hyphen). That post is here:
http://forums.appthemes.com/simply-r...58/#post291983
Like this:
PHP Code:
wp_redirect( home_url('/thank-you') ); exit;