最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to add extra option to WP core gallery block?

programmeradmin0浏览0评论

I want to add the extra option to the "Link to" attribute of "core/gallery" WP block. As default, It has three options,

  1. Attachment page
  2. Medial file
  3. None

I want to add extra option to the existing three and make them like

  1. Attachment page
  2. Medial file
  3. None
  4. Custom

Any help would be appreciated.

发布评论

评论列表(0)

  1. 暂无评论