You appear to be a bot. Output may be restricted
Description
Format the Author (format=a )Artisteer produces author links like this <span class="art-postauthoricon"> <span class="author">By</span> <span class="author vcard"> <a class="url fn n" href="http://www.oik-plugins.com/author/vsgloik/" title="View all posts by vsgloik">vsgloik</a> </span> </span> We do something similar
Usage
bw_field_function_author( $post, $atts, $f );
Parameters
- $post
- ( mixed ) required –
- $atts
- ( mixed ) required –
- $f
- ( mixed ) required –
Returns
voidSource
File name: oik/includes/bw_formatter.phpLines:
1 to 6 of 6
function bw_field_function_author( $post, &$atts, $f ) { $author_posts_url = get_author_posts_url( $post->post_author ); $author_name = get_the_author_meta( "nicename", $post->post_author ); $author_link = retlink( "url fn n", $author_posts_url, $author_name ); bw_field_function_metadata( "bw_author", __( "By", "oik" ), $author_link ); }View on GitHub View on Trac