How to create custom authors links

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

Link to Authors blog posts

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)