• Resolved kalanit74

    (@kalanit74)


    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Quickest way: add this to your child theme stylesheet:

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

    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.

    Thread Starter kalanit74

    (@kalanit74)

    Thank you both!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Twenty Eleven – remove all occurrences of "by" text’ is closed to new replies.