All Posts Linking to Author Posts directly

You would need to edit your theme files. You need to search each files looking for something along the lines of <p>All Posts of: <?php the_author_posts_link(); ?></p> and just change that to <p><a href=”https://wordpress.stackexchange.com/questions/70227/<?php echo get_author_posts_url(get_the_author_meta(“ID’)); ?>”>All Posts</a></p>

get_the_author_meta not working

In the “homepage” code you posted, you have get_the_author_meta commented out. <?php /*?><img src=”https://wordpress.stackexchange.com/questions/77403/<?php echo esc_attr( get_the_author_meta(“author_pic_sidebar’, $user->ID ) ); ?>” alt=”” /><?php */?> That is why it doesn’t work. See that <php /*?> right at the beginning of the line?

Author’s Id from wp list authors function

You can use the following: // prepare arguments $args = array( // search only for Authors role ‘role’ => ‘Author’, // order results by display_name ‘orderby’ => ‘display_name’ ); // Create the WP_User_Query object $wp_user_query = new WP_User_Query($args); // Get the results $authors = $wp_user_query->get_results(); // Check for results if (!empty($authors)) { echo ‘<ul>’; // … Read more

Create an Author Page on Registration

Interesting question, though I have to say it’d be way easier to solve this with a membership plugin – I assume you don’t want that. I have found this plugin which hasn’t been updated for over 2 years, however the author.php template hasn’t changed much since then. The only way to do this is either … Read more

Get all media files for current author

Media are just posts – so just query posts. This is untested: $args = array( ‘author’ => $author_id, ‘post_type’ => ‘attachment’, ); $query = new WP_Query( $args ); I’m not sure if you want currently logged in user or the author of the post currently in the loop – either way you can set $author_id … Read more

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