/* ============================================ CONTACT FORM HANDLER WITH SUCCESS/ERROR ============================================ */ add_action('init', 'hs_handle_contact_form'); function hs_handle_contact_form() { if (!isset($_POST['hs_contact_submit'])) { return; } // Create a global variable to store messages global $hs_form_message; // Sanitize fields $name = sanitize_text_field($_POST['name']); $email = sanitize_email($_POST['email']); $message = sanitize_textarea_field($_POST['message']); // Basic validation if (empty($name) || empty($email) || empty($message)) { $hs_form_message = array( 'type' => 'error', 'text' => 'Please fill in all fields.' ); return; } if (!is_email($email)) { $hs_form_message = array( 'type' => 'error', 'text' => 'Please enter a valid email address.' ); return; } // Email settings $to = "info@heshmatisolutions.com"; $subject = "New Contact Form Message from $name"; $body = "Name: $name\n"; $body .= "Email: $email\n\n"; $body .= "Message:\n$message\n"; // Brevo‑optimized headers $headers = array( "From: Heshmati Solutions ", "Reply-To: $email", "Content-Type: text/plain; charset=UTF-8", "Return-Path: info@heshmatisolutions.com", "X-Mailer: PHP/" . phpversion() ); // Send email $sent = wp_mail($to, $subject, $body, $headers); if ($sent) { $hs_form_message = array( 'type' => 'success', 'text' => 'Thank you! Your message has been sent successfully.' ); } else { $hs_form_message = array( 'type' => 'error', 'text' => 'Something went wrong. Please try again later.' ); } } Heshmati Solutions | » Business Finance Template
Business Finance Tracker Template Preview

Business Finance Tracker

Automated Excel Template

A complete financial tracking system built in Excel to help businesses monitor income, expenses, cash flow, profitability, and monthly performance. Designed for entrepreneurs, managers, and finance teams who need clarity and control without complex accounting software.

Features

  • Automated income & expense categorization
  • Cash flow dashboard with monthly trends
  • Profit & loss summary
  • Expense breakdown charts
  • Monthly and yearly reporting
  • Fully editable categories and formulas

What’s Included

  • Business Finance Tracker Excel File (.xlsx)
  • Income & Expense Input Sheet
  • Automated Dashboard
  • Cash Flow Summary
  • User Guide (PDF)
$29.00 USD
Buy Now