Hey @ruby314722,
Here is the solution to temporary add the correct punctuation to the send proposal email template.
1. Navigate to file send-proposal-metabox.php
2. Line 204 you will see the following: $wpp_client_name = $wpp_client_term_name[0];
3. Replace line 204 with the updated code:
if (!empty($wpp_client_term_name[0])) {
$wpp_client_name = " $wpp_client_term_name[0]";
} else {
$wpp_client_name = "";
}
4. After completing that, on line 229 with the class of “email_title welcome”, update the text to the following between the paragraph brackets: Hello$wpp_client_name,
The if statement basically controls whether to put a space between hello and the client name.
As for the client name when we built the plugin we figured most users would set the client name to their liking, but we completely get where you’re coming from.
It wouldn’t be very difficult to add another text field to the send proposal metabox for a custom greeting name and auto-populate the clients’ name by default. This will at least give users the option to customize it if you would like on a per-proposal basis.
If you have any other suggestions, by all means, send them our way!
Best,
Kevin W.
-
This reply was modified 5 years, 6 months ago by WP Codeus.