Forums

[Theme: The Erudite] How do I remove author in .entry-content (2 posts)

  1. monniblog
    Member
    Posted 7 months ago #

    I would like to remove the "by AUTHOR" at the bottom of all the subsequent entry excerpts on the main page. It's not part of the index loop, but it appears to reside within the .entry-content class (according to FireBug). Any suggestions on how to remove this?

    Here is the site I'm working on

    http://wordpress.org/extend/themes/the-erudite/

  2. peredur
    Member
    Posted 7 months ago #

    Can't access your site. You appear to have maintenance mode on.

    From what I can see from the theme's files, the code you need to remove is in home.php:

    <span class="author vcard"><?php printf( __( 'By %s', 'erudite' ), erdt_get_author_posts_link() ) ?></span>

    ... unless you've modified the template files of course.

    You may have to do some other modifications to make things look right after this has been removed, of course.

    As usual, I'd recommend that you make changes like these in a Child Theme.

    The code is a part of the loop, of course. Firebug can do a lot of things, but it can't tell you what's a part of the loop and what isn't. In fact, in WP, just about any output other than that in the header, sidebar and footer is almost by definition being output from the loop one way or another.

    HTH

    PAE

Reply

You must log in to post.

About this Topic