Author page link in comments is different than in posts?
Use get_comment_author_link() instead of <a href … </a>: echo get_comment_author_link();
Use get_comment_author_link() instead of <a href … </a>: echo get_comment_author_link();
I assume you mean that you are using a child theme based on Twenty Twelve. That being the case, you would just include the appropriate file or files in your child theme. Your child theme could include a single.php file edited to do what you want, but you probably don’t have to. That file calls … Read more
The WordPress template hierarchy accommodates this out of the box. WP will only use author.php if it cannot find author-{nicename}.php or author-{id}.php. See the codex.
Custom Post Type supports author
You can use author_link filter to change the author’s link add_filter( ‘author_link’, ‘wpse110967_author_link’, 10,2 ); function wpse110967_author_link( $link, $user_id ){ //Retrieve authors url from user meta $_link = esc_url( get_user_meta( $user_id, ‘wpse110967_author_link’, true ) ); if( $_link ) $link = $_link; return $link; } In the above example its assumed that you’ve stored the author-specified … Read more
the_author_posts_link “Displays a link to all posts by an author.” That is, the function echos content. It does not return the content for use by some other function. You won’t be able to use that function, but you should be able to use it as a model for your own function for generating and returning … Read more
the_author_meta not resetting
Like this there are many other tutorials to display custom fields as columns in the WordPress admin. The tutorial will help you to unset the columns you don’t want to show and also to show the columns you would like to see. Hope this helps!
There are lots of contact form plugins, which you can find by searching the repository on wordpress.org.
the_author_ID() says in Codex: It displays the unique numeric user ID for the author of a post; the ID is assigned by WordPress when a user account is created. This tag must be used within The Loop. So, it won’t work. Try using the following code* within a loop: <li class=”author vcard”> <a class=”url fn … Read more