跳到内容

Advanced Custom Fields: Button Field

v1.7.3

Evan Mullins · 2017年7月13日 上架

Generates a button to an external url or an internal post type. Integrates with custom post types too.

正在使用
200+
评分
5.0 / 5
累计下载
7,091
最近更新
2021年7月15日
1 条评价需要 WordPress 4.5+已测试到 5.8.20

NOTE: This is an extension for the popular Advanced Custom Fields plugin. By itself, this plugin does NOTHING. ENDNOTE

Generates a nice button/link to an external url or an internal post type, similar to the page_link field but allows you to override the link text and link to any post type or a custom url.

What makes this great is reducing multiple ACF rows into just one (see screenshots for a clear visual walkthrough). The internal link also uses a dropdown which is populated from all your post types so the button can link to a media file or a Custom Post Type, or of course to a page or post.

There are many advanced options as well. This will simply add classes to the button link which line up nicely with Zurb Foundation, but can easily be styled by any theme or developer to make these buttons shine. Options for color, size, style as well allowing the button to open in a new window and add custom classes on the fly.

NOTE: (I know it was already mentioned, but just to be sure there’s no confusion…) This is an extension for the popular Advanced Custom Fields plugin. By itself, this plugin does NOTHING. ENDNOTE

Compatibility

This ACF field type is compatible with:
* ACF 5

Roadmap

  • Add option to add bootstrap styles to buttons
  • Add some button styles for users that don’t have any and give an opt out of using button css
  • Easily link to media library items for download

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums