Home

Awesome

Advanced Custom Fields - Website field add-on

Contributors: Jeradin, jmslbam, patrickhafner
Tags: acf, acf add-on, website url, website title
Requires at least: 4.0
Tested up to: 4.0
Stable tag: 4.3

License: GPLv2 or later

Description

Adds a Website Field to Advanced Custom Fields. Select if link should be an external link, if it should show title or the url.

This works with ACF 4 and ACF5 / ACF5Pro.

This is an add-on for the Advanced Custom Fields WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed and activated.

The Website field gives a few basic options:

Source Repository on GitHub

https://github.com/Jeradin/acf-website-field

Bugs, Questions or Suggestions

(https://github.com/Jeradin/acf-website-field/issues)[https://github.com/Jeradin/acf-website-field/issues]

Installation

The Website Field plugin needs to be added to your themes. Download the zip file and upload as any Wordpress plugin.

How to Use

<?php the_field('website')?>

will output:

<a href="http://www.example.com" target="_blank">http://www.example.com</a>

or this (if you select title option):

<a href="http://www.example.com" target="_blank">Catalog</a>

or this (if you select current window option):

<a href="http://www.example.com">Example</a>

If you have the field return an array:

get_field('website')
array(3) { 
	["title"]=> "Example" 
	["url"]=> "http://example.com" 
	["external"]=> "1" 
} 

Frequently Asked Questions

Q: I've activated the plugin, but nothing happens!
A: Make sure you have Advanced Custom Fields installed and activated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.

Screenshots

  1. Website Field.
  2. Front End View.

Changelog

2.1


1.5.9.5

1.5.9

1.5.8

1.5.6

1.5.5

1.5.1

1.5

1.4

1.2

1.1

1.0

0.8

0.7