Title: Admin posts
Last modified: August 19, 2016

---

# Admin posts

 *  [giantman](https://wordpress.org/support/users/giantman/)
 * (@giantman)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/admin-posts-2/)
 * On my posts is a “Posted by: AdminNameHere” type of display, except without the“
   Posted by:” part. When I click the hyperlink name it takes me to a page that 
   shows the admins latest posts.
 * [http://www.sitename.com/author/adminname/](http://www.sitename.com/author/adminname/)
 * That’s where it takes me.
 * How can I disable or remove the “Latest post” so that the admins latest posts
   are not displayed.
 * ?

Viewing 1 replies (of 1 total)

 *  Thread Starter [giantman](https://wordpress.org/support/users/giantman/)
 * (@giantman)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/admin-posts-2/#post-1769418)
 *     ```
       <?php
       	get_header();
   
       	if(isset($_GET['author_name']))
       	{
       		$info = get_userdatabylogin($author_name);
       	}
       	else
       	{
       		$info = get_userdata(intval($author));
       	}
       ?>
   
       <div id="pagewrap">
       	<div id="page">
       		<div id="content" class="author_page">
   
       			<div id="author_page" class="post">
       				<div class="entry">
   
       					<h1 class="title"><?php echo $info->display_name; ?></h1>
   
       					<?php if(!empty($info->user_description)) : ?>
       						<blockquote>
       							<?php echo $info->user_description; ?>
       						</blockquote>
       					<?php endif; ?>
   
       					<div class="align_right" style="padding-left: 10px;">
       						<?php echo get_avatar($info->user_email, 56); ?>
       					</div>
   
       					<h1 class="title"><?php _e('Information', 'fazio'); ?></h1>
   
       					<ul>
       						<?php if(!empty($info->user_url)) : ?>
       							<li>
       							<?php _e('Website:', 'fazio'); ?> <a href="<?php echo $info->user_url; ?>"><?php echo $info->user_url; ?></a>
       							</li>
       						<?php endif; ?>
   
       						<?php if(!empty($info->user_twitter)) : ?>
       							<li>
       								<?php _e('Twitter:', 'fazio'); ?> <a href="http://www.twitter.com/<?php echo $info->user_twitter; ?>"><?php echo $info->user_twitter; ?></a>
       							</li>
       						<?php endif; ?>
       					</ul>
   
       				</div><!-- end entry -->
       			</div><!-- end author_page -->
   
       			<?php if ( have_posts() ) : ?>
       				<div class="post author_page_post_list">
       					<div class="entry">
   
       						<h1 class="title"><?php _e('Last posts from', 'fazio'); ?> <?php echo $info->display_name; ?></h1>
   
       						<ul>
       							<?php while ( have_posts() ) : the_post(); ?>
       								<?php get_template_part('dry/post_list'); ?>
       							<?php endwhile; ?>
       						</ul>
       					</div><!-- end entry -->
       				</div><!-- end post -->
       				<?php pagination(); ?>
   
       			<?php endif; ?>
   
       		</div><!-- end content -->
       		<?php get_sidebar(); ?>
       	</div><!-- end page -->
       </div><!-- end pagewrap -->
   
       <?php get_footer(); ?>
       ```
   
 * That is my author.php. I know there is something that I have to delete there 
   but not sure and don’t want to mess it up.

Viewing 1 replies (of 1 total)

The topic ‘Admin posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [giantman](https://wordpress.org/support/users/giantman/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/admin-posts-2/#post-1769418)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
