Skip to content
Space Donkey

Space Donkey

A Pluginoven Test Site

  • archive-pro-matic
  • collapse-o-matic
  • t(-) countdown
  • print-o-matic

Birthday: February 8th

Posted on Thu, 8th February, 2018Thu, 8th February, 2018

AFC get_field Test

Shortcode using AFC’s get_field:
Age: [whats_my_age_again]

Shortcode function:

add_shortcode('whats_my_age_again', 'my_age');
function my_age($atts, $content = null){
	if(function_exists('get_field')) {
		$age = get_field('age');
		return $age;
	}
}

Testing a potential conflict with the get_field function from AFC and Annual Archive

Archive-Pro-Matic

  • 2020
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec
  • 2019
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec
  • 2018
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec
  • 2017
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec
  • 2014
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec
  • Imprint
  • Privacy Policy
Privacy Policy Proudly powered by WordPress
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OKPrivacy Policy