Return to Snippet

Revision: 60197
at October 25, 2012 08:37 by itsmrchris

Initial Code
/* Use WP SEO Focus Keyword in PHP
		function wpseoFocusKW()
			$focuskw = wpseo_get_value('focuskw', $post->ID);
			echo $focuskw;

Initial URL

Initial Description
Add this to functions.php and then you can call the focus keyword anywhere you want with:  

<?php wpseoFocusKW();?>

Initial Title
WP Yoast display Focus Keyword

Initial Tags
php, wordpress

Initial Language