SHOW:
|
|
- or go back to the newest paste.
1 | function gs_author_fb() | |
2 | { | |
3 | if ( is_single ) { | |
4 | $authorfirst = get_the_author_meta('first_name'); | |
5 | $authorlast = get_the_author_meta('last_name'); | |
6 | echo '<meta name="author" content="'. $authorfirst . " " . $authorlast .'" />'; | |
7 | } | |
8 | } | |
9 | ||
10 | add_action('wp_head','gs_author_fb'); |