Profile
Achievement
itsmrchris's Recent SnippetsTagged wordpress
- All /
« Prev 1 Next »
Add this to functions.php and then you can call the focus keyword anywhere you want with:
<?php wpseoFocusKW();?>
0
1052
posted 12 years ago by itsmrchris
In this example it checks to see if the page it is on has an ACF named page_title, if so - display it as an H1, and if not, display the WP default page title as the H1
0
710
posted 12 years ago by itsmrchris