doushi9474
2017-10-27 09:38 阅读 49
已采纳

我必须指定哪个链接以电子邮件联系表格7发送附件

I have a contact form without file tag. I wanna put in "file attachment" the url of my guide.pdf that I have put in media wordpress. the url is http://domain.it os the url of file is:

http://domanin/wp-content/uploads/2017/10/guide.pdf

when I put the link it appears me that the file doesn't exist. enter image description here

Anyone can help me?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    dream0776 dream0776 2017-10-27 09:44

    Contact Form 7 3.5 and higher support local file attachment. You can put local file paths in the ‘File attachments’ field and those files will be attached to the email as well as uploaded files.

    Put a file path per line. When the path is not an absolute path, it will be treated as a relative path to wp-content directory.

    uploads/2017/10/guide.pdf
    
    点赞 评论 复制链接分享

相关推荐