Hi!
I am VERY new to wordpress and would love it if anyone can help me remove the "by Admin" line after posts. Any help would be great! Thanks in advance.
website is http://www.fiftyfivesf.com
Hi!
I am VERY new to wordpress and would love it if anyone can help me remove the "by Admin" line after posts. Any help would be great! Thanks in advance.
website is http://www.fiftyfivesf.com
Try removing this line in loop.php:
<?php printf(__('By %s', 'pitch'), get_the_author_link()) ?>I don't think that code is on the loop.php. I don't know if this is kosher, but here is my entire loop.php:
[ Code edited with backticks. Moderator note: when sharing code examples, please wrap the code in backticks or use the code button. ]
<?php if(have_posts()) : ?>
<div id="loop" class="loop-posts">
<?php while(have_posts()) : the_post(); ?>
<div id="post-<?php the_ID() ?>" <?php post_class() ?>>
<div class="post-info">
<div class="date">
<span class="day"><?php print get_the_date('d') ?></span>
<span class="month-year"><?php print get_the_date('M') ?><?php print get_the_date('Y') ?></span>
</div>
<div class="extras">
<div class="categories">
<?php the_category(', ') ?>
</div>
<div class="comment-count">
<?php
$comments = get_comment_count(get_the_ID());
if($comments['approved'] > 0){
printf(__('%s Comments', 'pitch'), $comments['approved']);
}
?>
</div>
<div class="author">
<?php printf(__('By %s', 'pitch'), get_the_author_link()) ?>
</div>
</div>
</div>
<div class="post-main">
<a>"><?php print get_the_post_thumbnail() ?></a>
<h2 class="post-title"><a>"><?php the_title() ?></a></h2>
<div class="excerpt content">
<?php the_excerpt() ?>
</div>
<div class="read-more">
<a>">
<?php _e('Read More', 'pitch') ?>
<i></i>
</a>
</div>
</div>
<div class="clear"></div>
</div>
<?php endwhile; ?>
<div class="pagination">
<?php if($GLOBALS['wp_query']->max_num_pages > 1) : ?><div class="separator"></div><?php endif ?>
<?php posts_nav_link(' ', __('Newer Entries', 'pitch'), __('Older Entries', 'pitch')); ?>
<?php if($GLOBALS['wp_query']->max_num_pages > 1) : ?><div class="clear"></div><div class="separator"></div><?php endif ?>
</div>
</div>
<?php endif ?>I found it! =) It looks more organized when I sent it to you! Best part it worked! Thanks soooo much! I really appreciate this! =)
Myrda J.
<div class="author">
<?php printf(__('By %s', 'pitch'), get_the_author_link()) ?>
</div>
that's the section that pops the link in.
You must log in to post.