Description
ThinRoof adds a fast, mobile-friendly roofing cost calculator to any WordPress page. Homeowners enter their project details and see a preliminary estimate based on your pricing. Then they request a free quote, and the lead lands in your WordPress dashboard and your inbox.
Calculator
- Property type, project type (replacement, repair, new installation, storm damage inspection), ZIP code, roof area, pitch, stories, existing roof removal and material.
- Six materials: 3-tab asphalt, architectural asphalt, metal, tile, wood shingles and flat roofing.
- You set every price: material and labor per square, tear-off, disposal, waste factor, pitch and story factors, property and project multipliers, minimum project price.
- Shows roof area, roofing squares, material, labor, tear-off and disposal costs and an estimated total range, with your disclaimer.
- Show the estimate first, or ask for contact details before revealing it.
Leads
- Name, email, phone, ZIP, project type, budget, timeline and notes.
- Optional, unticked marketing consent checkbox; the exact wording and time are stored with each lead.
- Statuses: New, Contacted, Inspection Scheduled, Quote Sent, Won, Lost.
- Search, filters, sorting, pagination, notes, activity history and CSV export.
- Email alert to you (reply goes straight to the homeowner) and a confirmation to the visitor, with editable templates and a delivery log that shows why a message failed.
Built for real sites
- Works with any theme and page builder through the
[thinroof_calculator id="123"]shortcode. - Compatible with page caching (including LiteSpeed Cache): the form does not rely on nonces printed in cached pages.
- Loads its small CSS and JavaScript files only on pages that contain a calculator. No jQuery on the front end, no external requests, no tracking.
- Spam protection without CAPTCHAs: signed form tokens, honeypot field, minimum fill time, rate limits and duplicate detection.
- Privacy tools: WordPress personal data export and erasure, automatic deletion after a retention period, suggested privacy policy text.
Estimates are preliminary and based on the values you configure. The plugin does not contain or publish market prices. It helps you follow privacy requirements but does not by itself make your site legally compliant.
Installation
- Upload the plugin through Plugins → Add New → Upload Plugin, or install it from the plugin directory.
- Activate it. A sample calculator is created automatically.
- Go to ThinRoof → Pricing and replace the example prices with your own, then save.
- Set your business name, logo and colors under General Settings, and lead email recipients under Email Settings (send a test).
- Add
[thinroof_calculator id="1"](your ID is shown under Calculators) to any page.
FAQ
Are the default prices accurate for my area?
No. They are illustrative placeholders so you can preview the calculator. An admin notice reminds you until you save the Pricing screen. Visitors see estimates calculated from whatever you enter.
What data does the plugin store, and where?
Each lead stores the details the visitor typed (name, email, phone, ZIP, project details, budget, timeline, notes), the estimate shown, the page URL, and consent status with wording and time. Leads are stored in your own WordPress database tables (wp_thinroof_leads and wp_thinroof_lead_activity) and emailed to the recipients you set. IP addresses are not stored with leads; a salted hash is kept for up to one hour for rate limiting. Nothing is sent to us or any third party.
Emails are not arriving.
Open Email Settings, send a test email and check the delivery log. Many hosts cannot send mail reliably with PHP’s default mailer; an SMTP plugin with an authenticated sender usually solves this.
My site is behind Cloudflare or a proxy.
Rate limits use the visitor IP WordPress sees. Behind a proxy every visitor can appear to share one address. A developer can pass the real visitor IP through the thinroof_client_ip filter after validating the proxy.
Can I change the calculator design?
Use General Settings for colors, font size, corner radius and logo. Developers can copy public/templates/calculator.php to your-theme/thinroof/calculator.php.
Does it work with Elementor and the block editor?
Yes, through the shortcode (the Shortcode widget in Elementor, the Shortcode block in Gutenberg). Native Elementor and block integrations are coming in the next release.
Changelog
1.0.0
- Initial release: roofing calculator, pricing engine, lead capture, lead dashboard, CSV export, email notifications, privacy tools and shortcode.
