Skip to content

Adds a 'Button' field type for the WordPress plugin.

License

Notifications You must be signed in to change notification settings

cyberwani/acf-button-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACF { Button Field

Adds a 'Button' field type for the Advanced Custom Fields WordPress plugin.


Overview

Generates a nice button/link to either an external link, or an internal page, similar to the page_link field but will allow you to override the link text.

Compatibility

This add-on will work with:

  • version 4 and up
  • version 3 and bellow

Installation

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

Install as Plugin

  1. Copy the 'acf-button' folder into your plugins folder
  2. Activate the plugin via the Plugins admin page

Include within theme

  1. Copy the 'acf-button' folder into your theme folder (can use sub folders). You can place the folder anywhere inside the 'wp-content' directory
  2. Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-button.php file)
include_once('acf-button/acf-button.php');

More Information

Please read the readme.txt file for more information

About

Adds a 'Button' field type for the WordPress plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published