wordpress user profile page

Create a file called author.php and place the code below in it. Save that file in your themes folder. The themes folder is located at yoursite.com/wp-content/themes/themename <?php include_once(‘header.php’); ?> <div id=”container”> <div class=”content”> <?php $curauth = (isset($_GET[‘author_name’])) ? get_user_by(‘slug’, $author_name) : get_userdata(intval($author)); ?> <div id=”author-contact-info”> <h2>Information about: <?php echo $curauth->nickname; ?></h2> <ul> <li>First Name: <?php … Read more

Displaying warning if no featured image has been set – Post Editor

you can hook yourself into save_post and check there if the image is present. if it is not there fire an admin_notice. more here https://wordpress.stackexchange.com/a/15355/32776 http://codex.wordpress.org/Plugin_API/Action_Reference/save_post Edit: I dont have the time to provide working code but here is a copy paste from the links above. i think that you have to figure what the … Read more

Multiple Author with link and image

You can use get_the_author_meta to retrieve the username for the author of the current post in the loop. You could then use that in the image URL. <?php _e(‘Posted by’); ?> <a href=”https://wordpress.stackexchange.com/questions/147891/<?php echo get_author_posts_url(get_the_author_meta(“ID’)); ?>” rel=”author”> <img src=”/wp-content/themes/mytheme/img/<?php echo esc_attr( get_the_author_meta( ‘user_login’ ) ); ?>.png” alt=”author” /> <?php the_author_meta(‘display_name’); ?> </a> You can also … Read more