Skip to content

Space Donkey

A Pluginoven Test Site

  • archive-pro-matic
  • collapse-pro-matic
  • print-pro-matic
  • t(-) countdown control
Posted on Thu, 8th February, 2018Thu, 8th February, 2018 by admin

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

CategoriesAnnual Archive

Post navigation

Previous PostPrevious Countdown Test – Local Computer Time
Next PostNext Archive-Pro-Matic Display Multiple Categories

  • 2010’s

  • Imprint
  • Privacy Policy
Privacy Policy Proudly powered by WordPress