Enhancement - Add a form with Contact Form 7 and sitemap

未关闭
#568 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
nextjs, typescript, wordpress
领域
backend, frontend

调研方向

首先查看链接的 Contact Form 7 proof of concept 和 sitemap gist,然后检查 repository 中现有的 WordPress 和 Next.js 集成点。将请求拆分为针对表单组件和前端 sitemap 的独立验收标准,包括每一项应如何配置和验证。

由索引模型根据 Issue 内容生成。

描述

Is your enhancement related to a problem? Please describe.

I'm writing to you as a user who would like to adopt HeadstartWP to create out his new projects.

I've created a very simple blog these days and I've only found two things that I would like to suggest to add out of the box.

The first is to build a simple backend block / frontend component to use contact form 7. I did a very rudimentary POC here:

https://blog.riccardodicurti.it/headstartwp-add-a-form-with-contact-form-7

The second is a frontend sitemap, here too I created something really simple to send to the search console with the frontend domain:

https://gist.github.com/riccardodicurti/d41bc4b924e998d97973c9d23b28bc03 - ( which is simply an adaptation of this: https://nextjs.org/learn/seo/crawling-and-indexing/xml-sitemaps )

I hope this tip will help you increase the use of headless.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要语言
TypeScript
星标
204
派生
26
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

10up/headstartwp 的其他 Issue

查看 10up/headstartwp 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。