Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 863 Bytes

readme.md

File metadata and controls

25 lines (19 loc) · 863 Bytes

Advanced Custom Fields: AJAX GET Button Field

Contributors: webdevmattcrom Donate link: http://mattcromwell.com Tags: custom fields, acf, add on Requires at least: 3.4 Tested up to: 4.1 Stable tag: 1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

Description

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.

Screenshot:

Info

This add-on can be treated as both a WP plugin and a theme include.

Installation

  1. Copy the 'acf-button' folder into your plugins folder
  2. Activate the plugin via the Plugins admin page
  3. You can now create a 'button' field. Clicking the button can either perform an AJAX GET request, or a window.open