WP Manifestindependent plugin directory
manifest / unclassified / contact-form-7-pdf-file-attachment-wordpress-plugin

CF7 ACF PDF Attachment GitLab

Extends Contact Form 7 to safely attach PDF files from ACF custom fields to emails.

by CDL Viktor Kovalenko · gitlab.com/v_kovalenko/contact-form-7-pdf-file-attachment-wordpress-plugin · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://gitlab.com/v_kovalenko/contact-form-7-pdf-file-attachment-wordpress-plugin/-/archive/master/contact-form-7-pdf-file-attachment-wordpress-plugin-master.zip

From the readme

\# 📎 Contact Form 7 PDF File Attachment Enhance your \\Contact Form 7\\ workflow by dynamically attaching PDF files stored in \\Advanced Custom Fields (ACF)\\ based on the page where the form is submitted. \## ✨ Features \- 🚀 \\Dynamic Attachments\\: Automatically grabs a PDF from the current page/post ACF field. \- 🛡️ \\Hardened Security\\: Validates file types (PDF only) and server readability before sending. \- 🧩 \\UI Integration\\: Adds a custom \[\attach\pdf] tag to the CF7 Mail Tag list for easy insertion. \- ⚙️ \\Smart Resolution\\: Handles ACF File Arrays, IDs, and URLs seamlessly. \- ✉️ \\Dual Mail Support\\: Works for both "Mail (1)" and "Mail (2)" (Auto-responders). \## 🛠 Installation 1\. Upload the plugin folder to your /wp-content/plugins/ directory. 2\. Activate the plugin through the \\Plugins\\ menu in WordPress. 3\. Ensure \\Contact Form 7\\ and \\Advanced Custom Fields\\ are active. \## 🚀 How To Use 1\. \\Create an ACF Field\\: Create a 'File' field in ACF named pdf\file (or your custom name). 2\. \\Upload your PDF\\: Attach a PDF to the page/post where your form is embedded. 3\. \\Configure CF7\\:   - Go to your Contact Form.   - Navi

Read the full README on GitLab →