• Earlier as If I read somewhere how to hide “BY ADMIN” text, but I cant find now.I want to delete both words.
    Please….

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter kerdezo

    (@kerdezo)

    I found another comment dealing with this issue.I entered this code to child style.CSS,but ‘BY ADMIN’ is still there in al single posts. Any hint?

    .single .author-bio {
    display: none;
    }

    It’s never a good idea to use an admin account for posting blog posts.
    The easiest solution would be to use another account and name.

    I guess you can always add single.php to your child theme folder and comment out or remove the following code from line 14

    <p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?>

    Hope that helps.

    Thread Starter kerdezo

    (@kerdezo)

    Thanks FaddingMusic the hint but works not.
    Its not the given name I have the problem with. I dont want to display any author in my single posts at all, thats why the ‘BY’ prefix is redundant too.
    Guess “post-byline” contains the date as well, but I don’t want to hide the date, only the ‘BY’ prefix and the’Author Name’

    You should remove

    class=”post-byline”><?php _e(‘by’,’hueman’); ?> <?php the_author_posts_link(); ?> · and also remove open tag <p and close tag </p>

    only remain this field on this file
    <?php the_time(get_option(‘date_format’)); ?>

    Hope that helps

    Thread Starter kerdezo

    (@kerdezo)

    Thanks mayur123!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to hide BY ADMIN from everywhere’ is closed to new replies.