WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
[resolved] Twenty Eleven - remove all occurrences of "by" text (4 posts)

  1. kalanit74
    Member
    Posted 2 years ago #

    A strange thing happened. In the past few days the site I am working on here went from displaying this: Posted on July 17, 2011 to displaying this: Posted on July 17, 2011 by.

    I would like to remove the "by," and since I have no idea how it got there, I have no clue how to remove it. It's a child theme which makes this even more bewildering--the main theme (when I click preview) displays the text without the "by."

    Any idea how I might fix this?

    Thanks!

  2. RosieMBanks
    Member
    Posted 2 years ago #

    Quickest way: add this to your child theme stylesheet:

    .entry-meta .by-author {display:none}

  3. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    the 'by' comes from the function twentyeleven_posted_on() in functions.php of the parent theme; and can be changed by copying the same functions into functions.php of the child theme, and editing it there.

  4. kalanit74
    Member
    Posted 2 years ago #

    Thank you both!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic